From: Gerhard E. <ec...@ie...> - 2009-03-09 20:17:36
|
Dear Martin, sorry! Now I did RTFM, but don't understand this one (building fooelk worked fine now): pb-eckel:foo> ./bootstrap + set -e + for dir in '${SUBDIRS}' + cd libfoo + echo 'bootstrapping libfoo' bootstrapping libfoo + sh ./bootstrap -1.10 + set -e + libtoolize=no + libtoolize --version + glibtoolize --version + libtoolize=glibtoolize + test glibtoolize = no + rm -f aclocal.m4 configure config.guess config.log config.sub config.cache config.h.in config.h compile ltmain.sh libtool ltconfig missing mkinstalldirs depcomp install-sh INSTALL + rm -Rf autom4te.cache autotools + mkdir autotools + glibtoolize --copy --force You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'. Putting files in AC_CONFIG_AUX_DIR, `autotools'. + test -f ltmain.sh + aclocal-1.10 + autoconf configure.ac:54: error: possibly undefined macro: AC_PROG_LIBTOOL If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. + exit 1 pb-eckel:foo> autoconf --version autoconf (GNU Autoconf) 2.62 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/old-licenses/gpl-2.0.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David J. MacKenzie and Akim Demaille. pb-eckel:foo> Best regards, Gerhard On Mar 9, 2009, at 12:19 PM, Martin Rumori wrote: > Dear Gerhard, > > very simple solution: RTFM! > > From fooelk/README.FOO: > > ----- > > readline extension and mac os x 10.5 > > on mac os x 10.5, the readline extension of fooelk does not seem to > work with the libreadline that comes with the system. use macports to > install another version of libreadline: > > sudo port install readline > > then compile fooelk > > env LDFLAGS="-L/opt/local/lib" \ > CPPFLAGS="-I/opt/local/include" \ > ./configure --enable-gnu-readline > > ----- > > Hope that works! > > All the best, > > Martin > > > On Mon, Mar 09, 2009 at 11:32:57AM +0100, Gerhard Eckel wrote: >> Dear Martin, >> >> thank you very much for the fix. Sorry to bother you with another >> detail. When trying to compile fooelk, I can't get readline to work: >> >>> /bin/sh ../../libtool --tag=CC --mode=compile gcc - >>> DHAVE_CONFIG_H - >>> I. -I../.. -I../../include -I../../include -I/sw/include - >>> DSCM_DIR="\"/usr/local/share/fooelk\"" -DLIB_DIR="\"/usr/local/lib/ >>> fooelk\"" -Wall -g -O2 -MT completion.lo -MD -MP -MF .deps/ >>> completion.Tpo -c -o completion.lo completion.c >>> gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I/ >>> sw/include -DSCM_DIR=\"/usr/local/share/fooelk\" -DLIB_DIR=\"/usr/ >>> local/lib/fooelk\" -Wall -g -O2 -MT completion.lo -MD -MP -MF .deps/ >>> completion.Tpo -c completion.c -fno-common -DPIC -o .libs/ >>> completion.o >>> completion.c: In function 'erl_guess_completion': >>> completion.c:110: warning: implicit declaration of function >>> 'rl_completion_matches' >>> completion.c:110: error: 'rl_compentry_func_t' undeclared (first use >>> in this function) >>> completion.c:110: error: (Each undeclared identifier is reported >>> only >>> once >>> completion.c:110: error: for each function it appears in.) >>> completion.c:110: error: syntax error before ')' token >>> make[3]: *** [completion.lo] Error 1 >>> make[2]: *** [all-recursive] Error 1 >>> make[1]: *** [all-recursive] Error 1 >>> make: *** [all] Error 2 >> >> I configured with ./configure --enable-gnu-readline and got >> >> Elk configuration summary >> ------------------------- >> build C++ plugins: yes >> libgdbm support: no >> X11 support: no >> Xaw support: no >> Motif support: no >> readline support: yes (-lreadline ) >> use garbage colllector: stopncpy >> default heap size: 16384 >> build documentation: yes >> >> Which version of readline should be used? I have this one installed: >> >> readline @5.2.012_1 (active) >> >> Best regards, >> >> Gerhard >> >> > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San > Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source > code: SFAD > http://p.sf.net/sfu/XcvMzF8H_______________________________________________ > foo-devel mailing list > foo...@li... > https://lists.sourceforge.net/lists/listinfo/foo-devel |