php 4.4.7 configure run causes syntax errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I recently upgraded our php from 4.4.0 to 4.4.7.
When I run configure from the command line with
several options, I get the following errors at
the beginning of the script run:

-----
creating cache ./config.cache
checking for egrep... grep -E
checking for a sed that does not truncate output... /usr/bin/sed
expr: syntax error
./configure[1732]: test: 0: unexpected operator/operand
expr: syntax error
./configure[1747]: test: 0: unexpected operator/operand
expr: syntax error
./configure[1747]: test: 0: unexpected operator/operand
-----

The first error is always on line 1732.  All the rest are
on 1747.  There is about one error for each option on
the command line.  It ends like this:

-----
expr: syntax error
./configure[1747]: test: 0: unexpected operator/operand
expr: syntax error
./configure[1747]: test: 0: unexpected operator/operand
checking host system type... i386-unknown-openbsd3.6
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
-----

It continues and completes without errors.
Is this something I need to worry about?

Here is the actual command I have been using recently:

-----
./configure \
 --prefix=/usr/local/php4 \
 --with-apxs=/usr/sbin/apxs \
 --enable-debug \
 --disable-cgi \
 --enable-force-cgi-redirect \
 --enable-discard-path \
 --enable-safe-mode \
 --disable-short-tags \
 --disable-ipv6 \
 --enable-magic-quotes \
 --with-openssl \
 --with-pcre-regex \
 --with-curl \
 --with-curlwrappers \
 --with-mcrypt \
 --enable-session \
 --with-mysql=/usr/local \
 --with-mysql-sock=/var/www/var/run/mysql/mysql.sock
-----

I am running on OpenBSD 3.6.  Please let me know
if you need any additional information.

Thanks in advance for any pointers you can provide.

JohnM

--
john mendenhall
john@xxxxxxxxxxxxxx
surf utopia
internet services

[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux