#44508 [Fbk->Opn]: "make" from another directory
| From: | bhavacakra at gmail dot com | Date: | Sun, 23 Mar 2008 13:33:00 +0000 |
| Subject: | #44508 [Fbk->Opn]: "make" from another directory | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-123560@lists.php.net to get a copy of this message | ||
ID: 44508
User updated by: bhavacakra at gmail dot com
Reported By: bhavacakra at gmail dot com
-Status: Feedback
+Status: Open
Bug Type: Compile Failure
Operating System: Linux (arch_x64)
PHP Version: 5.2.5
New Comment:
I'm using those flags as recommended in Sara's book, as I'm studying
PHP internals with its companion.
Are you aware of the concrete CVS commit that fixed it, or eventually a
patch? It would be very interesting to have a look at it.
Thanks.
Previous Comments:
------------------------------------------------------------------------
[2008-03-23 09:15:38] johannes@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows (zip):
http://snaps.php.net/win32/php5.2-win32-latest.zip
For Windows (installer):
http://snaps.php.net/win32/php5.2-win32-installer-latest.msi
Why are you using --enable-debug and --enable-maintainer-zts, these are
only for developrs who know what they do. And you can just build either
--enable-embed or --with-apxs2 so decide for one (most likely the
latter) there.
------------------------------------------------------------------------
[2008-03-22 22:47:58] bhavacakra at gmail dot com
Description:
------------
I'm attempting to configure and build PHP from a directory outside of
the source distribution. "configure" works fine, but "make" stops while
compiling "/sapi/apache2handler/mod_php5.c"
Reproduce code:
---------------
shell $ ../php-5.2.5/configure --enable-debug --enable-maintainer-zts
--disable-cgi --enable-cli --without-pear
--disable-xml --without-sqlite --without-mysql --enable-embed
--with-apxs2=/usr/sbin/apxs
shell $ make
Expected result:
----------------
successful compilation
Actual result:
--------------
/bin/sh /home/flav/programming/php-internals/_build/libtool
--preserve-dup-deps --mode=compile /home/flav/programming/php-intern
als/_build/meta_ccld -I/usr/include/apache -DLINUX=2 -D_REENTRANT
-D_GNU_SOURCE -I/usr/include/apr-1 -I/usr/include/apr-1 -I
/usr/include -Isapi/apache2handler/
-I/home/flav/programming/php-internals/php-5.2.5/sapi/apache2handler/
-DPHP_ATOM_INC -I/home
/flav/programming/php-internals/_build/include
-I/home/flav/programming/php-internals/_build/main
-I/home/flav/programming/php-i
nternals/php-5.2.5 -I/usr/include/libxml2
-I/home/flav/programming/php-internals/_build/ext/date/lib
-I/home/flav/programming/ph
p-internals/php-5.2.5/ext/date/lib
-I/home/flav/programming/php-internals/_build/TSRM
-I/home/flav/programming/php-internals/_bu
ild/Zend -I/home/flav/programming/php-internals/php-5.2.5/main
-I/home/flav/programming/php-internals/php-5.2.5/Zend -I/home/fla
v/programming/php-internals/php-5.2.5/TSRM
-I/home/flav/programming/php-internals/_build/ -D_REENTRANT
-I/usr/include -g -pthr
ead -O0 -Wall -DZTS -c
/home/flav/programming/php-internals/php-5.2.5/sapi/apache2handler/mod_php5.c
-o sapi/apache2handler/mo
d_php5.lo
/home/flav/programming/php-internals/_build/libtool: line 1184:
sapi/apache2handler/mod_php5.loT: No such file or directory
mkdir sapi/apache2handler/.libs
mkdir: cannot create directory `sapi/apache2handler/.libs': No such
file or directory
make: *** [sapi/apache2handler/mod_php5.lo] Error 1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=44508&edit=1