Mombu the Php Forum sponsored links

Go Back   Mombu the Php Forum > Php > #38762 : build dir != src dir results in "Zend/zend_language_parser.c: No such file"
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 28th August 17:24
php-bugs@lists.php.net (butterblume83 at gmx dot
External User
 
Posts: 1
Default #38762 : build dir != src dir results in "Zend/zend_language_parser.c: No such file"



ID: 38762
User updated by: butterblume83 at gmx dot de
Reported By: butterblume83 at gmx dot de
Status: Open
Bug Type: Compile Failure
Operating System: Ubuntu Dapper Drake
PHP Version: 5.1.6
New Comment:

Is the configure-line:

checking for flex version... invalid

interesting?


Previous Comments:
------------------------------------------------------------------------

[2006-09-09 20:31:50] butterblume83 at gmx dot de

@tony2001: does not help.

------------------------------------------------------------------------

[2006-09-09 20:13:40] tony2001@php.net

Make sure you have yacc/bison installed.

------------------------------------------------------------------------

[2006-09-09 20:09:43] butterblume83 at gmx dot de

@Johannes: the exact same error with 5.2 snapshot. Btw, the problem
does not occur in Slackware 10.2.

------------------------------------------------------------------------

[2006-09-09 19:48:06] johannes@php.net

Please try using this CVS snapshot:

http://snaps.php.net/php5.2-latest.tar.gz

For Windows:

http://snaps.php.net/win32/php5.2-win32-latest.zip

------------------------------------------------------------------------

[2006-09-09 19:30:45] butterblume83 at gmx dot de

Description:
------------
When I build PHP and the build directory (from where I call configure)
is different to the source directory, I always (configure with or
without params) produces the error that zend_language_parser.c was not
found. When building from inside the source directory (./configure) is
all nice and dandy!

Reproduce code:
---------------
cd build
.../src/php-5.1.6/configure
make

Expected result:
----------------
"Build successfully done."

Actual result:
--------------
-I/home/fa/dev/build-area/php5/build/php/ -D_REENTRANT -I/usr/include
-g -O2 -pthread -DZTS -c Zend/zend_language_parser.c -o
Zend/zend_language_parser.lo
gcc: Zend/zend_language_parser.c: No such file or directory
gcc: no input files
make: *** [Zend/zend_language_parser.lo] Error 1

------------------------------------------------------------------------


--
Edit this bug report at http://bugs.php.net/?id=38762&edit=1
  Reply With Quote


  sponsored links


Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666