Re: Configure problem --with-apxs
| From: | John Donagher | Date: | Wed, 25 Oct 2000 17:34:28 +0000 |
| Subject: | Re: Configure problem --with-apxs | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-36013@lists.php.net to get a copy of this message | ||
I have had exactly the same problem, even though mod_so was compiled in to the installed apache.
Maybe someone with a good understanding of the DSO functionality can shed some insight?
Thanks
John
On Wed, 25 Oct 2000, Matthew Hagerty wrote:
> 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
>
>
>
--
John Donagher
Application Engineer
Intacct Corp. - Powerful Accounting on the Web
408-395-0989
720 University Ave.
Los Gatos CA 95032
www.intacct.com
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: For info see http://www.gnupg.org
mQGiBDnCZ1oRBACFgkFCV6p3dWic1qm1FLhip5beIyzZSt+ccTDYQQdPZA/t5H+k
PZ7ZFBIUrXz/oEqwQwlEKlg8JQqg7hgtcL+xrIJ0BInLeSJG4lvvB551g59Thr7/
OsdxNVxKci775+K+GkdAz4xcULMuB+QE7t665Ri46EAS8ALos5UG6DGmhwCguD0v
1cxwy/KlKr+oi4sWM9caueED/RmjiSD3vmBZQt6PMisVe1AmkEf6cJoemduCSJxu
0eMz/LIeu+CqfpuJH2N/dZ3hRj9xMSHF4l71wKqV99zhm58kDGwG1u3yVzULPDqz
0yL+8nunlkoOUyn3zOnh3Zmz4POFVMZQ5oian3QkLllUwly5JCi5tWULxZ2vOkb0
zzjuA/4jigNxYV4NAyCl+wAbnyzk9/Iz8EHv4/0Ex8ytlcMtvBJKa9HjJxlyIl74
yOILHk3+GSAdM0b3ZmbavpoCpebinOMBhqEVBwCI4VUIAqf86gx+2dKBGxfKPnU4
Xxvqs/BOl/EbeJjyd4uieYndGRaWg+kYXqZ7SxrlFN24fohnd7QgSm9obiBEb25h
Z2hlciA8am9obkB3ZWJ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