Subject: problems installing lang/perl5 on OpenBSD
To: None <pkgsrc-users@netbsd.org>
From: Rakhesh Sasidharan <rakheshster@gmail.com>
List: pkgsrc-users
Date: 06/07/2006 16:41:50
Hi!
I am trying to install lang/perl5 on OpenBSD/i386 3.9, and have caught
up with some errors.
First off, while doing "make" it kept giving me error messages that
libperl.so.8.8 is not installed, even though I can see that while
compiling LD_LIBRARY_PATH is set to a location which has
libperl.so.8.8. So I just copied off libperl.so.8.8 to "/usr/lib" and
then things worked smooth. (While I solved this problem temporarily, I
am mentioning it here incase the perl5 maintainer wants to look into
this and need help testing some patches).
After that, things went smooth, till I do "make install":
===> Installing for perl-5.8.8nb2
===> Creating installation directories
/usr/pkg/bin/bmake install.perl install.man STRIPFLAGS= DESTDIR=""
AutoSplitting perl library
LD_LIBRARY_PATH=/mnt/free/pkgsrc_work.obsd/lang/perl5/work/perl-5.8.8
./miniperl -Ilib -e 'use AutoSplit; autosplit_lib_modules(@ARGV)'
lib/*.pm
LD_LIBRARY_PATH=/mnt/free/pkgsrc_work.obsd/lang/perl5/work/perl-5.8.8
./miniperl -Ilib -e 'use AutoSplit; autosplit_lib_modules(@ARGV)'
lib/*/*.pm
/usr/pkg/bin/bmake lib/re.pm
`lib/re.pm' is up to date.
<snip><snip>
Everything is up to date. Type '/usr/pkg/bin/bmake test' to run test suite.
*** Error code 1 (ignored)
if [ -n "" ]; then cd utils; /usr/pkg/bin/bmake compile; cd ../x2p;
/usr/pkg/bin/bmake compile; cd ../pod; /usr/pkg/bin/bmake compile;
else :; fi
LD_LIBRARY_PATH=/mnt/free/pkgsrc_work.obsd/lang/perl5/work/perl-5.8.8
./perl installperl --destdir=
Can't load 'lib/auto/File/Glob/Glob.so' for module File::Glob: File
not found at lib/XSLoader.pm line 70.
at lib/File/Glob.pm line 96
Compilation failed in require at installperl line 131.
BEGIN failed--compilation aborted at installperl line 131.
*** Error code 9
Stop.
bmake: stopped in /mnt/free/pkgsrc_work.obsd/lang/perl5/work/perl-5.8.8
*** Error code 1
Again, I can see that "lib/auto/File/Glob/Glob.so" exists -- yet
"installperl" is unable to find it. So I tried setting the
LD_LIBRARY_PATH manually myself, but that too didnt work (btw, that
didnt work above either, for libperl.so.8.8. strange).
Any ideas what could be going wrong?
Thanks,
Rakhesh
--
NetBSD/i386 3.0 | pkgsrc-current | Toshiba Satellite L10-102
http://search.gmane.org/?query=&group=gmane.os.netbsd.* (netbsd archives)
http://man.netbsd.org/ (netbsd manpages)