From owner-freebsd-questions@FreeBSD.ORG Wed May 26 14:19:20 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 432E716A4CE for ; Wed, 26 May 2004 14:19:20 -0700 (PDT) Received: from mgw1.MEIway.com (mgw1.meiway.com [81.255.84.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id D563643D49 for ; Wed, 26 May 2004 14:19:19 -0700 (PDT) (envelope-from LConrad@Go2France.com) Received: from VirusGate.MEIway.com (virusgate.meiway.com [81.255.84.76]) by mgw1.MEIway.com (Postfix Relay Hub) with ESMTP id DC3DF4718E6 for ; Wed, 26 May 2004 23:19:29 +0200 (CEST) (envelope-from LConrad@Go2France.com) Received: from localhost (localhost.MEIWay.com [127.0.0.1]) by VirusGate.MEIway.com (Postfix) with SMTP id 55A803866CA for ; Wed, 26 May 2004 23:22:39 +0200 (CEST) (envelope-from LConrad@Go2France.com) X-AV-Checked: Wed May 26 23:22:39 2004 virusgate.meiway.com Received: from mail.Go2France.com (ms1.meiway.com [81.255.84.73]) by VirusGate.MEIway.com (Postfix) with ESMTP id 370FC386612 for ; Wed, 26 May 2004 23:22:39 +0200 (CEST) (envelope-from LConrad@Go2France.com) Received: from tx2.Go2France.com [24.227.147.227] by mail.Go2France.com with ESMTP (SMTPD32-7.07) id A9256DF0440; Wed, 26 May 2004 23:16:21 +0200 Message-Id: <6.1.0.6.2.20040526161236.03124ec0@81.255.84.73> X-Sender: LConrad@Go2France.com@81.255.84.73 X-Mailer: QUALCOMM Windows Eudora Version 6.1.0.6 Date: Wed, 26 May 2004 16:18:39 -0500 To: freebsd-questions@freebsd.org From: Len Conrad Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: 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 21:19:20 -0000 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