Bug #1668: Apxs fails during compilation with rc=16711680
| From: | mattrose at folkwolf dot net | Date: | Tue, 06 Jul 1999 14:01:53 +0000 |
| Subject: | Bug #1668: Apxs fails during compilation with rc=16711680 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-8121@lists.php.net to get a copy of this message | ||
From: mattrose@folkwolf.net
Operating system: Debian Linux 2.1 kernel 2.0.36
PHP version: 3.0.11
PHP Bug Type: Compile Failure
Bug description: Apxs fails during compilation with rc=16711680
this is the configure command I used
./configure --with-apxs=/usr/local/apache/bin/apxs --with-config-file=/usr/local/lib/ --with-mysql
then I have to go into config.h and change these lines
to 1.
/* Define both of these if you want the bundled REGEX library */
#define REGEX 1
#define HSREGEX 1
(without these lines it'll break at the regex stuff)
then when I go to make, it gives me this error
I added the -w to the apxs perl script so that I could see what was going on more
/usr/local/apache/bin/apxs -c -o libphp3.so -I. -I. -Wl,'-rpath /usr/lib/mysql'
mod_php3.c libmodphp3-so.a -L/usr/local/lib -ldb pcrelib/libpcre.a
-L/usr/lib/mysql -lmysqlclient -lm -ldl -lcrypt -lnsl -lresolv -Lpcrelib -lpcre
gcc -DLINUX=2 -DUSE_HSREGEX -I/usr/local/apache/include -I. -I. -c mod_php3.c
-o libphp3.so mod_php3.o libmodphp3-so.a -L/usr/local/lib -ldb pcrelib/libpcre.a -L/usr/lib/mysql
-lmysqlclient -lm -ldl -lcrypt -lnsl -lresolv -Lpcrelib -lpcre -rpath /usr/lib/mysql
Can't exec "-o": No such file or directory at /usr/local/apache/bin/apxs line 224.
apxs:Break: Command failed with rc=16711680