APXS error

From: Date: Sun, 24 Oct 1999 14:25:05 +0000
Subject: APXS error
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-5666@lists.php.net to get a copy of this message
Hi, I'm trying to install PHP4b2 on my Red Hat Secure Server with MySQL. As this is a special SSL server, I can't just compile the Apache with PHP as module. I did this: ./configure --with-apxs=/usr/sbin/apxs --with-mysql when I now enter "make install" I get: [a lot before and then] Making all in standard make[2]: Entering directory `/php-4.0b2/ext/standard' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/php-4.0b2/ext/standard' make[2]: Entering directory `/php-4.0b2/ext' top_srcdir=.. ../scripts/mkextlib libphpext.a apache db gd mysql pcre session sd + ../scripts/armerge libphpext.a apache/libphpext_apache.a db/libphpext_db.a gda make[2]: [libphpext.a] Error 1 (ignored) make[2]: Leaving directory `/php-4.0b2/ext' make[1]: Leaving directory `/php-4.0b2/ext' gcc -g -O2 -g -O2 -fpic -I. -I. -I./libzend -I./TSRM -I./libzend -I./TSRM - I/uo ar rc libmodphp4-so.a.tmp main.o internal_functions.o snprintf.o php3_sprintf.oo ./scripts/armerge libmodphp4-so.a libmodphp4-so.a.tmp ext/libphpext.a libzend/l ranlib libmodphp4-so.a /usr/sbin/apxs -I. -I. -I./libzend -I./TSRM -I./libzend -I./TSRM -I/usr/incl ude apxs:Error: Unknown option: W Usage: apxs -g -n <modname> apxs -q <query> ... apxs -c [-o <dsofile>] [-D <name>[=<value>]] [-I <incdir>] [-L <libdir>] [-l <libname>] <files> ... apxs -i [-a] [-n <modname>] <dsofile> ... make: *** [libphp4.so] Error 1 *********************+ I found this line in the Makefile: $(APXS) $(INCLUDE) -c -o libphp4.so -Wl,'-rpath /usr/local/mysql/lib/m$ That option -W really doesn't exist... I really hope somebody can help me... Even the installation of PHP3 as RPM doesn't work: In file included from /usr/include/apache/httpd.h:73, from mod_php3.c:36: /usr/include/apache/buff.h:73: ssl.h: No such file or directory apxs:Break: Command failed with rc=65536 make: *** [libphp3.so] Error 1 Bad exit status from /var/tmp/rpm-tmp.41606 (%build) This stupid ssl.h is missing... it's nowhere on the server... can I just delete that entry in buff.h: #ifdef MOD_SSL #include <stdio.h> #include <ssl.h> #endif /* MOD_SSL */ ??? I already installed all that stuff on two normal Apache servers... Is this perhaps just a problem with Red Hat Secure Server? Or is there a way to recompile the apache there? Thanks Andreas

« previous php.version4 (#5666) next »