#18748 [Opn->Bgs]: Can't compile PHP with apxs
| From: | sniper@php.net | Date: | Mon, 05 Aug 2002 23:23:35 +0000 |
| Subject: | #18748 [Opn->Bgs]: Can't compile PHP with apxs | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-16039@lists.php.net to get a copy of this message | ||
ID: 18748
Updated by: sniper@php.net
Reported By: luiz@cation.com.br
-Status: Open
+Status: Bogus
Bug Type: Compile Failure
Operating System: Linux Slackware 8.0
PHP Version: 4.1.2
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2002-08-05 18:55:25] luiz@cation.com.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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18748&edit=1