For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > August 2007 > php 4.4.7 configure run causes syntax errors









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author php 4.4.7 configure run causes syntax errors
John Mendenhall

2007-08-08, 7:02 pm

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
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com