Ah well - no such luck. openpkg tend to overwite any PATH settings now that
I think about it. Problem is that rpmtool always searches "." - here is the
section from rpmtool:
files )
# if a Perl interpreter is available, we perform the operation
# with it because Perl is a magnitude (factor 10!) faster than
# what we can do here in Bourne-Shell.
perl=''
for dir in `echo $PATH | sed -e 's/:/ /g'` .; do
for tool in perl5 perl miniperl; do
if [ -f "$dir/$tool" ]; then
perl="$dir/$tool"
break
fi
done
if [ ".$perl" != . ]; then
break
fi
done
> -----Original Message-----
> From: Andrews, Martin [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 29, 2003 3:09 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: failing to build perl-5.8.0-1.2.0 on solaris 7
>
>
> doh - there was a empty "::" in my PATH. I'll try again.
> Thanks for the
> quick reply.
>
> Martin
>
> > -----Original Message-----
> > From: Michael van Elst [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, January 29, 2003 2:49 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: failing to build perl-5.8.0-1.2.0 on solaris 7
> >
> >
> > On Wed, Jan 29, 2003, Andrews, Martin wrote:
> >
> > Hi Martin,
> >
> > > I am trying to build perl from the 1.2.0 release under
> > solaris 7 and it is
> > > dying near the end when it uses rpmtool. It appears that
> > rpmtool is finding
> > > the perl that was just built but not its module library -
> > therefore it is
> > > unable to use the glob() function which requires the
> File::Glob module. Any
> > ideas?
>
> rpmtool searches $PATH for 'perl5', 'perl' and 'miniperl'. I fear
> the problem occurs as soon as you have '.' in your $PATH
> because rpmtool
> then picks up the newly created perl binary from the build directory.
>
> Greetings,
> --
> Michael van Elst
> [EMAIL PROTECTED]
______________________________________________________________________
The OpenPKG Project www.openpkg.org
User Communication List [EMAIL PROTECTED]