[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Some much PHP Trouble [Raq3]




le 17.10.2001 16:46, Kacey A. Murphy à kacey@xxxxxxxxxxxxx a écrit :

> I have read so many documents its ridiculous, and I still get an error
> on 
> MAKE INSTALL--
> 
> These are the steps I took
> cd /usr/bin
> ln -s /usr/sbin/httpd httpd
> 
> That i guess is to replicate the HTTPD so that you can see it in the
> sbin directory.
> 
> ./configure  \
> --with-apxs=/usr/sbin/apxs \
> --with-mysql=/usr/ \ <--- Not sure if its MYSQL dir. (instld the PKG
> file from the cobalt web site.>
> --enable-track-vars \
> --enable-trans-sid \
> --enable-ftp
> 
> CONFIGURES FINE
> 
> THEN MAKE SEEMS OK
> 
> THEN I DO MAKE INSTALL AND IT HALTS
> 
> HALT ON MAKE INSTALL
> make[1]: Entering directory `/home/packages/php-4.0.6'
> /home/packages/php-4.0.6/build/shtool mkdir -p "/usr/lib/apache" &&
> /usr/sbin/ao
> apxs:Error: Unknown option: S
> Usage: apxs -g -n <modname>
> apxs -q <query> ...
> apxs -c [-o <dsofile>] [-D <name>[=<value>]] [-I <incdir>]
> [-L <libdir>] [-l <libname>] [-Wc,<flags>] [-Wl,<flags>]
> <files> ...
> apxs -i [-a] [-A] [-n <modname>] <dsofile> ...
> make[1]: *** [install-sapi] Error 1
> make[1]: Leaving directory `/home/packages/php-4.0.6'
> make: *** [install-recursive] Error 1
> [root@ns php-4.0.6]#
> 

Murphy's law :-))
Anything that can go wrong will go wrong.
Now you are trying to install PHP4.0.6 right ??
You have two options.
* use the cobalt package developped by Taco's team. ( Extremely cool people)
* Search the archives for php4.0.6,
    You have to add the letter "S" to the /usr/sbin/apxs script but I cannot
remember xactly where to add it, so search the archivrs for exact answers.