pecl and the pear installer
| From: | Michael Wallner | Date: | Mon, 25 Jul 2005 14:13:44 +0000 |
| Subject: | pecl and the pear installer | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-38873@lists.php.net to get a copy of this message | ||
Hi Greg and folks,
I tried to install the fresh pecl_http-0.10.0 through pear,
which oddly failed at a point of the package.xml which I was
quite used to use.
In this version I introduces PHP dependencies, and I usually
require one version while recommendin another one with the
following dependencies entry in package.xml:
<deps>
<dep type="php" rel="ge" version="4.3.1" optional="no"
/>
<dep type="php" rel="ge" version="5.0.4" optional="yes"
/>
</deps>
I wonder because I've many PEAR packages specifying such dependencies
and those worked well with PEAR-1.4 as far as I can tell.
s1-iw:~# pear -V
PEAR Version: 1.4.0a12
PHP Version: 4.3.10-15
s1-iw:~# peardev upgrade HTTP_Download
WARNING: channel "pear.php.net" has updated its protocols, use "channel-update
pear.php.net" to update
Did not download dependencies: pear/HTTP_Header, pear/Archive_Zip, use --alldeps or --onlyreqdeps to
download automatically
pear/HTTP_Download can optionally use package "pear/Archive_Zip"
downloading HTTP_Download-1.1.0RC2.tgz ...
Starting to download HTTP_Download-1.1.0RC2.tgz (11,535 bytes)
.....done: 11,535 bytes
upgrade ok: channel://pear.php.net/HTTP_Download-1.1.0RC2
s1-iw:~# pear info HTTP_Download | grep PHP
Release License PHP
PHP >= 4.3.0
PHP >= 4.2.0
s1-iw:~# peardev install pecl/pecl_http
WARNING: channel "pear.php.net" has updated its protocols, use "channel-update
pear.php.net" to update
pear/pecl_http requires PHP (version >= 5.0.4, version <= 6.0.0), installed version is
4.3.10-15
No valid packages found
install failed
Could the differing main version of PHP be the cause for that?
And where does the "<= 6.0.0" dependency come from?
Thanks,
--
Michael - < mike(@)php.net >
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc