[Pdx-pm] Dependency Hell

Roderick A. Anderson raanders at acm.org
Tue Mar 9 13:35:14 CST 2004

On Mon, 8 Mar 2004, Tom Phoenix wrote:

> On Mon, 8 Mar 2004, Roderick A. Anderson wrote:
> > I'm trying to install File::Spec which needs Test::More but Test::Simple
> > needs a piece of File::Spec.  Any ideas as to how I can get past this?
> Install everything simultaneously?

Not sure I follow this.  (Looking back I get it now.  Sloped shoulders 
and flat forehead :-)

  Typically I download a CPAN tarball, unpack it, move into the directory,
do a perl Makefile.PL, watch for errors (missing utilities/packages).  If
something is missing I download it and do the same for it.  Usually I get
only so deep and then work my way out finally getting back to the package
I'm installing.  Sometimes it takes several times doing this.

> Seriously, try manually installing one of the modules, instead of doing it
> through the CPAN shell. (That is what you're doing, right?) If that module
> refuses to go first, find out which one will go first. And you could
> install a module even if its tests fail (but consider going back and doing
> it again, too, once you can run the tests).

Ah.  This is what I'm doing. (see above).  The real pit is File::Spec
seems to require a part of File::Spec to install -- abs2rel or rel2abs if
I remember correctly. (Too many projects going on at the same time.)

> Also, if you're installing anywhere outside the standard @INC paths on
> your system, be sure that you have PERL5LIB (or equivalent) set properly,
> else your later-installed modules won't be able to find the earlier ones.

I'll look into this but I tend to do it the way it's suppose to be done.  
Nothing fancy going on here.

> Hope this helps!

Push comes to shove I'll go with an OS upgrade and try again.  (geez that
feels like Windows) I have a 'newer' system I can try an install on so
that should tell me is it is tied to the old RHL install, an actual buglet
or id10t on my part.

Thanks for the suggestions,

    "Open Source Software - You usually get more than you pay for..."
     "Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL"

More information about the Pdx-pm-list mailing list