[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] PHP install problem
- Subject: Re: [cobalt-users] PHP install problem
- From: rdkurth@xxxxxxxxxxxx
- Date: Wed Oct 31 01:36:03 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Hello Ralph,
Edit following lines in /usr/sbin/apxs:
Line 80:
my $CFG_SBINDIR = '/usr/sbin'; # substituted via APACI install
^
Line 203:
($rc, @ARGV) = &Getopts("qn:gco:I+D+L+l+S+W+iaA", @ARGV);
^^
Monday, October 29, 2001, 10:10:06 PM, you wrote:
RF> I'm having a problem installing PHP4 on my RaQ. I followed Derek Sivers'
RF> instructions as posted online (which had a couple errors, no biggie) and
RF> have traced the problem to the apache apxs program -- it seems PHP4 is
RF> trying to use an option that doesn't exist in what I have even though it's
RF> documented on the Apache site. I'm running 1.3.6 (though apache says
RF> current is 1.3.22 -- weird!!) as told to me by 'httpd -v'. I have included
RF> the last part of the output from the failed php 'make install', in case
RF> anyone has any ideas. I really appreciate it!
RF> Output: (formatting got screwy, sorry...)
RF> /bin/sh /home/sites/site1/users/rforsythe/php-4.0.6/libtool --silent
RF> --mode=link gcc -I.
RF> -I/home/sites/site1/users/rforsythe/php-4.0.6/-l/home/sites/site1/users/rforsythe/php-4.0.6/main
RF> -I/home/sites/site1/users/rforsythe/php-4.0.6 -I/usr/include/apache
RF> -I/home/sites/site1/users/rforsythe/php-4.0.6/Zend
RF> -I/usr/local/mysql/include/mysql
RF> -I/home/sites/site1/users/rforsythe/php-4.0.6/ext/xml/expat/xmltok
RF> -I/home/sites/site1/users/rforsythe/php-4.0.6/ext/xml/expat/xmlparse
RF> -I/home/sites/site1/users/rforsythe/php-4.0.6/TSRM -DLINUX=2
RF> -DNO_DBM_REWRITEMAP -DMOD_SSL=202108 -DMOD_PERL -DUSE_PERL_SSI -Dbool=char
RF> -DHAS_BOOL -DEAPI -DBIG_SECURITY_HOLE -DCOBALT_RAQ_LED
RF> -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -o libphp4.la -rpath
RF> /home/sites/site1/users/rforsythe/php-4.0.6/libs -avoid-version
RF> -L/usr/local/mysql/lib/mysql -R /usr/local/mysql/lib/mysql
RF> stub.lo Zend/libZend.la sapi/apache/libsapi.la main/libmain.la
RF> regex/libregex.la ext/ftp/libftp.la ext/mysql/libmysql.la
RF> ext/pcre/libpcre.la ext/posix/libposix.la ext/session/libsession.la
RF> ext/standard/libstandard.la ext/xml/libxml.la TSRM/libtsrm.la -lpam -ldl
RF> -lmysqlclient -lcrypt -lresolv -lm -ldl -lnsl -lresolv
RF> /home/sites/site1/users/rforsythe/php-4.0.6/build/shtool mkdir -p
RF> "/usr/lib/apache" && /usr/sbin/apxs -S LIBEXECDIR="/usr/lib/apache"
RF> -i -a -n php4 libs/libphp4.so
RF> apxs:Error: Unknown option: S
RF> Usage: apxs -g -n <modname>
RF> apxs -q <query> ...
RF> apxs -c [-o <dsofile>] [-D <name>[=<value>]] [-I <incdir>]
RF> [-L <libdir>] [-l <libname>] [-Wc,<flags>] [-Wl,<flags>]
RF> <files> ...
RF> apxs -i [-a] [-A] [-n <modname>] <dsofile> ...
RF> make[1]: *** [install-sapi] Error 1
RF> make[1]: Leaving directory `/home/sites/site1/users/rforsythe/php-4.0.6'
RF> make: *** [install-recursive] Error 1
RF> _______________________________________________
RF> cobalt-users mailing list
RF> cobalt-users@xxxxxxxxxxxxxxx
RF> To Subscribe or Unsubscribe, please go to:
RF> http://list.cobalt.com/mailman/listinfo/cobalt-users
--
Best regards,
rdkurth mailto:rdkurth@xxxxxxxxxxxx