perl and berkeley

Peter peter at hostmansion.com
Wed May 26 16:20:16 PDT 2004


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 at Go2France.com>
To: <freebsd-questions at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"freebsd-questions-unsubscribe at freebsd.org"
>



More information about the freebsd-questions mailing list