#20457 [NEW]: APACHE_VERSION variable in configure is nonsense

From: Date: Sat, 16 Nov 2002 17:45:38 +0000
Subject: #20457 [NEW]: APACHE_VERSION variable in configure is nonsense
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-25062@lists.php.net to get a copy of this message
From: jared@instacontent.com Operating system: Solaris 8 PHP version: 4.2.3 PHP Bug Type: Compile Failure Bug description: APACHE_VERSION variable in configure is nonsense Inside the sections for apxs and apxs2 (on lines 3326 and 3722) of the configure script, it tries to set a variable named APACHE_VERSION with the results of expr: APACHE_VERSION=expr $4 \* 1000000 + $5 \* 1000 + $6 This apparently assumes (prays?) that the user will have specified an Apache source directory after the first argument. Of course when I run: configure --with-apxs=/usr/local/apache2/bin/apxs ...as is recommended in the documentation, $4, $5, and $6 are set to 'usr', 'local', and 'apache2', which causes expr to fail. -- Edit bug report at http://bugs.php.net/?id=20457&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=20457&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=20457&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=20457&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=20457&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=20457&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=20457&r=support Expected behavior: http://bugs.php.net/fix.php?id=20457&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=20457&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=20457&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=20457&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20457&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=20457&r=dst IIS Stability: http://bugs.php.net/fix.php?id=20457&r=isapi

« previous php.bugs (#25062) next »