A
Andrew Fabbro
When building (compiling) perl, I wanted to include a directory where
we install our local modules. So I built perl with -Dotherlibdirs=/app/
common/oracle/perl/local.
Later, I installed various modules with PREFIX=/app/common/oracle/perl/
local
However, perl can't find them (and yes, I checked and /app/common/
oracle/perl/local is in @INC). However, if I put this in @INC:
/app/common/oracle/perl/local/lib/site_perl/5.8.8/PA-RISC2.0-LP64
Then it finds things and works just fine.
But what the...heck is the point of -Dotherlibdirs if what you point
it at doesn't work!? So should I rebuild perl with -Dotherlibdirs set
to "/app/common/oracle/perl/local/lib/site_perl/5.8.8/PA-RISC2.0-
LP64"? The whole point of this exercise was to avoid having to
manually "use lib"...
Or perhaps I'm just confused...
we install our local modules. So I built perl with -Dotherlibdirs=/app/
common/oracle/perl/local.
Later, I installed various modules with PREFIX=/app/common/oracle/perl/
local
However, perl can't find them (and yes, I checked and /app/common/
oracle/perl/local is in @INC). However, if I put this in @INC:
/app/common/oracle/perl/local/lib/site_perl/5.8.8/PA-RISC2.0-LP64
Then it finds things and works just fine.
But what the...heck is the point of -Dotherlibdirs if what you point
it at doesn't work!? So should I rebuild perl with -Dotherlibdirs set
to "/app/common/oracle/perl/local/lib/site_perl/5.8.8/PA-RISC2.0-
LP64"? The whole point of this exercise was to avoid having to
manually "use lib"...
Or perhaps I'm just confused...