Cant configure php4 from within shell script
| From: | Scott Brown | Date: | Sun, 18 Mar 2001 02:41:05 +0000 |
| Subject: | Cant configure php4 from within shell script | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-44421@lists.php.net to get a copy of this message | ||
OK - this one really is stumping me.
I have a shell script that I'm running through bash on my linux server....
it includes:
./configure \
--with-apache=../apache_1.3.17 \
--with-gd \
--with-mysql \
--with-gdbm \
--with-mhash \
--enable-safe-mode \
--enable-magic-quotes \
--enable-apc \
--enable-ftp \
--enable-debug=no \
--enable-memory-limit=yes \
--enable-xml \
--enable-track-vars
When I run it as part of the script, I get this:
checking for working makeinfo... found
Updated php_version.h
checking whether to enable maintainer-specific portions of Makefiles... no
checking host system type... Configuration name missing.
Usage: ./config.sub CPU-MFR-OPSYS
or ./config.sub ALIAS
where ALIAS is a recognized configuration type.
checking for gawk... gawk
checking for bison... bison -y
checking bison version... 1.25 (ok)
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
but when I run the same (cut and pasted from the shell script)
./configuration... command I get:
checking for working makeinfo... found
Updated php_version.h
checking whether to enable maintainer-specific portions of Makefiles... no
checking host system type... i686-pc-linux-gnu
checking for gawk... gawk
checking for bison... bison -y
checking bison version... 1.25 (ok)
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
What gives?
System is Linux 5.2 (Linux version 2.0.36 ), bash version is GNU bash,
version 1.14.7(1)