#21510 [Fbk->Csd]: Make install compiler error (install: cannot stat `php`)
| From: | edink@php.net | Date: | Thu, 09 Jan 2003 00:33:33 +0000 |
| Subject: | #21510 [Fbk->Csd]: Make install compiler error (install: cannot stat `php`) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-29511@lists.php.net to get a copy of this message | ||
ID: 21510
Updated by: edink@php.net
Reported By: herps@raqtweak.com
-Status: Feedback
+Status: Closed
Bug Type: Compile Failure
Operating System: RedHat/Cobalt OS
PHP Version: 4.3.0
New Comment:
The build script failed due to the changed build location of cgi sapi.
Previous Comments:
------------------------------------------------------------------------
[2003-01-08 03:40:10] edink@php.net
Could you email me the complete RPM building script?
Btw. you still need --with-gd, you just don't need to have GDLIB
installed as it comes bundled with PHP.
------------------------------------------------------------------------
[2003-01-08 00:55:15] herps@raqtweak.com
Hello,
I keep getting this error when compiling PHP 4.3.0:
--------------
+ mkdir -p /var/tmp/php-4.3.0/usr/bin/
+ install -m 755 php /var/tmp/php-4.3.0/usr/bin/php
install: cannot stat `php': No such file or directory
Bad exit status from /var/tmp/rpm-tmp.27905 (%install)
--------------
This happens when making an RPM, which has been succesful for many
versions previous to 4.3.0
This happens in the "make install" section.
Here is my configure:
-----------
# --with-gd taken out, 4.3 comes with GD pre-compiled
OPTIONS="$OPTIONS --with-gettext=/usr --enable-safe-mode \
--with-config-file-path=/etc/httpd --with-exec-dir=/usr/bin \
--with-zlib --enable-magic-quotes --with-regex=system \
--with-ttf --with-db --with-gdbm --enable-mbstring
--enable-mbstr-enc-trans \
--enable-track-vars --enable-wddx=shared --enable-mm=shared \
--enable-xml --enable-ftp --disable-debug
--with-libdir=/usr/lib"
test
rpm -q db3-devel && OPTIONS="$OPTIONS --with-db3"
test rpm -q InterBaseCS_LI && OPTIONS="$OPTIONS
--with-interbase=shared"
test rpm -q MySQL-devel && OPTIONS="$OPTIONS --with-mysql=shared"
test rpm -q solid-devel && OPTIONS="$OPTIONS --with-solid"
test rpm -q postgresql-devel && OPTIONS="$OPTIONS
--with-pgsql=shared"
test rpm -q openldap-devel && OPTIONS="$OPTIONS --with-ldap"
test rpm -q imap-devel && OPTIONS="$OPTIONS --with-imap"
test rpm -q curl-devel && OPTIONS="$OPTIONS --with-curl=shared"
test rpm -q pdflib && OPTIONS="$OPTIONS --with-pdflib=shared"
-----------
Does anyone have a clue?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21510&edit=1