hplip fails to build
Matthias Andree
mandree at FreeBSD.org
Thu Dec 29 12:35:10 UTC 2011
Am 29.12.2011 05:55, schrieb Jeffrey McFadden:
> Hello, Porters.
>
> I mentioned this a couple of days ago but it appears to me that my email
> lacked necessary information.
>
> the first failure looks like this:
>
>> Attempting to fetch
> ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/skv/BSDPAN-20111107.tar.bz2
> BSDPAN-20111107.tar.bz2 100% of 8448 B 21 kBps
>
> ===> perl-5.12.4_3 conflicts with installed package(s):
> perl-5.10.1_3
>
> They will not build together.
> Please remove them first with pkg_delete(1).
> *** Error code 1
>
> Stop in /usr/ports/lang/perl5.12.
> *** Error code 1
>
> Stop in /usr/ports/lang/perl5.12.
> *** Error code 1
>
> Stop in /usr/ports/net-mgmt/net-snmp.
> *** Error code 1
>
> Stop in /usr/ports/net-mgmt/net-snmp.
> *** Error code 1
>
> Stop in /usr/ports/print/hplip.
> *** Error code 1
>
> Stop in /usr/ports/print/hplip.
> [jeff at Midget] /usr/ports/print/hplip#
>
> On my previous attempt I did deinstall the older perl and install the
> requested version, but it went ahead and failed again later.
Jeff,
how exactly did you upgrade to Perl 5.12?
Please check /etc/make.conf if there is a PERL_VERSION= line pointing to
the old version somehow.
Else, please try to follow the instructions from /usr/ports/UPDATING
(which you should check regularly):
-----------------------------------------------------
20100715:
AFFECTS: users of lang/perl*
AUTHOR: skv at FreeBSD.org
lang/perl5.12 is out. If you want to switch to it from, for example
lang/perl5.10, that is:
Portupgrade users:
0) Fix pkgdb.db (for safety):
pkgdb -Ff
1) Reinstall new version of Perl (5.12):
env DISABLE_CONFLICTS=1 portupgrade -o lang/perl5.12 -f perl-5.10.\*
2) Reinstall everything that depends on Perl:
portupgrade -fr perl
Portmaster users:
portmaster -o lang/perl5.12 lang/perl5.10
Conservative:
portmaster p5-
Comprehensive (but perhaps overkill):
portmaster -r perl-
Note: If the "perl-" glob matches more than one port you will need to
specify the name of the Perl directory in /var/db/pkg explicitly.
-----------------------------------------------------
Hope that helps.
Best regards,
More information about the freebsd-ports
mailing list