php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15710 Configure complains about unterminated sed s commands
Submitted: 2002-02-25 06:27 UTC Modified: 2002-02-25 07:50 UTC
From: Bruno at ac-grenoble dot fr Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.1.1 OS: Linux RedHat 7.2 up to date
Private report: No CVE-ID: None
 [2002-02-25 06:27 UTC] Bruno at ac-grenoble dot fr
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?

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-02-25 06:39 UTC] Bruno at ac-grenoble dot fr
Sorry, I had a backslash wich had nothing to do there from a bad cut/paste... Very sorry
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Sep 27 23:01:26 2024 UTC