From owner-freebsd-questions@FreeBSD.ORG Thu Jul 22 07:20:56 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 26BC616A4CE for ; Thu, 22 Jul 2004 07:20:56 +0000 (GMT) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id A83CC43D46 for ; Thu, 22 Jul 2004 07:20:54 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) i6M7KnSv033467 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 22 Jul 2004 08:20:49 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i6M7KkKn033462; Thu, 22 Jul 2004 08:20:46 +0100 (BST) (envelope-from matthew) Date: Thu, 22 Jul 2004 08:20:46 +0100 From: Matthew Seaman To: Roger Merritt Message-ID: <20040722072046.GA33028@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Roger Merritt , freebsd-questions@freebsd.org References: <5.2.0.9.0.20040722083034.00a094a0@127.0.0.1> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="X1bOJ3K7DJ5YkBrT" Content-Disposition: inline In-Reply-To: <5.2.0.9.0.20040722083034.00a094a0@127.0.0.1> User-Agent: Mutt/1.5.6i X-Greylist: Message not sent from an IPv4 address, not delayed by milter-greylist-1.5.3 (smtp.infracaninophile.co.uk [0.0.0.0]); Thu, 22 Jul 2004 08:20:49 +0100 (BST) X-Virus-Scanned: clamd / ClamAV version devel-20040705, clamav-milter version 0.74a on smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-questions@freebsd.org Subject: Re: Upgrades fail on Perl dependency 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: Thu, 22 Jul 2004 07:20:56 -0000 --X1bOJ3K7DJ5YkBrT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 22, 2004 at 10:12:30AM +0700, Roger Merritt wrote: > I keep having problems with various ports. It seems a lot of them are=20 > dependent on Perl 5.8.2 -- the dependency is specific, but I haven't been= =20 > able to figure out where the '5.8.2' is being specified. Here's an exampl= e: >=20 > =3D=3D=3D> gtk-1.2.10_12 depends on file: /usr/local/bin/perl5.8.2 - no= t found > =3D=3D=3D> Verifying install for /usr/local/bin/perl5.8.2 in=20 > /usr/ports/lang/perl5.8 > =3D=3D=3D> Vulnerability check disabled > =3D=3D=3D> Extracting for perl-5.8.4 > >> Checksum OK for perl-5.8.4.tar.bz2. > >> Checksum OK for BSDPAN-5.8.4.tar.bz2. >=20 > How can I change the dependency so portupgrade does *not* recompile perl= =20 > every time? Portupgrade deletes the "old" executable, but when pkg_add=20 > finds the entry in the database it refuses to install the executable that= =20 > has just been compiled. Or something like that. I have about a hundred=20 > ports that portupgrade -a just leaves because of this problem. Run: # use.perl port You need to re-run that every time there is a version number increase for perl. Look at the lines added to /etc/make.conf to understand how this works. You will also need to re-install any perl ports that install modules or other files under /usr/local/lib/perl5{/site-perl,}/${PERL_VER} Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --X1bOJ3K7DJ5YkBrT Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFA/2rOiD657aJF7eIRAqPVAJ9bRHhIDsQyg70erB3I+LOU43I/kQCfZfsI lfrogS4rq3Shfr9d/UfvtPE= =9k7C -----END PGP SIGNATURE----- --X1bOJ3K7DJ5YkBrT--