make install errors out

Discussion in 'PHP' started by reshu1596, Feb 7, 2007.

  1. reshu1596

    reshu1596 Member

    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
    config.status: creating sapi/cli/php.1
    config.status: creating main/php_config.h
    config.status: executing default commands

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

    I am on solaris 2.9

    Last edited: Feb 7, 2007
  2. reshu1596

    reshu1596 Member

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


Share This Page