Re: `AM_PROG_LIBTOOL' not found in library

From: Date: Fri, 20 Apr 2001 16:44:18 +0000
Subject: Re: `AM_PROG_LIBTOOL' not found in library
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-49582@lists.php.net to get a copy of this message
I deleted php4 and downladed the software again from the cvs and compiled it. This is the error message when executed ./make gmake: *** [zend_language_parser.c] Violación de segmento pablo@pablito:~/php4/Zend > cd .. pablo@pablito:~/php4 > gmake Making all in Zend gmake[1]: Entering directory `/home/pablo/php4/Zend' bison -y -p zend -v -d ./zend_language_parser.y -o zend_language_parser.c gmake[1]: *** [zend_language_parser.c] Violación de segmento gmake[1]: Leaving directory `/home/pablo/php4/Zend' gmake: *** [all-recursive] Error 1 pablo@pablito:~/php4 > The version bison is: 1.28 and this messages is from ./configure [args] The system operating is SUSE 6.4. Configuring Zend checking bison version... 1.28 (ok) checking for limits.h... (cached) yes checking for malloc.h... yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for stdarg.h... (cached) yes checking for sys/types.h... (cached) yes checking for signal.h... (cached) yes checking for unix.h... (cached) no checking for dlfcn.h... yes checking for size_t... (cached) yes checking return type of signal handlers... void checking for dlopen in -ldl... (cached) yes checking for dlopen... (cached) yes checking for uint... yes checking for ulong... yes checking for vprintf... (cached) yes checking for 8-bit clean memcmp... yes checking for working alloca.h... (cached) yes checking for alloca... (cached) yes checking for memcpy... (cached) yes checking for strdup... (cached) yes checking for getpid... yes checking for kill... yes checking for strtod... yes checking for strtol... yes checking for finite... yes checking for fpclass... no checking whether sprintf is broken... (cached) no checking for finite... (cached) yes checking for isfinite... no checking for isinf... yes checking for isnan... yes checking whether fp_except is defined... no checking whether to enable experimental ZTS... no checking whether to enable inline optimization for GCC... no checking whether to enable a memory limit... no checking whether to enable Zend debugging... no checking for inline... inline what the matter??? Could resolve it? Please, help me! Thanks pablo! ----- Original Message ----- From: "Kelly Cochran" <kcochran@funschool.com> To: <pablos@elsitio.net> Sent: Thursday, April 19, 2001 6:41 PM Subject: Re: [PHP] `AM_PROG_LIBTOOL' not found in library > > > > (Another try as your mail server rejected the last one with an unknown > user error) > > > Subject: Re: [PHP] `AM_PROG_LIBTOOL' not found in library > > Date: Thu, 19 Apr 2001 14:33:58 -0700 > > From: Kelly Cochran <kcochran@funschool.com> > > To: Pablo Sabatino <pablos@elsitio.net> > > > > You'll likely have to do a make distclean in the root PHP dir as well. > > Without that, make is probably finding the zend_ini_parser.c that your > > old bison created from zend_ini_parser.y, and therefore doesn't > > regenerate it. Or you could probably also simply 'touch > > Zend/zend_ini_parser.y' and that should also cause make to regen the .c > > file. Either that, or you could simply nuke the whole dir, and checkout > > from CVS again doing the './buildconf; ./configure <args>; make' cycle > > again. > > > > Pablo Sabatino wrote: > > > > > > Hello!!! > > > > > > I changed the version to bison 1.28...here is the log: > > > checking for working automake... found > > > checking for working autoheader... found > > > checking for working makeinfo... found > > > checking whether to enable maintainer-specific portions of Makefiles... no > > > checking host system type... i686-pc-linux-gnu > > > checking for mawk... (cached) gawk > > > checking for bison... (cached) bison -y > > > checking bison version... 1.28 (ok) > > > checking for gcc... (cached) gcc > > > checking whether the C compiler (gcc ) works... yes > > > checking whether the C compiler (gcc ) is a cross-compiler... no > > > checking whether we are using GNU C... (cached) yes > > > checking whether gcc accepts -g... (cached) yes > > > checking how to run the C preprocessor... (cached) gcc -E > > > checking for AIX... no > > > checking for gcc option to accept ANSI C... (cached) none needed > > > checking for ranlib... (cached) ranlib > > > checking whether gcc and cc understand -c and -o together... (cached) yes > > > checking whether ln -s works... (cached) yes > > > > > > what do you think is going on??? > > > > > > Pablo Sabatino. > > > > > > ----- Original Message ----- > > > From: "Kelly Cochran" <kcochran@funschool.com> > > > To: "Pablo Sabatino" <pablos@elsitio.net> > > > Sent: Thursday, April 19, 2001 5:37 PM > > > Subject: Re: [PHP] `AM_PROG_LIBTOOL' not found in library > > > > > > > > > > > Did it warn you during configure about your bison version? I think > > > > 1.28 is required, and that error will pop up if you have an earlier > > > > version. > > > > > > > > Pablo Sabatino wrote: > > > > > > > > > > Thank you, Kelly!!!! > > > > > I tried compiling again and seems like was good! > > > > > > > > > > The ./configure that ok. > > > > > Now, when I execute $./gmake come to error... > > > > > > > > > > pablo@pablito:~/php4 > gmake > > > > > Making all in Zend > > > > > gmake[1]: Entering directory `/home/pablo/php4/Zend' > > > > > /bin/sh ../libtool --silent --mode=compile > > > > > > > > gcc -DHAVE_CONFIG_H -I. -I. -I../main -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT > > > > > -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -c zend_ini_parser.c > > > > > /usr/share/bison.simple:157: conflicting types for `ini_parse' > > > > > ./zend_ini_parser.y:51: previous declaration of `ini_parse' > > > > > /usr/share/bison.simple: In function `ini_parse': > > > > > /usr/share/bison.simple:219: number of arguments doesn't match prototype > > > > > /usr/share/bison.simple:157: prototype declaration > > > > > gmake[1]: *** [zend_ini_parser.lo] Error 1 > > > > > gmake[1]: Leaving directory `/home/pablo/php4/Zend' > > > > > gmake: *** [all-recursive] Error 1 > > > > > > > > > > Please, help me!!!!!!! > > > > > Pablo Sabatino. > > > > > > > > > > ----- Original Message ----- > > > > > From: "Kelly Cochran" <kcochran@funschool.com> > > > > > To: <php-general@lists.php.net> > > > > > Sent: Wednesday, April 18, 2001 8:30 PM > > > > > Subject: Re: [PHP] `AM_PROG_LIBTOOL' not found in library > > > > > > > > > > > > > > > > > Do a 'which libtool' and I'd hazard a guess that > > > > > > it'll find the one in > > > > > > /usr/local/bin first. As it's using that libtool (dir: > > > /usr/local/bin) > > > > > > and your normal automake (dir: /usr/bin), the dirs don't match and > > > > > > aclocal fails, as the warning mentions. Either switch your path > > > around > > > > > > to move /usr/local/bin after /usr/bin (and end up using the libtool > > > your > > > > > > system came with), or reconfigure and reinstall libtool 1.3.5 starting > > > > > > with "./configure --prefix=/usr" which will cause it to > > > > > > install into > > > > > > /usr/bin, /usr/share, etc. (otherwise it defaults to /usr/local which > > > > > > is likely the problem you have right now). > > > > > > > > > > > > Pablo Sabatino wrote: > > > > > > > > > > > > > > Hello!! > > > > > > > I am using php4-cvs on Linux Suse 6.4. > > > > > > > I issued the command ./buildconf and got a message: > > > > > > > > > > > > > > pablo@pablito:~/php4 > ./buildconf > > > > > > > buildconf: checking installation... > > > > > > > buildconf: autoconf version 2.13 (ok) > > > > > > > buildconf: automake version 1.4 (ok) > > > > > > > buildconf: libtool version 1.3.5 (ok) > > > > > > > > > > > > > > > > > > > > > WARNING: automake and libtool are installed in different > > > > > > > directories. This may cause aclocal to fail. > > > > > > > continuing anyway > > > > > > > aclocal: configure.in: 810: macro `AM_PROG_LIBTOOL' not found in > > > > > library > > > > > > > make[1]: *** [aclocal.m4] Error 1 > > > > > > > make: *** [all] Error 2 > > > > > > > pablo@pablito:~/php4 > > > > > > > > > > > > > > > pablo@pablito:~/php4 > whereis libtool > > > > > > > libtool: /usr/bin/libtool /usr/local/bin/libtool > > > /usr/share/libtool > > > > > > > pablo@pablito:~/php4 > whereis automake > > > > > > > automake: /usr/bin/automake /usr/share/automake > > > > > > > pablo@pablito:~/php4 > whereis automake > > > > > > > automake: /usr/bin/automake /usr/share/automake > > > > > > > pablo@pablito:~/php4 > > > > > > > > > > > > > > > I installed libtool-1.3.5. > > > > > > > Help me, please!! > > > > > > > Pablo Sabatino.. > > > > > > > > > > > > -- - > > > > > > Kelly Cochran <kcochran@funschool.com> > > > > > > Technical Staff - funschool.com Corporation > > -- - > Kelly Cochran <kcochran@funschool.com> > Technical Staff - funschool.com Corporation > Phone: 408-453-7280x113 FAX: 408-453-7285 > Cell: 408-772-0657

« previous php.general (#49582) next »