Skip site navigation (1)Skip section navigation (2)
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

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040722072046.GA33028>