portupgrade failing on perl modules
Glen Barber
glen.j.barber at gmail.com
Sun Feb 8 08:01:09 PST 2009
On Sun, Feb 8, 2009 at 10:57 AM, Michael P. Soulier
<msoulier at digitaltorque.ca> wrote:
> 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?
>
Have you rebuilt all perl-dependent ports as the 20090113 entry in
/usr/ports/UPDATING mentions?
(Also, please take my email address out of your Reply-To entry in your client.)
--
Glen Barber
More information about the freebsd-questions
mailing list