#39835 [NEW]: Configure script fails with expr: syntax error
| From: | cheetah at tanabi dot org | Date: | Thu, 14 Dec 2006 22:05:55 +0000 |
| Subject: | #39835 [NEW]: Configure script fails with expr: syntax error | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-106364@lists.php.net to get a copy of this message | ||
From: cheetah at tanabi dot org
Operating system: Solaris 10
PHP version: 5.2.0
PHP Bug Type: *Compile Issues
Bug description: Configure script fails with expr: syntax error
Description:
------------
Two notes; I have tried this on two separate Solaris 10 machines and I get
this exact same error on both. On both machines, past versions of PHP have
successfully compiled -- namely PHP 5.1.6 and a few earlier ones as well.
Not doing anything particularly special here other than a 64 bit build (we
use a large memory application with this) WHICH worked perfectly fine with
5.1.6... The flags to build 64 bit are in CFLAGS and LDFLAGS, namely
-mcpu=ultrasparc -m64 here's what happens:
./configure --prefix=/usr/local/64 --enable-sysvmsg --enable-sysvsem
--enable-sysvshm --enable-sockets --with-pgsql=/usr/local/64/pgsql
--with-pdo-pgsql=/usr/local/64/pgsql --with-libxml-dir=/usr/local/64
--enable-ftp --without-iconv
loading cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for egrep... egrep
checking for a sed that does not truncate output... /usr/local/bin/sed
expr: syntax error
./configure: test: argument expected
'expr' shows up only about 60 billion times in the file, and I have been
unable to reasonably isolate which one is actually failing. Too bad shell
scripts aren't nice enough to provide a line number! :) I'm hoping someone
can help me out here, and appologies if this has already been reported -- I
did search the bug DB for quite awhile before posting :)
Thanks!
Reproduce code:
---------------
N/A
Expected result:
----------------
N/A
Actual result:
--------------
N/A
--
Edit bug report at http://bugs.php.net/?id=39835&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=39835&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=39835&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=39835&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=39835&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=39835&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=39835&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=39835&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=39835&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=39835&r=support
Expected behavior: http://bugs.php.net/fix.php?id=39835&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=39835&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=39835&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=39835&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=39835&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=39835&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=39835&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=39835&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=39835&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=39835&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=39835&r=mysqlcfg