ID: 42041 User updated by: ceo at l-i-e dot com Reported By: ceo at l-i-e dot com Status: Open Bug Type: Compile Failure Operating System: Gentoo Linux PHP Version: 5.2.3 New Comment:
Please re-classify this as a Documentation Feature Request. Downgrading flex to 2.5.4a-r6 did the trick. The documentation is quite explicit about autoconf/automake/libtool versions being crucial, which actually isn't crucial, at least for Gentoo. flex has no "+" after it is the only clue that you can't use current flex. It would be nice if the flex version was also stressed. Or if it just worked with flex 2.5.33 in the first place. :-) Previous Comments: ------------------------------------------------------------------------ [2007-07-19 06:13:51] ceo at l-i-e dot com Description: ------------ Compiling from CVS. buildconf seemed to go okay... I'm using: autoconf: 2.13 automake: 1.5 libtool: 1.4.3 as documented here: http://www.php.net/anoncvs.php Though the version numbers of autoconf, automake, and libtool seem irrelevant, as I get the same results with current (according to Gentoo portage tree) versions... Reproduce code: --------------- Everything from here to the ./configure line may be irrelevant... On Gentoo, I used: emerge automake emerge autoconf emerge wget Then use wget to download libtool-1.4.3 from ftp.gnu.org wget installer requires newer auto[mumble] than php requires. :-( Usual source compile of libtool, since Gentoo has no libtool-1.4.3 in its portage tree. tar -xzvf libtool-1.4.3.tar.gz cd libtool-1.4.3 ./configure make make install Then, you have to symlink /usr/bin/libtool to /usr/local/bin/libtool, and I presumed it would be good to do libtoolize as well, so I did. emerge --unmerge autoconf emerge --unmerge automake emerge =autoconf-2.13 emerge =automake-1.5 Whew. This may or may not be Gentoo build specific, so all the preceding may be irrelevant... Grab -r PHP_5_2 from CVS. ./buildconf ./configure \ --enable-fastcgi \ --enable-debug \ --with-pgsql \ --disable-xml \ --disable-libxml \ --disable-simplexml \ --disable-xmlreader \ --disable-exmlwriter \ --disable-dom \ --without-pear make I really wanted to K.I.S.S. and have just PostgreSQL for this particular build. Expected result: ---------------- The usual output of make, which I forgot what it is, even though I've seen it dozens of times. Actual result: -------------- php5/Zend/zend_language_scanner.c: No such file or directory ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=42041&edit=1