make install errors out

#1
Hi: After I finish the make, why is the make install trying to install man in /man? For some reason the prefix is not going through to the script.

bash-2.05$ make install
Installing PHP SAPI module: litespeed
Installing PHP CLI binary: /export/home/rawlog/php-5.1.4/bin/
Installing PHP CLI man page: /man/man1/
mkdir: Failed to make directory "/man"; Permission denied
mkdir: Failed to make directory "/man/man1"; No such file or directory
*** Error code 2
make: Fatal error: Command failed for target `install-cl

Below is the configure command and make that I ran

bash-2.05$./configure --prefix=/export/home/rawlog/php-5.1.4 --datadir=/export/home/rawlog/php-5.1.4 --with-litespeed
--with-oci8-instant-client=/export/home/rawlog/oracle/instantclient
.
.
.
config.status: creating sapi/cli/php.1
config.status: creating main/php_config.h
config.status: executing default commands
bash-2.05$make
.
.

Build complete.
(It is safe to ignore warnings about tempnam and tmpnam).

I am on solaris 2.9

Thanks
Ravi
 
Last edited:
#2
Hi: After I finish the make, why is the make install trying to install man in /man? For some reason the prefix is not going through to the script.

bash-2.05$ make install
Installing PHP SAPI module: litespeed
Installing PHP CLI binary: /export/home/rawlog/php-5.1.4/bin/
Installing PHP CLI man page: /man/man1/
mkdir: Failed to make directory "/man"; Permission denied
mkdir: Failed to make directory "/man/man1"; No such file or directory
*** Error code 2
make: Fatal error: Command failed for target `install-cl

Below is the configure command and make that I ran

bash-2.05$./configure --prefix=/export/home/rawlog/php-5.1.4 --datadir=/export/home/rawlog/php-5.1.4 --with-litespeed
--with-oci8-instant-client=/export/home/rawlog/oracle/instantclient
.
.
.
config.status: creating sapi/cli/php.1
config.status: creating main/php_config.h
config.status: executing default commands
bash-2.05$make
.
.

Build complete.
(It is safe to ignore warnings about tempnam and tmpnam).

I am on solaris 2.9

Thanks
Ravi
Found my problem. Had to run make install INSTALL_ROOT=/export/home/rawlog/php-5.1.4

Thx
ravi
 
Top