Re: installing extensions with pear installer

From: Date: Wed, 29 May 2002 12:54:52 +0000
Subject: Re: installing extensions with pear installer
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-6596@lists.php.net to get a copy of this message
On 29 May 2002, Stig S. Bakken wrote: > On Wed, 2002-05-29 at 10:14, Christian Stocker wrote: > > hi > > > > just saw that it now should possible to install c-extensions with the > > pear-installer (pear build). Great :) But I have some problems with the > > package.xml. It looks like there are 2 roles. ext and extsrc. What do i > > have to use for which files to get it working? Or is it still a very work > > in progress and everything will change anyway? (didn't look at the source > > code....) > > pear/PECL/xmms is a simple example that works with "pear build". oki. got it working. but pear install imagick-0.1.1.tgz installs all the sources in the system root (/), i think, there's something like src_dir missing in the config. Furthermore to build the extension, "pear build" needs the package.xml, which is not copied to the src-dir by default. Do i have package.xml to the filelist as <file role="src">package.xml</file> explicitly or is this a bug? Upload is also not possible right now, i get the following errors at http://pear.php.net/release-upload.php **** * file Makefile.in: invalid role, should be one of: php ext test doc data extsrc script * file config.m4: invalid role, should be one of: php ext test doc data extsrc script * file imagick.c: invalid role, should be one of: php ext test doc data extsrc script * file package.xml: invalid role, should be one of: php ext test doc data extsrc script * file php_imagick.h: invalid role, should be one of: php ext test doc data extsrc script **** And more of a feature request: pear build imagick-0.1.1.tgz does not work, i have to first install and then change to the source directory and then build it. Is this an intendend behaviour? otherwise great work, the whole installer looks very promising chregu -- christian stocker | bitflux GmbH | schöneggstrasse 5 | ch-8004 zurich phone +41 1 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71 http://www.bitflux.ch | chregu@bitflux.ch | gnupg-keyid 0x5CE1DECB

« previous php.pear.dev (#6596) next »