Subject: Re: Compilation problem with pkgsrc/lang/perl58
To: None <tech-pkg@netbsd.org>
From: Frederic Hermann <fhermann-netbsd-tech-pkg@ferma.fr>
List: tech-pkg
Date: 01/05/2005 14:33:20
Hi,

I try to build perl 5.8.6 on a netbsd 1.6.2, using the latest pkgsrc :
# $NetBSD: Makefile,v 1.70 2005/01/04 09:50:15 jlam Exp $

The compilation part is ok, but when I try to install or package, I have 
the following problem :

Can't load 'lib/auto/File/Glob/Glob.so' for module File::Glob: Service unavailable at lib/XSLoader.pm line 68.
 at lib/File/Glob.pm line 96

And I need perl >= 5.8.6 in order to install the latest apache2 
(2.0.52), which is the only one without security advisory.

I'm trying to install a new netbsd from scratch, to see if there is 
something wrong in my config, but I would like to know if anyone here 
already had the same problem, or tried to build this version of perl on 
a 1.6.2.

Thx.

This is a more complete trace :
(the ## comment are mine)

## End of compile part  ####

        Making Errno (nonxs)
Writing Makefile for Errno
../../miniperl "-I../../lib" "-I../../lib" "-I../../lib" "-I../../lib" Errno_pm.PL Errno.pm
cp Errno.pm ../../lib/Errno.pm
*** Error code 1 (ignored)

        Everything is up to date. Type '/usr/bin/make test' to run test suite.
=> Unwrapping files-to-be-installed.

## Compilation ended, beginning installation ## 
===> Installing for perl-5.8.6nb1
===>  Warning: your umask is "0002".
If this is not desired, set it to an appropriate value (0022)
and install this package again by ``/usr/bin/make deinstall reinstall''.
missing: ./share/locale/my_MM (created)
missing: ./share/locale/my_MM/LC_MESSAGES (created)
/usr/bin/make install.perl install.man STRIPFLAGS= DESTDIR=""
        AutoSplitting perl library
LD_LIBRARY_PATH=/usr/pkgsrc/lang/perl58/work/perl-5.8.6 ./miniperl -Ilib -e 'use AutoSplit;  autosplit_lib_modules(@ARGV)' lib/*.pm
LD_LIBRARY_PATH=/usr/pkgsrc/lang/perl58/work/perl-5.8.6 ./miniperl -Ilib -e 'use AutoSplit;  autosplit_lib_modules(@ARGV)' lib/*/*.pm
/usr/bin/make lib/re.pm
`lib/re.pm' is up to date.

        Skipping /usr/pkgsrc/lang/perl58/work/perl-5.8.6/lib/auto/DynaLoader/DynaLoader.a (directory does not exist)
## What is the missing directory ?? 
## the DynaLoader.a is here and seems correct ! 

        Making utilities

        Making x2p stuff


        Skipping /usr/pkgsrc/lang/perl58/work/perl-5.8.6/lib/auto/B/B.so (directory does not exist)

        Skipping /usr/pkgsrc/lang/perl58/work/perl-5.8.6/lib/auto/ByteLoader/ByteLoader.so (directory does not exist)

        Skipping /usr/pkgsrc/lang/perl58/work/perl-5.8.6/lib/auto/Cwd/Cwd.so (directory does not exist)

        Skipping /usr/pkgsrc/lang/perl58/work/perl-5.8.6/lib/auto/DB_File/DB_File.so (directory does not exist)

        Skipping /usr/pkgsrc/lang/perl58/work/perl-5.8.6/lib/auto/Data/Dumper/Dumper.so (directory does not exist)

        Skipping /usr/pkgsrc/lang/perl58/work/perl-5.8.6/lib/auto/Devel/DProf/DProf.so (directory does not exist)

        Skipping /usr/pkgsrc/lang/perl58/work/perl-5.8.6/lib/auto/Devel/PPPort/PPPort.so (directory does not exist)

        Skipping /usr/pkgsrc/lang/perl58/work/perl-5.8.6/lib/auto/Devel/Peek/Peek.so (directory does not exist)

        Skipping /usr/pkgsrc/lang/perl58/work/perl-5.8.6/lib/auto/Digest/MD5/MD5.so (directory does not exist)

        Skipping /usr/pkgsrc/lang/perl58/work/perl-5.8.6/lib/auto/Encode/Encode.so (directory does not exist)

        Skipping /usr/pkgsrc/lang/perl58/work/perl-5.8.6/lib/auto/Fcntl/Fcntl.so (directory does not exist)

        Skipping /usr/pkgsrc/lang/perl58/work/perl-5.8.6/lib/auto/File/Glob/Glob.so (directory does not exist)

        Skipping /usr/pkgsrc/lang/perl58/work/perl-5.8.6/lib/auto/Filter/Util/Call/Call.so (directory does not exist)

        Skipping /usr/pkgsrc/lang/perl58/work/perl-5.8.6/lib/auto/I18N/Langinfo/Langinfo.so (directory does not exist)

        Skipping /usr/pkgsrc/lang/perl58/work/perl-5.8.6/lib/auto/IO/IO.so (directory does not exist)

        Skipping /usr/pkgsrc/lang/perl58/work/perl-5.8.6/lib/auto/IPC/SysV/SysV.so (directory does not exist)

        Skipping /usr/pkgsrc/lang/perl58/work/perl-5.8.6/lib/auto/List/Util/Util.so (directory does not exist)

        Skipping /usr/pkgsrc/lang/perl58/work/perl-5.8.6/lib/auto/MIME/Base64/Base64.so (directory does not exist)

        Skipping /usr/pkgsrc/lang/perl58/work/perl-5.8.6/lib/auto/NDBM_File/NDBM_File.so (directory does not exist)

        Skipping /usr/pkgsrc/lang/perl58/work/perl-5.8.6/lib/auto/Opcode/Opcode.so (directory does not exist)

        Skipping /usr/pkgsrc/lang/perl58/work/perl-5.8.6/lib/auto/POSIX/POSIX.so (directory does not exist)

        Skipping /usr/pkgsrc/lang/perl58/work/perl-5.8.6/lib/auto/PerlIO/encoding/encoding.so (directory does not exist)

        Skipping /usr/pkgsrc/lang/perl58/work/perl-5.8.6/lib/auto/PerlIO/scalar/scalar.so (directory does not exist)

        Skipping /usr/pkgsrc/lang/perl58/work/perl-5.8.6/lib/auto/PerlIO/via/via.so (directory does not exist)

        Skipping /usr/pkgsrc/lang/perl58/work/perl-5.8.6/lib/auto/SDBM_File/SDBM_File.so (directory does not exist)

        Skipping /usr/pkgsrc/lang/perl58/work/perl-5.8.6/lib/auto/Socket/Socket.so (directory does not exist)

        Skipping /usr/pkgsrc/lang/perl58/work/perl-5.8.6/lib/auto/Storable/Storable.so (directory does not exist)

        Skipping /usr/pkgsrc/lang/perl58/work/perl-5.8.6/lib/auto/Sys/Hostname/Hostname.so (directory does not exist)

        Skipping /usr/pkgsrc/lang/perl58/work/perl-5.8.6/lib/auto/Sys/Syslog/Syslog.so (directory does not exist)

        Skipping /usr/pkgsrc/lang/perl58/work/perl-5.8.6/lib/auto/Time/HiRes/HiRes.so (directory does not exist)

        Skipping /usr/pkgsrc/lang/perl58/work/perl-5.8.6/lib/auto/Unicode/Normalize/Normalize.so (directory does not exist)

        Skipping /usr/pkgsrc/lang/perl58/work/perl-5.8.6/lib/auto/XS/APItest/APItest.so (directory does not exist)

        Skipping /usr/pkgsrc/lang/perl58/work/perl-5.8.6/lib/auto/XS/Typemap/Typemap.so (directory does not exist)

        Skipping /usr/pkgsrc/lang/perl58/work/perl-5.8.6/lib/auto/attrs/attrs.so (directory does not exist)

        Skipping /usr/pkgsrc/lang/perl58/work/perl-5.8.6/lib/auto/re/re.so (directory does not exist)

        Skipping /usr/pkgsrc/lang/perl58/work/perl-5.8.6/lib/auto/threads/threads.so (directory does not exist)

        Skipping /usr/pkgsrc/lang/perl58/work/perl-5.8.6/lib/auto/threads/shared/shared.so (directory does not exist)

        Skipping /usr/pkgsrc/lang/perl58/work/perl-5.8.6/ext/Errno/pm_to_blib (directory does not exist)

## Same as above  
*** Error code 1 (ignored)

        Everything is up to date. Type '/usr/bin/make test' to run test suite.
if [ -n "" ];  then  cd utils; /usr/bin/make compile;  cd ../x2p; /usr/bin/make compile;  cd ../pod; /usr/bin/make compile;  else :;  fi
LD_LIBRARY_PATH=/usr/pkgsrc/lang/perl58/work/perl-5.8.6 ./perl installperl --destdir=
Can't load 'lib/auto/File/Glob/Glob.so' for module File::Glob: Service unavailable at lib/XSLoader.pm line 68.
 at lib/File/Glob.pm line 96


Compilation failed in require at installperl line 132.
BEGIN failed--compilation aborted at installperl line 132.
*** Error code 255

Stop.
make: stopped in /usr/pkgsrc/lang/perl58/work/perl-5.8.6
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/perl58/work/perl-5.8.6
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/perl58
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/perl58
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/perl58
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/perl58