tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

perl5, libdb and NetBSD 5.0

I'm trying to rebuild some 2009Q1 packages now that I have 5.0
installed.  When I try to build perl5 I get an error with DB_File
because it tries to link against libdb, which seems not to exist.
(The system is compiled/installed from the netbsd-5 branch from cvs as
of yesterday.)  The following patch fixed the problem:

     --- ext/DB_File/Makefile.PL.orig
     +++ ext/DB_File/Makefile.PL
     @@ -8,7 +8,7 @@
      # OS2 is a special case, so check for it now.
      my $OS2 = "-DOS2" if $Config{'osname'} eq 'os2' ;

     -my $LIB = "-ldb" ;
     +my $LIB = "" ;
      # so is win32
      $LIB = "-llibdb" if $^O eq 'MSWin32' ;

Do I have some sort of installation problem with the system (i.e., is
libdb really supposed to exist) or is this an issue with perl?

Any help is greatly appreciated.  Thanks alot.


Home | Main Index | Thread Index | Old Index