ID: 12607
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Analyzed
Bug Type: *Configuration Issues
Operating System: NetBSD/Alpha 1.5W
PHP Version: 4.0CVS-2001-08-06
New Comment:
i just deinstalled autoconf-2.52 and installed an earlier version: autoconf-2.13, but
the same error about redirection persist (using php-cvs from today).
# ./cvsclean
# ./buildconf
buildconf: checking installation...
buildconf: autoconf version 2.13 (ok)
buildconf: automake version 1.4 (ok)
buildconf: libtool version 1.4a (ok)
rebuilding Makefile templates
automake: configure.in: installing `Zend/ylwrap'
rebuilding configure
rebuilding acconfig.h
rebuilding main/php_config.h.in
---
...
checking for Hyperwave support... no
checking for ICAP support... no
checking for iconv support... no
./configure: 23512: Syntax error: redirection unexpected
---
line 23512 from configure is marked with ***:
if test "$PHP_ICONV" != "no"; then
*** for i in /usr /usr/local $PHP_ICONV; do
test -r $i/include/iconv.h && ICONV_DIR=$i
done
if test -z "$ICONV_DIR"; then
{ echo "configure: error: Please reinstall the iconv library." 1>&2; exit 1; }
fi
<<<<<<< config.m4
---
therefore i can conclude that' it's not autoconf's fault. something else is happening
here. could it be an error in an earlier line prior to 23512 which caused this error?
Previous Comments:
------------------------------------------------------------------------
[2001-08-12 18:53:02] [EMAIL PROTECTED]
reclassified.
------------------------------------------------------------------------
[2001-08-08 00:16:06] [EMAIL PROTECTED]
# echo $SHELL
/bin/sh
# ls -la /bin | grep sh
-r-xr-xr-x 1 root wheel 611736 Jul 19 16:47 csh
-r-xr-xr-x 1 root wheel 665872 Jul 19 16:47 ksh
-r-xr-xr-x 1 root wheel 701576 Jul 19 16:48 sh
------------------------------------------------------------------------
[2001-08-07 21:07:06] [EMAIL PROTECTED]
What is your default shell? ie. where does /bin/sh point?
--Jani
------------------------------------------------------------------------
[2001-08-07 20:29:29] [EMAIL PROTECTED]
I'm sure there isn't any old remains of previous versions of gd. I'm using gd-1.8.3.
FYI, php-4.0.5 and php-4.0.6 compiles fine with my gd installation. This only happens
in the current CVS.
gd was build with these features:
zlib, freetype-lib, jpeg, png, xpm
Line 23508 from configure (marked with ***):
if test "$PHP_ICONV" != "no"; then
*** for i in /usr /usr/local $PHP_ICONV; do
test -r $i/include/iconv.h && ICONV_DIR=$i
done
if test -z "$ICONV_DIR"; then
{ echo "configure: error: Please reinstall the iconv library." 1>&2; exit 1; }
fi
<<<<<<< config.m4
------------------------------------------------------------------------
[2001-08-07 02:47:46] [EMAIL PROTECTED]
Are you sure you don't have some old GD library remains
in your system, like old .h files from previous version?
With which GD library version are you trying this with?
With which capabilities was it compiled with?
What is on line 23508 in your configure file?
(And that last configure option to enable some 'hack' does
not exist anymore.. :)
--Jani
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/?id=12607
Edit this bug report at http://bugs.php.net/?id=12607&edit=1
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]