Can't find APXS. RH6.2
| From: | Judd Maltin | Date: | Tue, 13 Feb 2001 02:52:58 +0000 |
| Subject: | Can't find APXS. RH6.2 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-2037@lists.php.net to get a copy of this message | ||
Hi kind PHP people,
My configure can't run APXS correctly... it says it can't find it, but it's obvious that it's found it and isn't running it correctly. What's a fella to do?
Thanks!
[root@kislev php-4.0.4pl1]# ./configure --with-pgsql --with-apxs=/usr/sbin/bin/apxs
.... lots of good configuration messages, and then ....
Configuring SAPI modules
checking for AOLserver support... no
checking for Apache module support via DSO through APXS...
Usage: apxs -g [-S <var>=<val>] -n <modname>
apxs -q [-S <var>=<val>] <query> ...
apxs -c [-S <var>=<val>] [-o <dsofile>] [-D <name>[=<value>]]
[-I <incdir>] [-L <libdir>] [-l <libname>] [-Wc,<flags>]
[-Wl,<flags>] <files> ...
apxs -i [-S <var>=<val>] [-a] [-A] [-n <modname>] <dsofile> ...
apxs -e [-S <var>=<val>] [-a] [-A] [-n <modname>] <dsofile> ...
Sorry, I was not able to successfully run APXS. Possible reasons:
1. Perl is not installed;
2. Apache was not compiled with DSO support (--enable-module=so);
3. 'apxs' is not in your path.
configure: error: ;
[root@kislev php-4.0.4pl1]# which perl
/usr/bin/perl
[root@kislev php-4.0.4pl1]# /usr/lib/apache/bin/httpd -l
Compiled-in modules:
http_core.c
mod_so.c
mod_setenvif.c
mod_perl.c
suexec: disabled; invalid wrapper /usr/lib/apache/bin/suexec
[root@kislev php-4.0.4pl1]# which apxs
/usr/sbin/bin/apxs
[root@kislev php-4.0.4pl1]#