LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > External Applications > PHP > make install errors out

Reply
 
Thread Tools Display Modes
  #1  
Old 02-06-2007, 06:23 PM
reshu1596 reshu1596 is offline
Member
 
Join Date: Feb 2007
Posts: 22
Default make install errors out

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 by reshu1596; 02-06-2007 at 06:27 PM..
Reply With Quote
  #2  
Old 02-07-2007, 05:54 AM
reshu1596 reshu1596 is offline
Member
 
Join Date: Feb 2007
Posts: 22
Quote:
Originally Posted by reshu1596 View Post
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
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 10:27 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.