Configure problem --with-apxs

From: Date: Mon, 23 Oct 2000 20:38:30 +0000
Subject: Configure problem --with-apxs
Groups: php.dev 
Request: Send a blank email to php-dev+get-35935@lists.php.net to get a copy of this message
Greetings, I am having trouble getting PHP-403pl1 to compile as an Apache mod for my Stronghold 3 server. Here is my configure: # LIBS="-ltiff -lttf" ./configure --with-gd=/usr/local \ --with-jpeg-dir=/usr/local \ --with-tiff-dir=/usr/local \ --with-zlib \ --with-mcrypt=/usr/local \ --with-pgsql \ --with-cpdflib=/usr/local \ --with-dbase \ --with-config-file-path=/usr/site/sh3/conf \ --enable-track-vars \ --without-mysql \ --with-cybercash=/usr/local/mck \ --with-apxs=/usr/site/sh3/bin/apxs . . . 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> ...
configure: error: Sorry, I cannot run apxs. Either you need to install Perl or you need to pass the absolute path of apxs by using --with-apxs=/absolute/path/to/apxs
Configure stops. I saw the earlier problem someone was having with this and the suggestion was made that the --enable-module=so was not set, but I'm pretty sure it is included in mine: # ./httpd -l Compiled-in modules: http_core.c mod_env.c mod_log_config.c mod_log_agent.c mod_log_referer.c mod_mime.c mod_negotiation.c mod_status.c mod_info.c mod_include.c mod_dir.c mod_cgi.c mod_asis.c mod_imap.c mod_actions.c mod_alias.c mod_rewrite.c mod_access.c mod_auth.c mod_auth_dbm.c mod_cern_meta.c mod_expires.c mod_headers.c mod_usertrack.c mod_unique_id.c mod_so.c mod_setenvif.c mod_perl.c mod_ssl.c Any insight as to what might be causing this would be greatly appreciated. I compiled 402 just fine as an Apache mod, and I have also use the above configuration to make a non-secure server and a cgi version of PHP403pl1 just fine. Thanks, Matthew

« previous php.dev (#35935) next »