From:             ceo at l-i-e dot com
Operating system: Gentoo Linux
PHP version:      5.2.3
PHP Bug Type:     Compile Failure
Bug description:  zend_language_scanner.c: No such file or directory

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 bug report at http://bugs.php.net/?id=42041&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=42041&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=42041&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=42041&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=42041&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=42041&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=42041&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=42041&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=42041&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=42041&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=42041&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=42041&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=42041&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=42041&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=42041&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=42041&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=42041&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=42041&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=42041&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=42041&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=42041&r=mysqlcfg

Reply via email to