From:             [EMAIL PROTECTED]
Operating system: Linux RedHat 7.2 up to date
PHP version:      4.1.1
PHP Bug Type:     Compile Failure
Bug description:  Configure complains about unterminated sed s commands

I just installed a Linux RedHat 7.2 and applied all updates. I wanted to
compile PHP 4.1.1 and apache 1.3.23, but:

./configure --with-apache=/usr/local/src/apache_1.3.23 \ --with-ldap
--with-mcrypt=/usr/local/libmcrypt --with-pgsql --with-gd
--enable-safe-mode --with-exec-dir
--with-config-file-path=/usr/local/php/etc --with-zlib --with-ttf

abstract of the output:
Generating files
checking for working mkdir -p... yes
creating config_vars.mk
updating cache ./config.cache
creating ./config.status
creating php4.spec
sed: file conftest.s1 line 40: Unterminated `s' command
sed: file conftest.s2 line 7: Unterminated `s' command
creating Zend/Makefile
sed: file conftest.s1 line 40: Unterminated `s' command
sed: file conftest.s2 line 7: Unterminated `s' command
creating main/build-defs.h
sed: file conftest.s1 line 40: Unterminated `s' command
sed: file conftest.s2 line 7: Unterminated `s' command
creating pear/scripts/pear
sed: file conftest.s1 line 40: Unterminated `s' command
sed: file conftest.s2 line 7: Unterminated `s' command
creating pear/scripts/phpize
sed: file conftest.s2 line 7: Unterminated `s' command
sed: file conftest.s1 line 40: Unterminated `s' command
creating pear/scripts/php-config
sed: file conftest.s1 line 40: Unterminated `s' command
sed: file conftest.s2 line 7: Unterminated `s' command
creating pear/scripts/pearize
sed: file conftest.s1 line 40: Unterminated `s' command
sed: file conftest.s2 line 7: Unterminated `s' command
creating pear/scripts/phptar
sed: file conftest.s1 line 40: Unterminated `s' command
sed: file conftest.s2 line 7: Unterminated `s' command
creating TSRM/Makefile
sed: file conftest.s1 line 40: Unterminated `s' command
sed: file conftest.s2 line 7: Unterminated `s' command
creating sapi/apache/libphp4.module
sed: file conftest.s1 line 40: Unterminated `s' command
sed: file conftest.s2 line 7: Unterminated `s' command
creating main/php_config.h

And configure continues without failing. But generated Makefiles are empty
and compilation is impossible.
Same problem with php 4.1.0.
I tried 4.0.6 and I had another problem:

ltconfig: too many arguments
Try `ltconfig --help' for more information.
configure: error: libtool configure failed

Is it impossible to compile PHP on a RedHat 7.2 box?
-- 
Edit bug report at http://bugs.php.net/?id=15710&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=15710&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=15710&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=15710&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=15710&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=15710&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=15710&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=15710&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=15710&r=submittedtwice

Reply via email to