From owner-freebsd-questions@FreeBSD.ORG Wed May 26 16:20:16 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B3A8816A4CE for ; Wed, 26 May 2004 16:20:16 -0700 (PDT) Received: from mail.hostmansion.com (hostmansion10.hostmansion.com [216.158.144.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B8C243D41 for ; Wed, 26 May 2004 16:20:14 -0700 (PDT) (envelope-from peter@hostmansion.com) Received: from bgsofx17 (www-1.bivol.net [193.108.24.73]) by mail.hostmansion.com (Postfix) with SMTP id 18C6B11C02F; Wed, 26 May 2004 08:36:35 -0700 (PDT) Message-ID: <037f01c44377$effea9f0$0201a8c0@bgsofx17> From: "Peter" To: , "Len Conrad" References: <6.1.0.6.2.20040526161236.03124ec0@81.255.84.73> Date: Thu, 27 May 2004 02:19:37 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Subject: Re: perl and berkeley X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 May 2004 23:20:16 -0000 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" To: 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" >