From: jpbarrette at savoirfairelinux dot net Operating system: Mandrake linux 10.0 (Community) PHP version: 5.0.0 PHP Bug Type: Compile Failure Bug description: Error in checking APXS versionn
Description: ------------ When I run the configure script with these options: './configure' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--enable-discard-path' '--disable-force-cgi-redirect' '--enable-shared' '--disable-static' '--disable-debug' '--disable-rpath' '--enable-pic' '--enable-inline-optimization' '--enable-memory-limit' '--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php' '--with-pear=/usr/share/pear' '--enable-magic-quotes' '--enable-debugger' '--enable-track-vars' '--with-exec-dir=/usr/bin' '--with-versioning' '--with-mod_charset' '--with-regex=php' '--enable-track-vars' '--enable-trans-sid' '--enable-safe-mode' '--enable-ctype' '--enable-ftp' '--with-gettext=/usr' '--enable-posix' '--enable-session' '--enable-sysvsem' '--enable-sysvshm' '--enable-yp' '--with-openssl=/usr' '--without-kerberos' '--with-ttf' '--with-freetype-dir=/usr' '--with-zlib=/usr' '--with-zlib=/usr' '--with-zlib-dir=/usr' '--without-pear' '--with-apxs=/usr/sbin/apxs' I got this error: checking for Apache 1.x module support via DSO through APXS... expr: non-numeric argument ./configure: line 3169: test: : integer expression expected The only way I could resolve this is remove the version test on the lines next to line 3169 and this line too. It work fine after that. -- Edit bug report at http://bugs.php.net/?id=29616&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29616&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=29616&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=29616&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=29616&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=29616&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=29616&r=needscript Try newer version: http://bugs.php.net/fix.php?id=29616&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=29616&r=support Expected behavior: http://bugs.php.net/fix.php?id=29616&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=29616&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=29616&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=29616&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29616&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=29616&r=dst IIS Stability: http://bugs.php.net/fix.php?id=29616&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=29616&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=29616&r=float