On 09/04/12 02:37, Simon Josefsson wrote: > Hi. I'm having problems building 5.16.2. Ideas?
Hi Simon, Yes, a pretty good idea: > make[3]: Entering directory `/home/jas/src/autogen-5.16.2/agen5' > gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I.. -I../autoopts -pthread > -I/usr/include/guile/2.0 -g -O2 -MT autogen-ag.o -MD -MP -MF > .deps/autogen-ag.Tpo -c -o autogen-ag.o `test -f 'ag.c' || echo './'`ag.c > In file included from ag.c:8:0: > autogen.h:32:19: error: operator '<' has no left operand > In file included from autogen.h:40:0, > from ag.c:8: > expr.h:28:19: error: operator '>=' has no left operand > expr.h:31:23: fatal error: guile/gh.h: No such file or directory http://lists.gnu.org/archive/html/guile-devel/2012-08/msg00042.html Apparently, guile.m4 expects that anybody using it ought to have read and understood all the contained comments: >>> configure.ac:140: the top level >>> configure:14130: error: possibly undefined macro: AC_LIB_LINKFLAGS_FROM_LIBS >>> If this token and others are legitimate, please use m4_pattern_allow. >>> See the Autoconf documentation. >>> bootstrap failure: trapped exit signal >>> mk-all: line 197: 5702 Killed > > As the comment says: > > dnl AC_LIB_LINKFLAGS_FROM_LIBS is defined in gnulib/m4/lib-link.m4 and needs > dnl the file gnulib/build-aux/config.rpath. > > This means that these two files have to be imported in[to] your project for > this to work. In other words, using guile.m4 requires using gnulib. I was "lucky" in that it worked in my environment. I think the correct fix is going to be to scrap the guile.m4 file. Not because I want to duplicate their code myself, but because autogen still has glitches that cause gnulib usage to fail, meaning config.rpath is out. Besides, 50% of my build time is involved in running configure and configure takes twice as long using gnulib, so it isn't clear I even want to wholesale import gnulib. Anyway, thank you for prodding me on this issue. I'll try to rip it out next weekend. Regards, Bruce ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Autogen-users mailing list Autogen-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/autogen-users