[Pdx-pm] Setting @INC during Perl compile

Joshua Keroes joshua at keroes.com
Mon Jul 26 18:25:19 PDT 2010


We want to share modules over the network and have them work with different
versions of Perl on different architectures. /nfs/perl/lib, for example.

When I compile Perl

./Configure -des -Dprefix=/opt/perl-5.12.1 -Dsiteprefixexp=/nfs/perl

only the following directories are set (output from perl -V):

@INC:
  /nfs/perl/lib/site_perl/5.12.1/i86pc-solaris
  /nfs/perl/lib/site_perl/5.12.1
  /opt/perl-5.12.1/lib/5.12.1/i86pc-solaris
  /opt/perl-5.12.1/lib/5.12.1
  .


Shouldn't there be more directories; something more like this?

@INC:
  /nfs/perl/lib/site_perl/5.12.1/i86pc-solaris
  /nfs/perl/lib/site_perl/5.12.1

  /nfs/perl/lib/perl5 <==
  /nfs/perl/lib <==

  /opt/perl-5.12.1/lib/5.12.1/i86pc-solaris
  /opt/perl-5.12.1/lib/5.12.1

  .


Thanks,
Joshua
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/pdx-pm-list/attachments/20100726/e61366f8/attachment.html>


More information about the Pdx-pm-list mailing list