Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 May 2004 22:53:58 -0500
From:      Len Conrad <LConrad@Go2France.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: perl and berkeley
Message-ID:  <6.1.0.6.2.20040526224910.031d07a8@81.255.84.73>
In-Reply-To: <20040526233114.GA57519@weller-fahy.com>
References:  <6.1.0.6.2.20040526161236.03124ec0@81.255.84.73> <20040526233114.GA57519@weller-fahy.com>

next in thread | previous in thread | raw e-mail | index | archive | help

>#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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.1.0.6.2.20040526224910.031d07a8>