From:             jtjones at crimsonknight dot com
Operating system: Solaris 9
PHP version:      4.3.2
PHP Bug Type:     Compile Failure
Bug description:  APXS Failure

Description:
------------
Here is the lasted command that I have tried to use for configure: 
"./configure --with-apxs=/opt/csw/apache/bin/apxs
--enable-memory-limit=yes --enable-magic-quotes=yes --enable-libgcc
--with-mysql=/usr/local/mysql --enable-fastcgi
--with-zlib=/usr/include/zlib.h --with-bz2=/usr/local/bin/bzip2
--enable-bcmath --with-gd"  
When I run this configure fails with the error: 
"Sorry, I was not able to successfully run APXS." 

The possible causes that it lists are completely not a problem for me, I
have Perl installed, Apache is compiled with DSO support (in fact I have
several modules already loaded), and as you can see I specified the path
to APXS in the config command. 

I first thought that this might be an issue with my Apache install so I
re-installed it to the location it is at now.  This did not produce any
different results.  I have ran this config and several variations of it as
a regular user, su'ed and as root thinking that it might be a permissions
issue, still I get the same result.  

When I use this:
"--with-apxs=/opt/csw/apache/bin" I get the error that it cannot execute
/opt/csw/apache/bin.

Reproduce code:
---------------
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 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...

Sorry, I was not able to successfully run APXS.  Possible reasons:

Expected result:
----------------
Not sure, I expected it to say configure completed successfully. (???) 
Never had it configure completely yet.

Actual result:
--------------
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 /opt/csw/apache/bin/apxs follows
./configure: /opt/csw/apache/bin/apxs: not found
configure: error: Aborting

Perl is installed, Apache is compiled with DSO support, and I specified
the path in the configure command.

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

Reply via email to