perl5.12 -> perl5.14 upgrade problem

n dhert ndhertbsd at gmail.com
Wed Jun 1 15:31:15 UTC 2011


I try to upgrade perl5.12 to perl5.14 according to /usr/ports/UPDATING of
date 110517

the step " Reinstall everything that depends on Perl ":
#  portupgrade -fr perl
in my case, needs to recompile 318 packages (pkg_info -R perl-5.14.0 | wc -l
)

but I get:
...
make: don't know how to make
/usr/local/lib/perl5/5.14.0/mach/CORE/cc_runtime.h.
 Stop
causing not to rebuild the following packages
Stop in /usr/ports/net-mgmt/net-snmp
Stop in /usr/ports/www/p5-HTML-Parser
Stop in /usr/ports/textproc/p5-XML-Parser
Stop in /usr/ports/databases/p5-DBI
Stop in /usr/ports/devel/p5-IO-Tty
Stop in /usr/ports/x11-toolkits/p5-Tk
Stop in /usr/ports/graphics/p5-GD
Stop in /usr/ports/databases/rrdtool
Stop in /usr/ports/www/mod_perl2
Stop in /usr/ports/converters/p5-MIME-Base64
Stop in /usr/ports/graphics/ImageMagick

and
checking for XML::Parser... configure: error: XML::Parser perl module is
required for intltool
===>  Script "configure" failed unexpectedly
causes not to rebuild:
Stop in /usr/ports/misc/shared-mime-info
Stop in /usr/ports/sysutils/polkit
Stop in /usr/ports/sysutils/policykit

and the recompile of another 58 packages were skipped 'because requisite
package failed' (one of the above)

So it seems to all boil down to that one cause:
I DO NOT have a file /usr/local/lib/perl5/5.14.0/mach/CORE/cc_runtime.h
in the /usr/local/lib/perl5/5.14.0/mach/CORE directory

1. why, what's wrong and how to fix ?

2. when fixed, if I do a
#  portupgrade -fr perl
again, it there some way to avoid recompiling everything that already
compiled successfully ?
( so far some 250 packages compiled successfully but this took 10 hours ...)


More information about the freebsd-questions mailing list