Upgrades fail on Perl dependency
Matthew Seaman
m.seaman at infracaninophile.co.uk
Thu Jul 22 00:20:56 PDT 2004
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040722/7087611b/attachment.bin
More information about the freebsd-questions
mailing list