For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > August 2004 > Re: [PEAR] Pear rpm packages









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PEAR] Pear rpm packages
Jon Wood

2004-08-05, 3:57 pm

On Thu, 05 Aug 2004 18:47:54 +0200, user@domain.invalid
<user@domain.invalid> wrote:
> Hi,
>
> Can somebody explain me this :
>
> - if I make "pear install a_module", my_module is installed under
> /usr/share/pear
> - if I make "pear makerpm a_module", and I generate a_module.rpm (with
> the generated a_module.spec), and I install the rpm package, a_module is
> under /usr/lib/php/pear.
>
> I don't understand why.
>

I don't know much about the RPM side of things, but I think it may be
that you're distro has set the PEAR directory to be /usr/lib/php/pear
somewhere, and this setting is being used by the RPM packager.

> Is it possible to get the "pear makerpm" generate a spec file to install
> pear modules under /usr/share/pear ? And is it safe ?
>
> JPL
>
> --
> PEAR General Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com