Hi,
I'm getting errors when trying to install PHP 4.2.1 on Solaris 2.8 with as
a Dynamic module and as a Static module.
The error for the Static Module creation is:
configure: error: Invalid Apache directory - unable to find httpd.h under
/usr/l
ocal/apache/include
The thing is, it does exist and in that directory. The reason I tried
Static module creation was
because Dynamic module creation failed.
The error for the Dynamic Module creation is:
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. Try to use --with-apxs=/path/to/apxs
The output of /usr/local/apache/bin follows
./configure: /usr/local/apache/bin: cannot execute
configure: error: Aborting
I have Perl 5.6.1 installed and listed in my $PATH.
Here's how I had previously installed Apache 1.3.24:
./configure \
"--with-layout=Apache" \
"--prefix=/usr/local/apache" \
"--enable-module=most" \
"--enable-shared=max" \
"--with-perl=/usr/local/bin" \
"--verbose" \
I thought module=most implied module=so? If not, then when can I do to get
around this
since Apache which was configured, does run without as production without
incident.
And the apxs module does exist and in the path specified.
21979 May 3 14:54 apxs
I also have MySQL 3.23.49 installed and have used it without incident.
Here's what the ./configure results look for the Static Module attempt:
./configure --with-mysql --with-apache=/usr/local/apache/include
creating cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking host system type... sparc-sun-solaris2.8
checking for a BSD compatible install... ./install-sh -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
checking how to run the C preprocessor... cc -E
checking for AIX... no
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... 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... cc -E
checking whether compiler supports -R... 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.28 (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 working const... yes
checking for pthreads_cflags... -pthreads
checking for pthreads_lib...
Configuring SAPI modules
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
configure: error: Invalid Apache directory - unable to find httpd.h under
/usr/l
ocal/apache/include
Here's what the ./configure results look like for the Dynamic Module
creation attempt:
./configure --with-mysql --with-apxs=/usr/local/apache/bin
creating cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking host system type... sparc-sun-solaris2.8
checking for a BSD compatible install... ./install-sh -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
checking how to run the C preprocessor... cc -E
checking for AIX... no
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... 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... cc -E
checking whether compiler supports -R... 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.28 (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 working const... yes
checking for pthreads_cflags... -pthreads
checking for pthreads_lib...
Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS...
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. Try to use --with-apxs=/path/to/apxs
The output of /usr/local/apache/bin follows
./configure: /usr/local/apache/bin: cannot execute
configure: error: Aborting
Any help is appreciated, thanks.
Nelson
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php