[CentOS] Re: Horde domxml dependency problem

Johnny Hughes mailing-lists at hughesjr.com
Wed Dec 21 12:10:20 UTC 2005


On Tue, 2005-12-20 at 11:35 -0800, Greg Swallow - SkyNet wrote:
> Johnny Hughes wrote:
> > Also ... upgrading pear modules via RPM correctly is a major problem.
> > Some of the modules that are included in the php-pear modules need to be
> > upgraded.  That is a major problem that requires some major thought and
> > planning.
> > 
> > Just removing the files and not replacing / obsoleting the php-pear
> > package will result in breakage at the next php upgrade.
> > 
> > I think the proper way to do this is going to be to redo a php-pear that
> > only has the pear module and no others (currently there are several
> > modules as part of the php-pear RPM) ... then having a separate RPM for
> > each pear module (similar to how perl modules are done now).
> > 
> > This is not as easy as just building a couple RPMS :)
> 
> It might be.  In SME Server the "include_path" in php.ini was changed to
> read:
> include_path = ".:/usr/share/pear-addons:/usr/share/pear"
> 
> Our pear addon rpms install files into the pear-addons folder.  It works for
> us.  The php-pear rpm contains DB 1.6.2 and Mail 1.1.3 (installed in
> /usr/share/pear), and our addon rpms of pear-db (1.7.6) and pear-mail
> (1.1.4) install files to /usr/share/pear-addons.  

If you use that method, what does this command show?

pear list

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20051221/c57936e0/attachment.sig>


More information about the CentOS mailing list