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

[cobalt-users] PHP install problem



I'm having a problem installing PHP4 on my RaQ. I followed Derek Sivers' instructions as posted online (which had a couple errors, no biggie) and have traced the problem to the apache apxs program -- it seems PHP4 is trying to use an option that doesn't exist in what I have even though it's documented on the Apache site. I'm running 1.3.6 (though apache says current is 1.3.22 -- weird!!) as told to me by 'httpd -v'. I have included the last part of the output from the failed php 'make install', in case anyone has any ideas. I really appreciate it!

Output: (formatting got screwy, sorry...)

/bin/sh /home/sites/site1/users/rforsythe/php-4.0.6/libtool --silent --mode=link gcc -I. -I/home/sites/site1/users/rforsythe/php-4.0.6/-l/home/sites/site1/users/rforsythe/php-4.0.6/main -I/home/sites/site1/users/rforsythe/php-4.0.6 -I/usr/include/apache -I/home/sites/site1/users/rforsythe/php-4.0.6/Zend -I/usr/local/mysql/include/mysql -I/home/sites/site1/users/rforsythe/php-4.0.6/ext/xml/expat/xmltok -I/home/sites/site1/users/rforsythe/php-4.0.6/ext/xml/expat/xmlparse -I/home/sites/site1/users/rforsythe/php-4.0.6/TSRM -DLINUX=2 -DNO_DBM_REWRITEMAP -DMOD_SSL=202108 -DMOD_PERL -DUSE_PERL_SSI -Dbool=char -DHAS_BOOL -DEAPI -DBIG_SECURITY_HOLE -DCOBALT_RAQ_LED -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -o libphp4.la -rpath /home/sites/site1/users/rforsythe/php-4.0.6/libs -avoid-version -L/usr/local/mysql/lib/mysql -R /usr/local/mysql/lib/mysql stub.lo Zend/libZend.la sapi/apache/libsapi.la main/libmain.la regex/libregex.la ext/ftp/libftp.la ext/mysql/libmysql.la ext/pcre/libpcre.la ext/posix/libposix.la ext/session/libsession.la ext/standard/libstandard.la ext/xml/libxml.la TSRM/libtsrm.la -lpam -ldl -lmysqlclient -lcrypt -lresolv -lm -ldl -lnsl -lresolv /home/sites/site1/users/rforsythe/php-4.0.6/build/shtool mkdir -p "/usr/lib/apache" && /usr/sbin/apxs -S LIBEXECDIR="/usr/lib/apache"

-i -a -n php4 libs/libphp4.so
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/sites/site1/users/rforsythe/php-4.0.6'
make: *** [install-recursive] Error 1