On 10/29/07, J P <[EMAIL PROTECTED]> wrote:

BTW, incase anyone was wondering the binary compiled RPM packages are also
> tied to the directory structure that was created by the original bootstrap.
> So basically unless you always keep the same directory structure like
> /openpkg the binary rpm packages are useless. Found this out based on the
> perl binary rpm. It's possible some may work but I'm sure there are a lot
> that won't.


The RPMs that OpenPKG creates are relocatable, but Perl is a bit of a
special beast.  The Perl interpreter has compiled-in paths that it searches
for modules, and these will be somewhere under the directory you specified
when bootstrapping OpenPKG (e.g. /openpkg/lib/perl).  Run "perl -V" to see
where its looking.

But you can use the environment variable PERL5LIB to cause Perl to search
other directories in addition to the compiled-in paths.

-- 
Caleb Epstein

Reply via email to