By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,291 Members | 3,096 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,291 IT Pros & Developers. It's quick & easy.

Error on 'make install'

P: n/a

I'm trying to install PHP5. My configure is

../configure --with-apxs=/usr/local/sbin/apxs --
prefix=PREFIX=/usr/local/php5/ --with-mysql --disable-pear

then make and make install

The error that I get is:

# make install
Installing PHP SAPI module: apache
[activating module `php5' in /usr/local/etc/apache/httpd.conf]
cp libs/ /usr/local/libexec/apache/
chmod 755 /usr/local/libexec/apache/
cp /usr/local/etc/apache/httpd.conf /usr/local/etc/apache/httpd.conf.bak
cp /usr/local/etc/apache/ /usr/local/etc/apache/httpd.conf
rm /usr/local/etc/apache/
Installing PHP CLI binary: PREFIX=/usr/local/php5//bin/
Installing PHP CLI man page: PREFIX=/usr/local/php5//man/man1/
Installing build environment: PREFIX=/usr/local/php5//lib/php/build/
Installing header files: PREFIX=/usr/local/php5//include/php/
cp: PREFIX=/usr/local/php5//include/php/#INST@66614#: No such file or
*** Error code 1 (ignored)
Installing helper programs: PREFIX=/usr/local/php5//bin/
program: phpize
program: php-config
program: phpextdist

After this /usr/local/php5 is completely empty. I tried making some of
the subdirectories, but that had no effect.

And in the #INST@66614#, the 5 digit number changes each time make
install is ran.

I can't find what is causing this. Anyone have any ideas?

Permissions on the install directory:
drwxr-xr-x 5 root wheel 512 Nov 17 13:58 php5

I'm running make as root

Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.