Subject: Re: perl 5.6.0 ?
To: None <port-sparc@netbsd.org>
From: Michael Rauch <mrauch@fs.tum.de>
List: port-sparc
Date: 07/06/2000 18:38:25
Hi, 

On Wed, Jul 05, 2000 at 13:54:09 +0200, Hubert Feyrer wrote:
> 
> Hi,
> 
> I'd like to try upgrading the perl-current package to 5.6.0, but it fails
> in "make install" on 1.4/sparc:
> 
> if [ -n "" ];  then  cd utils; make compile;  cd ../x2p; make compile;  cd
> ../pod; make compile;  else :;  fi
> LD_LIBRARY_PATH=/disk1/cvs/pkgsrc/lang/perl5-current.work-pr-10045/work.sparc/perl-5.6.0:/disk1/cvs/pkgsrc/lang/perl5-current.work-pr-10045/work.sparc/perl-5.6.0
> ./perl installperl 
> Can't load 'lib/auto/File/Glob/Glob.so' for module File::Glob: No such
> file or directory at lib/XSLoader.pm line 73.
>  at lib/File/Glob.pm line 94
> Compilation failed in require at installperl line 66.
> BEGIN failed--compilation aborted at installperl line 66.
> *** Error code 255
> 
> Funny enough, the file 'lib/auto/File/Glob/Glob.so' is there. Does anyone
> on this list have some clues for me? If you want to try things out, a
> perl 5.6.0 package is available in PR 10045
> (http://www.NetBSD.org/cgi-bin/query-pr-single.pl?number=10045).
> [...]

I had the same problem. The solution looks a little bit strange, but it
worked for me:
In the file "installperl" you'll find in the 6th line:
    @INC = 'lib';
Just replace this by
    @INC = 'lib/./;

(I think it was only this file. If it occurs in another install-file, do
the same there, too.) But I haven't found out, what really goes wrong. 

Bye

Michael