[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: removing a path from dependencies at package time



On Mon, 2002-02-04 at 14:05, Ian Macdonald wrote:
> Hi,
> 
> At our site, we have an NFS-shared Perl in /usr/pubsw/bin/perl.
> 
> When attempting to install packages built here, sometimes I get this:
> 
> error: failed dependencies:
>         /usr/pubsw/bin/perl   is needed by autoconf-2.52-6
> 
> What's the cleanest way to not have this included in a Perl module
> package's dependencies at build time?
> 
> I could just remove /usr/pubsw/bin from my PATH when building, but is
> there an rpmrc macro that will work for everyone at this site?

make it so /usr/bin is in your path BEFORE /usr/pubsw/bin

that way it finds the system-wide perl first.

unlesss, of course, <shudder> you're not installing perl on the local
system and using the systemwide one

-sv

Attachment: signature.asc
Description: This is a digitally signed message part


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []