Re: portupgrade failing on perl modules

2009-02-14 Thread Michael P. Soulier
On 08/02/09 Matthew Seaman said:

 I'd wager that 'pkg_info -l p5-Module-Giving-You-Trouble' says everything
 is installed under ${LOCALBASE}/lib/perl5/site-perl/5.8.8 but that if you
 run 'perl -v' the number 5.8.9 is prominently displayed.

 Please read the UPDATING entry for 20090113, strike yourself upon the
 forehead whilst crying D'oh! in a loud voice and then run
 'perl-after-upgrade -f' as instructed.

All of the above worked, except striking myself on the forehead, which just
hurt. 

Mike
-- 
Michael P. Soulier msoul...@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


pgpyyqGgDqsCT.pgp
Description: PGP signature


portupgrade failing on perl modules

2009-02-08 Thread Michael P. Soulier
I'm having this with several perl modules while running a portupgrade -a. 

===   p5-Tie-IxHash-1.21 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 devel/p5-Tie-IxHash
  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/devel/p5-Tie-IxHash.
*** Error code 1

I thought that portupgrade would take the right action to uninstall/reinstall
if required. I mean, it upgrades ports, right? :)

Some guidance would be appreciated.

Mike
-- 
Michael P. Soulier msoul...@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


pgpq8s7nOwyt9.pgp
Description: PGP signature


Re: portupgrade failing on perl modules

2009-02-08 Thread Glen Barber
On Sun, Feb 8, 2009 at 7:56 AM, Michael P. Soulier
msoul...@digitaltorque.ca wrote:
 I'm having this with several perl modules while running a portupgrade -a.

 ===   p5-Tie-IxHash-1.21 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 devel/p5-Tie-IxHash
  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/devel/p5-Tie-IxHash.
 *** Error code 1


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

-- 
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: portupgrade failing on perl modules

2009-02-08 Thread Michael P. Soulier
On 08/02/09 Glen Barber said:

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

Here's an example.

msoul...@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?)
msoul...@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 msoul...@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


pgpovAmK1coTB.pgp
Description: PGP signature


Re: portupgrade failing on perl modules

2009-02-08 Thread Glen Barber
On Sun, Feb 8, 2009 at 10:57 AM, Michael P. Soulier
msoul...@digitaltorque.ca wrote:
 On 08/02/09 Glen Barber said:

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

 Here's an example.

 msoul...@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?)
 msoul...@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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: portupgrade failing on perl modules

2009-02-08 Thread Michael P. Soulier
On 08/02/09 Glen Barber said:

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

Yes, and the make install pulled in dependencies on other perl modules that
resulted in the same error message that _they_ had to be reinstalled.
Following those dependencies resulted in the same, and so on...

I have no hair left to pull out, or it would be gone.

Mike
-- 
Michael P. Soulier msoul...@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


pgpatVvbcWgvo.pgp
Description: PGP signature


Re: portupgrade failing on perl modules

2009-02-08 Thread Matthew Seaman

Michael P. Soulier wrote:

On 08/02/09 Glen Barber said:


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


Yes, and the make install pulled in dependencies on other perl modules that
resulted in the same error message that _they_ had to be reinstalled.
Following those dependencies resulted in the same, and so on...

I have no hair left to pull out, or it would be gone.


I'd wager that 'pkg_info -l p5-Module-Giving-You-Trouble' says everything
is installed under ${LOCALBASE}/lib/perl5/site-perl/5.8.8 but that if you
run 'perl -v' the number 5.8.9 is prominently displayed.

Please read the UPDATING entry for 20090113, strike yourself upon the
forehead whilst crying D'oh! in a loud voice and then run
'perl-after-upgrade -f' as instructed.

Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: portupgrade failing on perl modules

2009-02-08 Thread Tim Kellers

Matthew Seaman wrote:

Michael P. Soulier wrote:

On 08/02/09 Glen Barber said:


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


Yes, and the make install pulled in dependencies on other perl 
modules that

resulted in the same error message that _they_ had to be reinstalled.
Following those dependencies resulted in the same, and so on...

I have no hair left to pull out, or it would be gone.


I'd wager that 'pkg_info -l p5-Module-Giving-You-Trouble' says everything
is installed under ${LOCALBASE}/lib/perl5/site-perl/5.8.8 but that if you
run 'perl -v' the number 5.8.9 is prominently displayed.

Please read the UPDATING entry for 20090113, strike yourself upon the
forehead whilst crying D'oh! in a loud voice and then run
'perl-after-upgrade -f' as instructed.

Cheers,

Matthew

Actually, I was having that trouble, too.  But for me the solution was 
to deinstall perl-threaded, pkg_delete -f the non-deinstalled perl 
5.8.9, rmconfig  make config-recursive in /usr/ports/lang/perl5.8, 
make sure the build threaded perl was unchecked and make install clean 
from there.  Before doing all that, I had run perl-after-upgrade 
(several times) to no avail.


I'm not sure how I ended up with 2 perls installed, or why deinstalling 
perl-threaded left one remaining, but all was (is) well after I reverted 
perl as above.


Tim
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org