Re: sed expression error during install

From: Date: Mon, 05 Sep 2005 12:35:18 +0000
Subject: Re: sed expression error during install
References: 1  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-2864@lists.php.net to get a copy of this message
I tried it with GNU sed 3.02 and 4.1.4 and still got the same error after a look at phpize I think the error occurs in the function phpize_replace_prefix() { sed \ -e "s##$prefix#" \ < "$phpdir/phpize.m4" > configure.in } $phpdir is /lib/php/build $prefix is empty because I built php with --prefix= runnig this line on a shell gives the same error message: sed -e "s###" < /lib/php/build/phpize.m4 > configure.in sed: -e expression #1, char 0: no previous regular expression is this because I built php with an empty prefix? Zitat von Martin Luethi <pecl@humbapa.ch>:
when I try to build a PECL package I got an error message from sed during installation and building of the package fails. it doesn't matter which package I try. e.g.: pear install fileinfo downloading Fileinfo-1.0.tgz ... Starting to download Fileinfo-1.0.tgz (5,566 bytes) .....done: 5,566 bytes 3 source files, building running: phpize Configuring for:
PHP Api Version:         20041225
Zend Module Api No:      20050617
Zend Extension Api No: 220050617 sed: -e expression #1, char 0: no previous regular expression building in /var/tmp/pear-build-root/Fileinfo-1.0 running: /tmp/tmpl9S0KS/Fileinfo-1.0/configure running: make make: *** No targets specified and no makefile found. Stop. `make' failed I'm using: PHP 5.1.0 RC1 PEAR-1.3.6 GNU sed version 4.1.2 Debian etch (testing) with Kenel 2.6.12.5


« previous php.pecl.dev (#2864) next »