Date: Thu, 27 May 2004 02:19:37 +0300 From: "Peter" <peter@hostmansion.com> To: <freebsd-questions@freebsd.org>, "Len Conrad" <LConrad@Go2France.com> Subject: Re: perl and berkeley Message-ID: <037f01c44377$effea9f0$0201a8c0@bgsofx17> References: <6.1.0.6.2.20040526161236.03124ec0@81.255.84.73>
next in thread | previous in thread | raw e-mail | index | archive | help
Please try: which perl This will show which perl executable you are actually calling. I guess typing: /usr/local/bin/perl -MCPAN -e 'install BerkeleyDB' will fix the problem. I guess /usr/bin/perl is in front of /usr/local/bin/perl in your $PATH. Peter ----- Original Message ----- From: "Len Conrad" <LConrad@Go2France.com> To: <freebsd-questions@freebsd.org> Sent: Thursday, May 27, 2004 12:18 AM Subject: perl and berkeley > Freebsd 4.8 > > 1. installed a perl mod that decided it needed Perl 5.8. that went ok, but > now I've got > > /usr/bin/perl 5.0 > /usr/local/bin/perl 5.8 > > What is the command to get the sytstem to switch to defaulting to 5.8? > > > 2. "pkg_add -r db3" also went ok, but > > perl -MCPAN -e 'install BerkeleyDB' > > bombs out with: > > /usr/bin/perl -I/usr/libdata/perl/5.00503/mach -I/usr/libdata/perl/5.00503 > /usr/libdata/perl/5.00503/ExtUtils/xsubpp -noprototypes -typemap > /usr/libdata/perl/5.00503/ExtUtils/typemap -typemap typemap > BerkeleyDB.xs >xstmp.c && mv xstmp.c BerkeleyDB.c > cc -c > -I./libraries/4.2.41/include -DVERSION=\"0.25\" > -DXS_VERSION=\"0.25\" -DPIC -fpic > -I/usr/libdata/perl/5.00503/mach/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 > > thanks > Len > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?037f01c44377$effea9f0$0201a8c0>