Bug #3540: APXS error when trying to compile the PHP3 module
| From: | jeremy at mob dot net | Date: | Mon, 21 Feb 2000 01:48:26 +0000 |
| Subject: | Bug #3540: APXS error when trying to compile the PHP3 module | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-15733@lists.php.net to get a copy of this message | ||
From: jeremy@mob.net
Operating system: Redhat Linux 5.1
PHP version: 3.0.14
PHP Bug Type: Compile Failure
Bug description: APXS error when trying to compile the PHP3 module
Here is my configure command: ./configure --with-mysql --with-apxs=/usr/sbin/apxs
--enable-track-vars
Here is the error that I get during the compile (Make) process:
/usr/sbin/apxs -c -o libphp3.so -I. -I. -Wl,'-rpath /usr/local/lib/mysql' ./mod_php3.c
libmodphp3-so.a -L/usr/local/lib -L/usr/local/lib/mysql -lmysqlclient
-ldb pcrelib/libpcre.a -lpam -lm -ldl -lcrypt -lresolv -Lpcrelib -lpcre
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: *** [libphp3.so] Error 1