heads up: change in PEAR installer affects pecl

From: Date: Thu, 17 Jan 2008 05:47:37 +0000
Subject: heads up: change in PEAR installer affects pecl
Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-5081@lists.php.net to get a copy of this message
Hi all, First off, I noticed today that package version replacements were not being processed for role=src in package.xml, and set out to fix it. This resulted in some clever changes to temporarily install source files and remove them at the conclusion. Unfortunately, a few older pecl packages (bz2, I'm looking at you) use the role="doc" role for header files that should be installed. This is the wrong way to do things, but it worked because until today, pecl built source files in the original package directory, so file role didn't really matter. As such, I've decided to only make this change with newer pecl packages based on package.xml 2.0+. So, if you have a package.xml version 2.0, make sure you're using role="src" for ALL source files (.h, .c, .m4, whatever) or the package will fail to build with PEAR 1.7.0, which I will be releasing relatively soon. I am happy to help with fixing this, but all package authors should at least check their latest release and put out a new one with this fixed if it is broken. Incidentally, I may want to add a new file role, something like "header" that can be used to specify headers that should be installed and it would eliminate the need for Makefile.frag. In addition, PEAR2's installer Pyrus will have much better support for pecl. I plan to have a build directory that source files are stored in, so that you can inspect a failed build and possibly fix it by hand - this should greatly aid those who wish to debug a broken build. Thanks, Greg

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