RE: apxs not found?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



The configure script is simply 

./configure --with-apxs2=/usr/sbin/apxs --with-lib64=lib64

I stripped it down to nearly no options to simplify trouble shooting.

And yes, I have the Fedora supplied httpd and httpd-devel packages installed
via yum.

Thanks!


-----Original Message-----
From: Keith Roberts [mailto:keith@xxxxxxxxxxxx] 
Sent: Thursday, February 21, 2008 3:07 PM
To: Chip Burke
Subject: Re:  apxs not found?

On Thu, 21 Feb 2008, Chip Burke wrote:

> To: php-install@xxxxxxxxxxxxx
> From: Chip Burke <cburke@xxxxxxxxxxxxxxxxxxx>
> Subject:  apxs not found?
> 
> I am trying to build PHP 5.2.5 on Fedora 8. The error I am getting is
>
> 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/sbin/apxs follows: cannot open 
> /httpd/build/config_vars.mk: No such file or directory at 
> /usr/sbin/apxs line 201. configure: error: Aborting
>
> apxs is indeed installed at the location I specified in 
> the configure script. However, when I try to run apxs 
> manually, I get that same error.
>
> cannot open /httpd/build/config_vars.mk: No such file or 
> directory at /usr/sbin/apxs line 201.
>
> This is on Apache 2.2.8 and Perl 5.8.8.
>
> Any ideas?

What are your PHP configure script parameters?

Are you compiling PHP against the Fedora supplied httpd, or 
one you compiled yourself?

Keith Roberts

-----------------------------------------------------------------
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-----------------------------------------------------------------


[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux