[CentOS] Re: Horde domxml dependency problem

Thu Dec 22 00:01:42 UTC 2005
Karanbir Singh <mail-lists at karan.org>

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.  

from a policy standpoint, I am not sure how good an idea this is - to 
have multiple versions of the same codebase sitting on the users machine 
- and i am sure in many many cases, the user is oblivious to this situation.

-- 
Karanbir Singh : http://www.karan.org/ : 2522219 at icq