Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make install error #1

Closed
gonwalf opened this issue Apr 13, 2015 · 2 comments
Closed

make install error #1

gonwalf opened this issue Apr 13, 2015 · 2 comments

Comments

@gonwalf
Copy link

gonwalf commented Apr 13, 2015

Compiling works fine, but "make install" returns the following error:

make: INSTALL_DATA_DIR@: command not found

@cyanogilvie
Copy link
Member

Thanks for reporting - was caused by an old TEA tclconfig version. I've pulled in the latest version and fixed some other issues with the build system and it should work ok now.

It will still be tricky to build on systems that don't ship yajl >= 2.1 though (like Ubuntu 14.04). If you build yajl from source and install it in the /usr prefix it should be fine, but there seems to be a bug in yajl where the values exported in its yajl.pc file conflict with the paths coded into its public headers. It's still possible to install it to a non-system location and build this package against it, but it's not pretty.

The only thing I like less than fighting with autoconf is fighting with cmake (which yajl uses), so I haven't chased that further, but if you do need to build against a non-system libyajl, then what worked for me was to edit the yajl headers and remove their yajl/ prefixes, and let configure know about the location of yalj.pc using the PKG_CONFIG_LIBDIR env var.

@gonwalf
Copy link
Author

gonwalf commented Apr 15, 2015

I was able to install with your changes. I used ./configure -p /usr for yajl-2.1 on debian and hat no problems compiling.

Thanks for your help and this nice Tcl extension.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants