php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #42041 zend_language_scanner.c: No such file or directory
Submitted: 2007-07-19 06:13 UTC Modified: 2007-07-19 09:33 UTC
From: ceo at l-i-e dot com Assigned: bjori (profile)
Status: Closed Package: Website problem
PHP Version: 5.2.3 OS: Gentoo Linux
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ceo at l-i-e dot com
New email:
PHP Version: OS:

 

 [2007-07-19 06:13 UTC] 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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-07-19 08:22 UTC] 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 08:40 UTC] jani@php.net
reclassify
 [2007-07-19 09:13 UTC] 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 09:33 UTC] bjori@php.net
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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 06:01:30 2024 UTC