PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » PEAR » PEAR » Bug #5227

sed expression error during install

Details

Submitted2005-08-29 08:19 UTC
Frompear at humbapa dot ch
StatusBogus
PackagePEAR
PHP Version5.1.0
OSLinux
Roadmaps(Not assigned)

Comments

[2005-08-29 08:19 UTC] pear at humbapa dot ch

Description:
------------
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.

PHP 5.1.0 RC1
PEAR-1.3.6
GNU sed version 4.1.2
Debian etch (testing) with Kenel 2.6.12.5

thanks!

Test script:
---------------
pear install fileinfo

Actual result:
--------------
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

[2005-09-05 13:14 UTC] pear at humbapa dot ch

the error was because I built PHP with an empty prefix (--prefix=)

rebuilding PHP with --prefix=/ solved the problem

thanks to Jani Taskinen and Derick Rethans from PECL-DEV