#38762 [Fbk->Opn]: build dir != src dir results in "Zend/zend_language_parser.c: No such file"
| From: | butterblume83 at gmx dot de | Date: | Sat, 09 Sep 2006 20:09:43 +0000 |
| Subject: | #38762 [Fbk->Opn]: build dir != src dir results in "Zend/zend_language_parser.c: No such file" | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-101936@lists.php.net to get a copy of this message | ||
ID: 38762
User updated by: butterblume83 at gmx dot de
Reported By: butterblume83 at gmx dot de
-Status: Feedback
+Status: Open
Bug Type: Compile Failure
Operating System: Ubuntu Dapper Drake
PHP Version: 5.1.6
New Comment:
@Johannes: the exact same error with 5.2 snapshot. Btw, the problem
does not occur in Slackware 10.2.
Previous Comments:
------------------------------------------------------------------------
[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