#18748 [NEW]: Can't compile PHP with apxs

From: Date: Mon, 05 Aug 2002 22:55:26 +0000
Subject: #18748 [NEW]: Can't compile PHP with apxs
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-16035@lists.php.net to get a copy of this message
From: luiz@cation.com.br Operating system: Linux Slackware 8.0 PHP version: 4.1.2 PHP Bug Type: Compile Failure Bug description: Can't compile PHP with apxs 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 bug report at http://bugs.php.net/?id=18748&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=18748&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=18748&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=18748&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=18748&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=18748&r=support Expected behavior: http://bugs.php.net/fix.php?id=18748&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=18748&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=18748&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=18748&r=globals

« previous php.bugs (#16035) next »