#42041 [Fbk->Csd]: zend_language_scanner.c: No such file or directory
| From: | bjori@php.net | Date: | Thu, 19 Jul 2007 09:33:54 +0000 |
| Subject: | #42041 [Fbk->Csd]: zend_language_scanner.c: No such file or directory | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-36019@lists.php.net to get a copy of this message | ||
ID: 42041
Updated by: bjori@php.net
Reported By: ceo at l-i-e dot com
-Status: Feedback
+Status: Closed
Bug Type: Website problem
Operating System: Gentoo Linux
PHP Version: 5.2.3
-Assigned To:
+Assigned To: bjori
New Comment:
This bug has been fixed in CVS. Since the websites are not directly
updated from the CVS server, the fix might need some time to spread
across the globe to all mirror sites, including PHP.net itself.
Thank you for the report, and for helping us make PHP.net better.
Previous Comments:
------------------------------------------------------------------------
[2007-07-19 09:13:16] bjori@php.net
"From this point onwards, installation is similar to the installation
of one of the official packages with one main difference you must have
bison 1.28 or later and flex 2.5.4 to compile, because the pre-generated
scanner and parser files are not included in CVS."
Note that it doesn't say "flex 2.5.4 or later", it says "flex 2.5.4"
period.
What exactly do you want to change?
------------------------------------------------------------------------
[2007-07-19 08:40:26] jani@php.net
reclassify
------------------------------------------------------------------------
[2007-07-19 08:22:03] ceo at l-i-e dot com
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. :-)
------------------------------------------------------------------------
[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