Getopt-Long problem

rpyne@kinfolk.org rpyne at kinfolk.org
Thu Oct 9 18:10:05 CEST 2008


Interesting. I was running a lunar rebuild and EVERY module in the 
rebuild list after Getopt-Long failed failed with the same error that 
it couldn't locate Getopt/long.pm. Once I resurected Getopt-Long, 
they all worked.

--Richard

On 9 Oct 2008 at 8:19, Terry Chan wrote:

> Getopt-Long is NOT required for lin to work. It's never been installed
> on any of my Lunar boxes. I have no idea why you are even trying to
> install this perl module, unless you are trying to use the razor-agents
> module.
> 
> Yes, perl modules are still quite a problem when upgrading to a major
> perl update, like 5.8.x to 5.10.x.
> 
> Terry Chan
> -----------------------------------------------------------------
> On Wed, Oct 08, 2008 at 10:47:16PM -0600, rpyne at kinfolk.org wrote:
> > What I discovered is that Getopt-Long is necessary for lin to work, 
> > so when rebuilding Getopt-Long, as soon as lin removes the old 
> > version, lin crashes because it needs Getopt-Long to work.
> > 
> > So, the question is, how do I install a new version of Getopt-Long 
> > without removing the existing version? It there going to be a similar 
> > problem when upgrading to a newer version of perl?
> > 
> > --Richard
> > 
> > On 8 Oct 2008 at 22:31, rpyne at kinfolk.org wrote:
> > 
> > > # lin -cr Getopt-Long
> > > Checking dependencies for Getopt-Long
> > > Building Getopt-Long version 2.36
> > > 
> > > Checking if your kit is complete...
> > > Looks good
> > > Writing Makefile for Getopt::Long
> > > cp lib/Getopt/Long.pm blib/lib/Getopt/Long.pm
> > > cp lib/newgetopt.pl blib/lib/newgetopt.pl
> > > Can't locate Getopt/Long.pm in @INC (@INC contains: 
> > > /usr/lib/perl5/5.10.0/i686-linux-thread-multi /usr/lib/perl5/5.10.0 
> > > /usr/lib/perl5/site_perl/5.10.0/i686-linux-thread-multi 
> > > /usr/lib/perl5/site_perl/5.10.0 .) at 
> > > /usr/lib/perl5/5.10.0/ExtUtils/Command/MM.pm line 93.
> > > make: *** [manifypods] Error 2
> > > Creating /var/log/lunar/compile/Getopt-Long-2.36.bz2
> > > ! Problem detected during BUILD
> > > #
> _______________________________________________
> Lunar mailing list
> Lunar at lunar-linux.org
> http://foo-projects.org/mailman/listinfo/lunar




More information about the Lunar mailing list