#19780 [Fbk->Csd]: APXS returns 1 on usage info

From: Date: Mon, 07 Oct 2002 23:44:11 +0000
Subject: #19780 [Fbk->Csd]: APXS returns 1 on usage info
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-21760@lists.php.net to get a copy of this message
ID: 19780 User updated by: pentanitrogen@yahoo.com Reported By: pentanitrogen@yahoo.com -Status: Feedback +Status: Closed Bug Type: Apache2 related Operating System: Linux 2.4.19 PHP Version: 4.2.3 New Comment: I don't know what happened...I just tried this again and it worked..Closing, probably user error :( Previous Comments: ------------------------------------------------------------------------ [2002-10-07 18:33:59] sniper@php.net I doubt this to be any bug in PHP..what error message do you get with PHP configure? (you're the first to report something like this) Also, try running 'apxs -h' and see if you get any errors. ------------------------------------------------------------------------ [2002-10-07 12:53:29] pentanitrogen@yahoo.com Apache 2.0.43 (the newest release) ./configure --with-gd --with-xml --with-mysql --with-gettext --with-mcrypt --with-imap --enable-ftp --with-openssl --with-apxs2=/apache2/bin/apxs ------------------------------------------------------------------------ [2002-10-07 12:46:00] sniper@php.net Huh? What apache2 version? And what configure line was used? ------------------------------------------------------------------------ [2002-10-06 11:16:23] pentanitrogen@yahoo.com When the ./configure script checks for apxs(2), it sees if the script returns 0 for it's return value; however, apxs for apache2 returns 1 for usage info...look at this code snippet: sub usage { print STDERR "Usage: apxs -g [-S <var>=<val>] -n <modname>\n"; [...] exit(1); } This causes ./configure to stop when compiling with Apache2 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19780&edit=1

« previous php.bugs (#21760) next »