This issue was entered into the bug system (see
http://rt.cpan.org/NoAuth/Bug.html?id=1771), but there's been no
activity on the bug since it was submitted over a month ago, so I'm
trying email.

$Config{installstyle} contains either 'lib' (when $Config{prefix}
contains something like '/opt/perl/') or 'lib/perl5' (when
$Config{prefix} contains something like '/usr/local/').  MM_Unix
should utilize the installstyle for the default libstyle instead of
hardcoding 'lib/perl5'.  Patch is attached.

I ran across this problem while installing under my home dir
(/home/jdl/perltest/).  After I installed a module that used
MakeMaker, the modules weren't found because the 'perl5' part of the
module's install dir wasn't in @INC.  After running the attached
patch & re-installing the module, things work fine.

Thanks! :-)
-- 
J.D. Laub (Laubster)  |"Your leg's too long / Your skull's too strong /
[EMAIL PROTECTED]| Suppose your nose is wrong." - Renaldo & the Loaf
*** MM_Unix.pm.orig     Wed Nov  6 13:48:42 2002
--- MM_Unix.pm  Thu Nov  7 08:34:23 2002
***************
*** 1930,1936 ****
      my $version = $Config{version};
  
      # default style
!     my $libstyle = 'lib/perl5';
      my $manstyle = '';
  
      if( $self->{LIBSTYLE} ) {
--- 1930,1936 ----
      my $version = $Config{version};
  
      # default style
!     my $libstyle = $Config{installstyle} || 'lib/perl5';
      my $manstyle = '';
  
      if( $self->{LIBSTYLE} ) {

Reply via email to