Re: PHP 4.2.0 won't configure for Apache2
| From: | Stephan Wuelfert | Date: | Thu, 02 May 2002 06:57:35 +0000 |
| Subject: | Re: PHP 4.2.0 won't configure for Apache2 | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-6812@lists.php.net to get a copy of this message | ||
Hi Dylan Fitzgerald,
maybe you encountered the same bug as I. Look here:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8453
Dylan Fitzgerald wrote:
> Hello...
>
> This seems rather strange. Apache is configured to meet all specs
> for the PHP DSO (./configure'd with --enable-so), yet when I ./configure
> PHP 4.2.0, I get the following output:
>
> Output of ./configure --with-apxs2 --enable-tracking-vars
> --enable-magic-quotes --with-mysql:
>
> checking build system type... i686-pc-linux-gnu
> checking host system type... i686-pc-linux-gnu
> checking for a BSD compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for gawk... gawk
> checking whether make sets ${MAKE}... yes
> checking whether to enable maintainer-specific portions of Makefiles... no
> Updated php_version.h
> checking for style of include used by make... GNU
> checking for gcc... gcc
> checking for C compiler default output... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for executable suffix...
> checking for object suffix... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking dependency style of gcc... none
> checking how to run the C preprocessor... gcc -E
> checking for AIX... no
> checking for gcc... (cached) gcc
> checking whether we are using the GNU C compiler... (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking dependency style of gcc... (cached) none
> checking whether gcc and cc understand -c and -o together... yes
> checking for gcc option to accept ANSI C... none needed
> checking how to run the C preprocessor... gcc -E
> checking whether compiler supports -R... no
> checking whether compiler supports -Wl,-rpath,... yes
> checking for ranlib... ranlib
> checking whether ln -s works... yes
> checking for gawk... (cached) gawk
> checking for bison... bison -y
> checking bison version... 1.35 (ok)
> checking for flex... flex
> checking for yywrap in -lfl... yes
> checking lex output file root... lex.yy
> checking whether yytext is a pointer... yes
> checking for gcc option to accept ANSI C... none needed
> checking for an ANSI C-conforming const... yes
> checking for pthreads_cflags... -pthread
> checking for pthreads_lib...
>
> [1mConfiguring SAPI modules[m
> checking for AOLserver support... no
> checking for Apache 1.x module support via DSO through APXS... no
> checking for Apache 1.x module support... no
> checking for mod_charset compatibility option... no
> checking for Apache 2.0 module support via DSO through APXS...
>
> Sorry, I cannot run apxs. Possible reasons follow:
>
> 1. Perl is not installed
> 2. apxs was not found. Try to pass the path using
> --with-apxs2=/path/to/apxs 3. Apache was not built using --enable-so (the
> apxs usage page is displayed)
>
> The output of /usr/sbin/apxs follows:
> 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: Aborting
>
> I get this same error when I specify the path of axps, and even when I
> use --with-axps instead of --with-axps2. Perl is most certainly
> installed, so that eliminates all three possibilities...
>
> I'm truly and utterly puzzled. The Apache version is 2.0.35; any help
> would be greatly appreciated.
>
> Many thanks in advance.