I am trying to install the following on a brand new filesystem (the new filesystem is 
called /export/endor):

- httpd-2.0.48 (apache)
- mysql-debug-4.0.17 (32-bit binary)
- php-4.3.4

I have gotten apache and mysql working, but when I get to
php, I have issues with the "make install".  Here are all
the commands/sequence that I have followed:

PATH=/usr/xpg4/bin:/usr/bin:/usr/sbin:/sbin:/usr/ucb:/etc:/usr/ccs/bin:/sbin:/usr/local/bin:/opt/VRTS/bin:/etc/vx/bin:/opt/VRTSvcs/bin

MATHPATH=$MATHPATH:/usr/local/man:/usr/share/man:/usr/man:/usr/bin/man:/usr/seos/man:/opt/VRTS/man

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib:/usr/local/lib

export PATH MANPATH LD_LIBRARY_PATH

Apache
======
as root:

cd /export/home/saizic
/usr/local/bin/tar xfp httpd-2.0.48.tar
mkdir /export/endor/apache
cd httpd-2.0.48
./configure CC=gcc --prefix=/export/endor/apache
/usr/local/bin/make
/usr/local/bin/make install

MySQL (must use 32-bit binary version)
=====
as root:

groupadd -g 110 mysql

useradd -c "MySQL Application ID" -d /export/endor/mysql -s /bin/ksh -u 110 -g 110 
mysql

cd /export/endor

/usr/local/bin/tar xfp 
/export/home/saizic/mysql-debug-4.0.17-sun-solaris2.8-sparc.tar

ln -s mysql-debug-4.0.17-sun-solaris2.8-sparc mysql

chown -Rh mysql:mysql mysql-debug-4.0.17-sun-solaris2.8-sparc

su - mysql

vi bin/mysqlaccess (modify the line $MYSQL= '/usr/local/bin/mysql' to 
/export/endor/mysql/bin/mysql)

scripts/mysql_install_db

vi support-files/mysql.server (change all /usr/local references to /export/endor)

PHP
===
cd /export/home/aizicste

/usr/local/bin/tar xfp php-4.3.3.tar

cd php-4.3.3

mkdir /export/endor/php

CC=gcc

export CC

./configure --prefix==/export/endor/php --with-apxs2=/export/endor/apache/bin/apxs 
--with-mysql=/export/endor/mysql

/usr/local/bin/make

/usr/local/bin/make install
Installing PHP CLI binary:        =/export/endor/php/bin/
/export/home/aizicste/php-4.3.4/build/shtool: test: argument expected
cp: cannot create =/export/endor/php/bin/[EMAIL PROTECTED]: No such file or directory
make: *** [install-cli] Error 2

Any idea what to do with this?  Looks like shtool is causing
the difficulty here?  Thanks for your help!

Steven.


1

Reply via email to