Bug #2254: will not compile with --with-mysql=/usr/local/mysql

From: Date: Tue, 07 Sep 1999 03:46:51 +0000
Subject: Bug #2254: will not compile with --with-mysql=/usr/local/mysql
Groups: php.dev 
Request: Send a blank email to php-dev+get-10641@lists.php.net to get a copy of this message
From: terry@dynavar.com Operating system: Cobalt Linux PHP version: 3.0.12 PHP Bug Type: Compile Failure Bug description: will not compile with --with-mysql=/usr/local/mysql I am compiling shared module and I get some strange error as included below, this is the configure script I ran: ./configure --with-apxs=/usr/sbin/apxs --with-config-file-path=/etc --with-mysql=/usr/local/mysql It does compile without the --with-mysql directive just fine, however I need support for MySQL. It appears to not like the -W option in the apxs command as below. thanks. /usr/sbin/apxs -c -o libphp3.so -I. -I. -Wl,'-rpath /usr/local/mysql/lib/mysql' ./mod_php3.c libmodphp3-so.a -L/usr/local/lib -L/usr/local/mysql/lib/mysql -lmysqlclient -lgdbm pcrelib/libpcre.a -lpam -lm -ldl -lcrypt -lnsl -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 [root php-3.0.12]#

« previous php.dev (#10641) next »