ID: 35888
Updated by: [EMAIL PROTECTED]
Reported By: scott at abcoa dot com
-Status: Open
+Status: Feedback
Bug Type: Compile Failure
Operating System: AIX 5.2
-PHP Version: 5.1.1
+PHP Version: 5CVS-2005-12-05 (snap)
New Comment:
Does this configure line work any better:
# rm config.cache ; ./configure --disable-all --disable-cgi
# make clean && make
# sapi/cli/php -v
What compiler are you using? If you're using gcc, have you installed
GNU binutils and do you have the paths set properly?
Previous Comments:
------------------------------------------------------------------------
[2006-01-04 16:32:03] sfletcher at abcoa dot com
Recompiled with the latest CVS snapshot this morning and still get the
same compile error. Noticed the wording in the error message is a bit
different now.
--snip--
Installing PHP CLI binary: /usr/local/bin/
cp: sapi/cli/php: A file or directory in the path name does not exist.
make: 1254-004 The error code from the last command is 1.
--snip--
Also, please disregard the original configure command in the first
posting as the never ending addition of the new XML extensions give me
the griefs. The new configure command is
--snip--
./configure --with-apxs2=../../apache2/bin/apxs --disable-all
--with-unixODBC --with-openssl --with-curl --with-curlwrappers
--enable-spl --enable-session --enable-track-vars --enable-ftp
--enable-sockets
--snip--
------------------------------------------------------------------------
[2006-01-03 23:56:58] scott at abcoa dot com
Description:
------------
Got a make install failure. The configure command is
--snip--
./configure --with-apxs2=../../apache2/bin/apxs --without-mysql
--with-unixODBC --with-openssl --with-curl --disable-xml
--disable-libxml --disable-dom --disable-simplexml --without-pear
--enable-track-vars --enable-ftp --enable-sockets
--snip--
--snip--
#make install
echo '\
\
Installing PHP SAPI module: apache2handler
/usr/local/apache2/build/instdso.sh
SH_LIBTOOL='/usr/local/apache2/build/libtool' libphp5.la
/usr/local/apache2/modules
/usr/local/apache2/build/libtool --mode=install cp libphp5.la
/usr/local/apache2/modules/
cp .libs/libphp5.a /usr/local/apache2/modules/libphp5.a
cp .libs/libphp5.lai /usr/local/apache2/modules/libphp5.la
libtool: install: warning: remember to run `libtool --finish
/usr/local/src/php-5.1.1/libs'
chmod 755 /usr/local/apache2/modules/libphp5.so
[activating module `php5' in /usr/local/apache2/conf/httpd.conf]
Installing PHP CLI binary: /usr/local/bin/
cp: sapi/cli/php: No such file or directory
make: The error code from the last command is 1.
Stop.
#
--snip--
Result from the ls -la command...
--snip--
#ls -la sapi/cli/
total 264
drwxr-xr-x 3 1003 1003 4096 Jan 3 16:14 .
drwxr-xr-x 22 1003 1003 4096 Nov 27 15:19 ..
drwxr-xr-x 2 root system 256 Jan 3 16:14 .libs
-rw-r--r-- 1 1003 1003 56 Aug 11 16:45 CREDITS
-rw-r--r-- 1 1003 1003 436 Oct 13 06:02 Makefile.frag
-rw-r--r-- 1 1003 1003 845 May 29 2003 README
-rw-r--r-- 1 1003 1003 7 Mar 30 2003 TODO
-rw-r--r-- 1 1003 1003 56 Jan 13 2004 cli_win32.c
-rw-r--r-- 1 1003 1003 2158 Jul 7 2005 config.m4
-rw-r--r-- 1 1003 1003 551 May 14 2005 config.w32
-rw-r--r-- 1 1003 1003 4235 Aug 3 07:12 getopt.c
-rw-r--r-- 1 root system 312 Jan 3 16:14 getopt.lo
-rw-r--r-- 1 root system 9118 Jan 3 15:35 php.1
-rw-r--r-- 1 1003 1003 9126 Aug 3 07:12 php.1.in
-rw-r--r-- 1 1003 1003 32086 Nov 17 03:37 php_cli.c
-rw-r--r-- 1 root system 314 Jan 3 16:14 php_cli.lo
-rw-r--r-- 1 1003 1003 10787 Nov 17 03:37
php_cli_readline.c
-rw-r--r-- 1 1003 1003 1371 Aug 3 07:12
php_cli_readline.h
-rw-r--r-- 1 root system 332 Jan 3 16:14
php_cli_readline.lo
-rw-r--r-- 1 1003 1003 1797 Aug 3 07:12 php_getopt.h
#
--snip--
Reproduce code:
---------------
Do the usual configure, make, make install command then the error will
popup.
Expected result:
----------------
Should be able to compile.
Actual result:
--------------
Compile failure.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35888&edit=1