From: [EMAIL PROTECTED]
Operating system: RedHat/Cobalt OS
PHP version: 4.3.0
PHP Bug Type: Compile Failure
Bug description: Make install compiler error (install: cannot stat `php`)
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 bug report at http://bugs.php.net/?id=21510&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=21510&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=21510&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=21510&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=21510&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=21510&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=21510&r=support
Expected behavior: http://bugs.php.net/fix.php?id=21510&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=21510&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=21510&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=21510&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21510&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=21510&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=21510&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=21510&r=gnused