Date: Thu, 22 Jul 2004 08:20:46 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Roger Merritt <mcrogerm@stjohn.ac.th> Cc: freebsd-questions@freebsd.org Subject: Re: Upgrades fail on Perl dependency Message-ID: <20040722072046.GA33028@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <5.2.0.9.0.20040722083034.00a094a0@127.0.0.1> References: <5.2.0.9.0.20040722083034.00a094a0@127.0.0.1>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
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
> dependent on Perl 5.8.2 -- the dependency is specific, but I haven't been
> able to figure out where the '5.8.2' is being specified. Here's an example:
>
> ===> gtk-1.2.10_12 depends on file: /usr/local/bin/perl5.8.2 - not found
> ===> Verifying install for /usr/local/bin/perl5.8.2 in
> /usr/ports/lang/perl5.8
> ===> Vulnerability check disabled
> ===> Extracting for perl-5.8.4
> >> Checksum OK for perl-5.8.4.tar.bz2.
> >> Checksum OK for BSDPAN-5.8.4.tar.bz2.
>
> How can I change the dependency so portupgrade does *not* recompile perl
> every time? Portupgrade deletes the "old" executable, but when pkg_add
> finds the entry in the database it refuses to install the executable that
> has just been compiled. Or something like that. I have about a hundred
> 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
--
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
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)
iD8DBQFA/2rOiD657aJF7eIRAqPVAJ9bRHhIDsQyg70erB3I+LOU43I/kQCfZfsI
lfrogS4rq3Shfr9d/UfvtPE=
=9k7C
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040722072046.GA33028>
