php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #41576 no way to configure --without-apxs
Submitted: 2007-06-03 14:50 UTC Modified: 2007-06-03 20:28 UTC
From: seanius at debian dot org Assigned: sniper (profile)
Status: Closed Package: Compile Failure
PHP Version: 5.2.3 OS: debian gnu/linux
Private report: No CVE-ID: None
 [2007-06-03 14:50 UTC] seanius at debian dot org
Description:
------------
if you run ./configure --without-apxs, you get the following error:

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 /home/sean/debian/tarballs/php-5.2.3/no follows
./configure: line 4396: /home/sean/debian/tarballs/php-5.2.3/no: No such file or directory
configure: error: Aborting


Reproduce code:
---------------
./configure --without-apxs

Expected result:
----------------
disable automatic detection checks for apache1.x apxs

Actual result:
--------------
it still checks for apxs, and ./configure fails.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-06-03 16:57 UTC] sniper@php.net
You're propably the first ever to even use --without-apxs. Most of PHP's configure options are not used when you don't pass them to configure.
ie. WHY would you pass that? --with-apxs is not default option..

 [2007-06-03 19:01 UTC] seanius at debian dot org
heya,

aha... i didn't realize that it wasn't on by default, all i saw was that it always prints the "checking for foo" during ./configure, and assumed it actually was doing this (as opposed to "checking for whether to check for").

so then i guess that lowers the need for a fix for this to a "on the principle of things" level :)

btw, some background, so you don't think i'm just some crazy corner-case finding nut: apache 1.x is being phased out of debian unstable, so i want to make sure that the php packages build without any apache 1.x related stuff in the build, in case the 1.x packages introduce some breakage on their way out.  but i guess i get this by default.
 [2007-06-03 20:28 UTC] sniper@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 07:01:29 2024 UTC