Hello Greg,
pear install looks much better now and i could finally get my rpm'w
working again. Right now there is only a warning that keeps the current
state from being perfect:
Installing PEAR environment: /var/tmp/php5-5.1.0.dev-buildroot/usr/lib/php/pear/
--13:02:14-- http://pear.php.net/install-pear-nozlib.phar
=> `/usr/src/RPM/BUILD/php5/pear/install-pear-nozlib.phar'
Resolving pear.php.net... 216.92.131.66
Connecting to pear.php.net[216.92.131.66]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3,402,240 [text/plain]
100%[=======================================================================================================================================================>] 3,402,240 235.17K/s ETA 00:00
13:02:29 (225.92 KB/s) - `/usr/src/RPM/BUILD/php5/pear/install-pear-nozlib.phar' saved [3,402,240/3,402,240]
[PEAR] Archive_Tar - installed: 1.3.1
[PEAR] Console_Getopt - installed: 1.2
warning: pear/PEAR requires package "pear/XML_RPC" (recommended version 1.4.3)
[PEAR] PEAR - installed: 1.4.2
Wrote PEAR system config file at: /var/tmp/php5-5.1.0.dev-buildroot//etc/pear.conf
You may want to add: /var/tmp/php5-5.1.0.dev-buildroot/usr/lib/php/pear to your php.ini include_path
[PEAR] XML_RPC - installed: 1.4.3
+ /usr/lib/rpm/brp-mandrake
...
In my package info for pear i have the following entries:
%files pear
%{_sysconfdir}/pear.conf
%{_bindir}/peardev
%{_bindir}/pecl
%{_bindir}/pear
%{_libdir}/php/pear/*
%{_libdir}/php/pear/.filemap
%{_libdir}/php/pear/.lock
%{_libdir}/php/pear/.depdb
%{_libdir}/php/pear/.depdblock
%{_libdir}/php/pear/.registry/*.reg
%{_libdir}/php/pear/.channels/*.reg
%{_libdir}/php/pear/.channels/.alias/*
Should i split those in two. One for things i want to overwrite and on i
only need if i haven't installed pear yet so i don't loose any information
of stuff i locally downloaded installed alread?
regards
marcus
Saturday, October 29, 2005, 1:56:50 AM, you wrote:
> Marcus Bointon wrote:
>> make install-pear works fine for me on OSX 10.4.2.
>>
>> I suffer from this bug: http://bugs.php.net/bug.php?id=32301
>>
>> Though I don't have anything more to add to it - pear install has been
>> unusable for me on OS X for the last couple of years because of this.
>> You can work around it by using pear download then unzip and install
>> manually.
> Or you could use the -Z option
> $ pear install -Z whatever
> This disables gz compression. However, this has nothing to do with
> internals, so please send any follow-up questions to pear-general
> Thanks,
> Greg
Best regards,
Marcus