php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #45243 "configure" script fails with apxs2
Submitted: 2008-06-12 06:17 UTC Modified: 2020-11-29 04:22 UTC
Votes:3
Avg. Score:4.0 ± 0.8
Reproduced:3 of 3 (100.0%)
Same Version:2 (66.7%)
Same OS:2 (66.7%)
From: talltony at breakthru dot com Assigned: cmb (profile)
Status: No Feedback Package: *Configuration Issues
PHP Version: 5.2.6 OS: AIX 5.3
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2008-06-12 06:17 UTC] talltony at breakthru dot com
Description:
------------
I'm trying to compile PHP 5.2.6 on AIX 5.3 with IBM HTTP Server (which is basically Apache/2.0.47).

When I run the supplied configure script as follows, I get the error below:
> ./configure --with-apxs2=/usr/ihs/bin/apxs
.
.
.
with_apxs2=/usr/ihs/bin/apxs
withval=/usr/ihs/bin/apxs
x_includes=NONE
x_libraries=NONE
expr: syntax error
configure: error: You have enabled Apache 2 support while your server is Apache 1.3.  Please use the appropiate switch --with-apxs (without the 2)

Basically, there seems to be a error in line 6707 where the script tries this:
APACHE_VERSION=`expr $4 \* 1000000 + $5 \* 1000 + $6`
($4, $5 and $6 have no values.)

I have tried using autoconfig to generate a new configuration file and which seems to work. However, when I try ' buildconf --force' it fails so I'm not comfortable using my version of configure in case buldconf performs any other magic.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-12-31 00:22 UTC] cmb@php.net
-Package: Feature/Change Request +Package: *Configuration Issues
 [2020-11-19 17:47 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2020-11-19 17:47 UTC] cmb@php.net
Is that still an issue with any of the actively supported PHP
versions[1]?

[1] <https://www.php.net/supported-versions.php>
 [2020-11-29 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sat Dec 05 09:01:23 2020 UTC