I am trying to configure PHP to run as a module for apache 1.3.6 on Solaris 2.6. I have module support in http (see output from httpd -l below) and apsx is in /u01/local/apache/bin/apxs, which I'm using in the configure options. perl is version 5.6.1
Any help or ideas anyone has would be really appreciated. The output from configure is below along with version outputs from httpd etc.
Cheers
Alan
./configure --with-mysql=/u01/local/mysql --with-aspx=/u01/local/apache/bin/apxs --enable-track-vars
loading cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking host system type... sparc-sun-solaris2.6
checking for a BSD compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... missing
checking whether to enable maintainer-specific portions of Makefiles... 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 whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking for gcc option to accept ANSI C... none needed
checking whether compiler supports -R... yes
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for mawk... no
checking for gawk... no
checking for nawk... nawk
checking for bison... bison -y
checking bison version... 1.35 (ok)
checking for flex... flex
checking for yywrap in -lfl... no
checking lex output file root... lex.yy
checking whether yytext is a pointer... no
checking for working const... yes
checking for pthreads_cflags...
checking for pthreads_lib... pthread
[1mConfiguring SAPI modules[m
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:
- Perl is not installed;
- Apache was not compiled with DSO support (--enable-module=so);
- 'apxs' is not in your path. Try to use --with-apxs=/path/to/apxs
The output of /u01/local/apache/bin/apxs follows
./configure: /u01/local/apache/bin/apxs: not found
configure: error: Aborting
perl -v
This is perl, v5.6.1 built for sun4-solaris
Copyright 1987-2001, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using man perl' orperldoc perl'. If you have access to the
Internet, point your browser at http://www.perl.com/, the Perl Home Page.
http d -v
Server version: Apache/1.3.6 (Unix)
Server built: Mar 23 1999 22:52:11
httpd -l
Compiled-in modules:
http_core.c
mod_so.c
pwd
/u01/local/php-4.2.3
ls ../apache
bin cgi-bin conf htdocs icons include libexec logs man proxy
ls -l ../apache/bin/apxs
-rwxr-xr-x 1 root other 19230 Sep 7 2000 ../apache/bin/apxs
ls -l /u01/local/apache/bin/apxs
-rwxr-xr-x 1 root other 19230 Sep 7 2000 ../apache/bin/apxs