From:             martinkuria at hotmail dot com
Operating system: Solaris9
PHP version:      5.0.0
PHP Bug Type:     *Compile Issues
Bug description:  PHP  cannot run apxs

Description:
------------
I am trying to install php5.0.0, I have already installed apache-2.0.48,
but when I try to compile php am getting the error below please do advice
what can be wrong:

Perl is already also installed
I have given the correct path to apxs /usr/local/apache-2.0.48/apxs 
And my apache is build using --enable-so:

What could be the problem??

Perl is already also installed
I have given the correct path to apxs /usr/local/apache-2.0.48/apxs 
And my apache is build using --enable-so:

What could be the problem??



Reproduce code:
---------------
#:local/php-5.0.0>./configure
--with-apxs2=/usr/local/apache-2.0.48/bin/apxs
loading cache ./config.cache
checking host system type... sparc-sun-solaris2.9
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 if compiler supports -R... yes
checking for re2c... exit 0;
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.875 (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 flex version... 2.5.4 (ok)
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
checking for member fd in BUFF *... no
checking for mod_charset compatibility option... no
checking for Apache 2.0 filter-module support via DSO through APXS... no
checking for Apache 2.0 handler-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/local/apache-2.0.48/bin/apxs follows:
ld.so.1: /usr/local/apache-2.0.48/bin/httpd: fatal: libdb-4.1.so: open
failed: No such file or directory
Killed
apxs:Error: Sorry, no shared object support for Apache.
apxs:Error: available under your platform. Make sure.
apxs:Error: the Apache module mod_so is compiled into.
apxs:Error: your server binary `/usr/local/apache-2.0.48/bin/httpd'..
configure: error: Aborting
#:local/php-5.0.0>


-- 
Edit bug report at http://bugs.php.net/?id=29506&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=29506&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=29506&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=29506&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=29506&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=29506&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=29506&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=29506&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=29506&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=29506&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=29506&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=29506&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=29506&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29506&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=29506&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=29506&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=29506&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=29506&r=float

Reply via email to