Perl upgrade problem...

Peter Harrison peter.piggybox at virgin.net
Fri Feb 12 20:44:58 UTC 2010


Up till now I've kept Perl on my machine at 5.8.9. I now see from UPDATING that upgrading to 5.10 is recommended.

However, when I follow the instructions, I get the following error:

laptop# portupgrade -o lang/perl5.10 -f perl-5.8.9_3
--->  Upgrading 'perl-5.8.9_3' to 'perl-5.10.1' (lang/perl5.10)
--->  Building '/usr/ports/lang/perl5.10'
===>  Cleaning for perl-5.10.1

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

      They install files into the same place.
      Please remove them first with pkg_delete(1).
*** Error code 1

Stop in /usr/ports/lang/perl5.10.
*** Error code 1

Stop in /usr/ports/lang/perl5.10.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20100212-42732-1onozbt-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=perl-5.8.9_3 UPGRADE_PORT_VER=5.8.9_3 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
	! lang/perl5.10 (perl-5.8.9_3)	(unknown build error)


Any advice on how to fix?

Thanks in advance.


Peter Harrison.


More information about the freebsd-questions mailing list