php 4.4.7 configure run causes syntax errors
| From: | John Mendenhall | Date: | Fri, 10 Aug 2007 18:08:59 +0000 |
| Subject: | php 4.4.7 configure run causes syntax errors | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-260631@lists.php.net to get a copy of this message | ||
I sent this to the php-install list. However, with
no response, I knew there would be more eyes looking
at it here. Hopefully, someone can send me a pointer
on how to resolve this issue, if it is one.
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@surfutopia.net
surf utopia
internet services