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

Can't build on RHEL 6.5 due to dependency on automake-1.14 #138

Closed
dstates opened this issue May 28, 2014 · 2 comments
Closed

Can't build on RHEL 6.5 due to dependency on automake-1.14 #138

dstates opened this issue May 28, 2014 · 2 comments

Comments

@dstates
Copy link

dstates commented May 28, 2014

Redhat supplies automake-1.11 with RHEL 6.5, I'm wondering if there are specific features in newer automake that are required to build json-c, or if that just happened to be the version on hand when setting up the build environment...

If there is a simple work-around I'd be happy to hear about it :)

@dstates
Copy link
Author

dstates commented May 28, 2014

I also tried sh autogen.sh followed by ./configure and make, which now complains about my libtool being too old as well:

/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.    -Wall -Werror -Wno-error=deprecated-declarations -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -g -O2 -MT arraylist.lo -MD -MP -MF .deps/arraylist.Tpo -c -o arraylist.lo arraylist.c
libtool: Version mismatch error.  This is libtool 2.4.2, but the
libtool: definition of this LT_INIT comes from libtool 2.2.6b.
libtool: You should recreate aclocal.m4 with macros from libtool 2.4.2
libtool: and run autoconf again.
make[2]: *** [arraylist.lo] Error 63
make[2]: Leaving directory `/home/dstates/json-c-0.12'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dstates/json-c-0.12'
make: *** [all] Error 2

@dstates
Copy link
Author

dstates commented May 29, 2014

this did the trick:

sh ./autogen.sh
./configure
make
(fails)
make distclean
sh ./autogen.sh
./configure
make

apparently there are some artifacts in the repository that distclean takes care of so that autogen and configure do the right thing...

@dstates dstates closed this as completed May 29, 2014
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

1 participant