php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18748 Can't compile PHP with apxs
Submitted: 2002-08-05 18:55 UTC Modified: 2002-08-05 19:23 UTC
From: luiz at cation dot com dot br Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.1.2 OS: Linux Slackware 8.0
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: luiz at cation dot com dot br
New email:
PHP Version: OS:

 

 [2002-08-05 18:55 UTC] luiz at cation dot com dot br
Hi,
I'm trying to compile PHP 4.1.2 with the following:
root@localhost:/home/luiz/php-4.1.2# ./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql=/usr/local --enable-sockets --enable-track-vars --with-gd=../gd-1.8.4

My Apache is 1.3.23, the configure returns this message:

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 /usr/local/apache/bin/apxs follows
Usage: apxs -g [-S <var>=<val>] -n <modname>
       apxs -q [-S <var>=<val>] <query> ...
       apxs -c [-S <var>=<val>] [-o <dsofile>] [-D <name>[=<value>]]
               [-I <incdir>] [-L <libdir>] [-l <libname>] [-Wc,<flags>]
               [-Wl,<flags>] <files> ...
       apxs -i [-S <var>=<val>] [-a] [-A] [-n <modname>] <dsofile> ...
       apxs -e [-S <var>=<val>] [-a] [-A] [-n <modname>] <dsofile> ...
configure: error: Aborting
root@localhost:/home/luiz/php-4.1.2# 

I guess that the configure command is trying to use apxs by a irregular way, because i typed the correctly path to apxs in the command.

I tried the 4.2.2 PHP's version too, i have the same error message. And the 1.3.26 Apache's version...

Waiting for replys,
Luiz Gustavo Cardoso Ribeiro

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-08-05 19:23 UTC] sniper@php.net
Sorry, but the bug system is not the appropriate forum for asking
support questions. Your problem does not imply a bug in PHP itself.
For a list of more appropriate places to ask for help using PHP,
please visit http://www.php.net/support.php

Thank you for your interest in PHP.


 [2002-08-05 20:25 UTC] pirocao at designers dot com dot br
venox sua bixa nao tem como resolver esse problema ehauioheaiuheoiuhaohiuhuaehiueahiuehiuhaeiuaehiuhaeiuhhiuaehiuaehiuhiehiueahiuea
Tente xupar a piroca do kbsa
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 11:00:02 2026 UTC