portupgrade failing on perl modules

Michael P. Soulier msoulier at digitaltorque.ca
Sun Feb 8 07:57:16 PST 2009


On 08/02/09 Glen Barber said:

> Have you tried manually `make deinstall; make install'?

Here's an example.

msoulier at kanga:...xtproc/p5-XML-RSS$ sudo make deinstall
Password:
===>  Deinstalling for textproc/p5-XML-RSS
===>   Deinstalling p5-XML-RSS-1.37
pkg_delete: unable to completely remove directory
'/usr/local/lib/perl5/site_perl/5.8.8/mach/auto/XML/RSS'
pkg_delete: couldn't entirely delete package (perhaps the packing list is
incorrectly specified?)
msoulier at kanga:...xtproc/p5-XML-RSS$ sudo make install distclean
===>   p5-XML-RSS-1.43 depends on file:
/usr/local/lib/perl5/site_perl/5.8.9/mach/XML/Parser/Expat.pm - not found
===>    Verifying install for
/usr/local/lib/perl5/site_perl/5.8.9/mach/XML/Parser/Expat.pm in
/usr/ports/textproc/p5-XML-Parser
===>  Installing for p5-XML-Parser-2.36
===>   p5-XML-Parser-2.36 depends on file: /usr/local/bin/perl5.8.9 - found
===>   p5-XML-Parser-2.36 depends on shared library: expat.6 - found
===>   Generating temporary packing list
===>  Checking if textproc/p5-XML-Parser already installed
===>   p5-XML-Parser-2.36 is already installed
      You may wish to ``make deinstall'' and install this port again
      by ``make reinstall'' to upgrade it properly.
      If you really wish to overwrite the old port of textproc/p5-XML-Parser
      without deleting it first, set the variable "FORCE_PKG_REGISTER"
      in your environment or the "make install" command line.
*** Error code 1

Stop in /usr/ports/textproc/p5-XML-Parser.
*** Error code 1

Stop in /usr/ports/textproc/p5-XML-RSS.

So now what? 

Mike
-- 
Michael P. Soulier <msoulier at digitaltorque.ca>
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090208/5ea0c231/attachment.pgp


More information about the freebsd-questions mailing list