php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #44508 "make" from another directory
Submitted: 2008-03-22 22:47 UTC Modified: 2008-03-25 13:26 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: bhavacakra at gmail dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.2 OS: Linux (arch_x64)
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: bhavacakra at gmail dot com
New email:
PHP Version: OS:

 

 [2008-03-22 22:47 UTC] 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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-03-23 09:15 UTC] 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-23 13:32 UTC] bhavacakra at gmail dot com
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.
 [2008-03-24 03:27 UTC] bhavacakra at gmail dot com
Tested it, and it still persist.
 [2008-03-25 13:26 UTC] jani@php.net
You're trying to do something we don't support: Bulding 3 SAPIs at same time. Nothing really buggy here, you just try to outsmart the build system.. :)

Please ask further support questions elsewhere. 

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 02 22:01:30 2024 UTC