perl and berkeley

Len Conrad LConrad at Go2France.com
Wed May 26 21:26:15 PDT 2004


>#v+
>If you want this version of Perl to be used by default, please type
>
>   use.perl port
>#v-

# use.perl port
# which perl
/usr/bin/perl

>Check out the rest of that file for more information.

ports are not installed, just specific pkgs

# pkg_info
...
db3-3.3.11,1        The Berkeley DB package, revision 3
...
perl-5.8.0_4        Practical Extraction and Report Language


and

/usr/local/bin/perl -MCPAN -e 'install BerkeleyDB'

end also with:

/usr/local/bin/perl5.8.4 /usr/local/lib/perl5/5.8.4/ExtUtils/xsubpp 
-noprototypes -typemap /usr/local/lib/perl5/5.8.4/ExtUtils/typemap -typemap 
typemap  BerkeleyDB.xs > BerkeleyDB.xsc && mv BerkeleyDB.xsc BerkeleyDB.c
cc -c  -I./libraries/4.2.41/include  -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H 
-fno-strict-aliasing -I/usr/local/include 
-O    -DVERSION=\"0.25\"  -DXS_VERSION=\"0.25\" -DPIC -fPIC 
"-I/usr/local/lib/perl5/5.8.4/i386-freebsd/CORE"   BerkeleyDB.c
BerkeleyDB.xs:74: #error db.h is from Berkeley DB 1.x - need at least 
Berkeley DB 2.6.4
*** Error code 1


Len



More information about the freebsd-questions mailing list