Error getting PHP to compile with apxs with current CVS
| From: | Yusuf Goolamabbas | Date: | Thu, 19 Nov 1998 03:08:51 +0000 |
| Subject: | Error getting PHP to compile with apxs with current CVS | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-2474@lists.php.net to get a copy of this message | ||
Platform Redhat Linux 5.1/i386 with gcc 2.7.2.3
CVS tree of PHP3 updated at 3:00 am GMT doesn't compile. I get the
following error mesg
usr/local/site/apache/sbin/apxs -c -o libphp3.so -Wl,-rpath,/usr/local/site/mysql/lib/mysql
-L/usr/local/site/mysql/lib/mysql -lmysqlclient -L/usr/local/site/ldap/lib -lldap -llber
mod_php3.c libmodphp3-so.a regex/libregex.a -lgdbm
-Wl,-rpath,/usr/local/site/mysql/lib/mysql -L/usr/local/site/mysql/lib/mysql -lmysqlclient
-L/usr/local/site/ldap/lib -lldap -llber -lexpat -lm -ldl -lcrypt -lnsl -lresolv
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
The following is the configure command line
/configure --with-apxs=/usr/local/site/apache/sbin/apxs
- --with-mysql=/usr/local/site/mysql --with-ldap=/usr/local/site/ldap
- --with-xml --enable-track-vars --enable-magic-quotes
- --with-config-file-path=/usr/local/site
Cheers, Yusuf
--
Yusuf Goolamabbas
yusufg@huge.net
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net