Thursday 19 July 2012

Ghostbsd OS: make install clean get an error : “perl-5.10.1_6 conflicts with installed package(s):perl-5.12.4_3”


Ghostbsd OS: make install clean get an error : “perl-5.10.1_6 conflicts with installed package(s):perl-5.12.4_3”

error output ex:
===============================================
---> Upgrading 'mc-4.7.5.5' to 'mc-4.7.5.5_1' (misc/mc)
---> Building '/usr/ports/misc/mc'
===> Cleaning for mc-4.7.5.5_1
===> Vulnerability check disabled, database not found
===> License check disabled, port has not defined LICENSE
===> Found saved configuration for mc-4.7.5.5
===> Extracting for mc-4.7.5.5_1
=> SHA256 Checksum OK for mc-4.7.5.5.tar.xz.
===> mc-4.7.5.5_1 depends on file: /usr/local/bin/perl5.10.1 - not found
===> Verifying install for /usr/local/bin/perl5.10.1 in /usr/ports/lang/perl5.10

===> perl-5.10.1_6 conflicts with installed package(s):
perl-5.12.4_3


They install files into the same place.
You may want to stop build with Ctrl + C.
===============================================
Solution :

edit file: /etc/make.conf
===============================================
# added by use.perl 2010-06-25 03:09:19
PERL_VERSION=5.12.4
OVERRIDE_LINUX_BASE_PORT=f10
OVERRIDE_LINUX_NONBASE_PORTS=f10
WITH_CUPS=YES
CUPS_OVERWRITE_BASE=YES
WITHOUT_LPR=YES
===============================================
change line :

PERL_VERSION=5.10.1
To your perl version ex:

PERL_VERSION=5.12.4


No comments:

Post a Comment