php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21510 Make install compiler error (install: cannot stat `php`)
Submitted: 2003-01-08 00:55 UTC Modified: 2003-01-08 18:33 UTC
From: herps at raqtweak dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.3.0 OS: RedHat/Cobalt OS
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: herps at raqtweak dot com
New email:
PHP Version: OS:

 

 [2003-01-08 00:55 UTC] herps at raqtweak dot 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?

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-08 03:40 UTC] 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 18:33 UTC] edink@php.net
The build script failed due to the changed build location of cgi sapi.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Sep 11 03:01:28 2024 UTC