Subject: Compiling perl 5.6.0
To: None <port-hp300@netbsd.org>
From: None <abaugher@pikenet.net>
List: port-hp300
Date: 05/09/2000 19:40:36
Hi there,
I've just installed NetBSD 1.4.2 on two 425t machines.
Things are going well, but I'm having trouble getting Perl
to work. I installed the binary package, but it's version
5.004_04, and some of the modules I need to install don't
seem to want to work with it. So, I'm trying to compile the
latest version, 5.6.0.
There's a netbsd hints file, so that would seem to take care
of most issues. The Configure script runs through fine,
'make' goes well, and 'make test' works with one very minor
exception. (The 'warnings' pragma doesn't spit out quite as
many errors as the test expects.) But when I try 'make
install', it dies pretty quickly, with this error:
Can't load 'lib/auto/File/Glob/Glob.so' for module
File::Glob: No such file or directory at lib/XSLoader.pm
line 73.
The only problem with that is that it *does* exist, in that
location. So I'm guessing there's something wrong with the
library loader.
Configure picks dl_open as the shared library loader, and as
far as I can tell, that's the right one. nm shows that it
exists in /usr/lib/crt0.o.
This system is apparently not ELF, but I don't know whether
that has anything to do with it.
So does anyone have any ideas? Is there any documentation
on typical porting procedures, that could help me track this
down? Is the source for the working 5.004_04 binary
available somewhere, so I could take a look at how it was
made to work?
Thanks,
Aaron
--
Aaron Baugher - abaugher@adams.net - Coatsburg, IL, USA
Extreme Systems Consulting - http://esc.adams.net/esc/
CGI, Perl, Java, and Linux/Unix Administration