[OSM-dev] [OT] installing CPAN modules

Joerg Ostertag (OSM Munich/Germany) openstreetmap at ostertag.name
Thu Nov 9 13:37:55 GMT 2006

On Thursday 09 November 2006 10:45, Nick Whitelegg wrote:
> >CPAN modules sometimes don't have their prerequisites defined too
> >well. If you get a message about failing tests, try scrolling back up
> >the history, see if it's looking for a module that isn't there,
> >install that, and try again. (Even a well-known module like LWP
> >suffers from this.)
> Sounds like dependency hell :-(
> >Bit::Vector, though, simply wouldn't pass one of the tests on my Mac
> >(OS 10.3) no matter what I tried. Eventually I did a force install and
> >it seems to be happy.
> OK I'll try that. But the planet-excerpt.osm script needs some other stuff
> like HTTP::Request too (why exactly, I'm not sure) so it may just be
> easier to ask Nick H to just do an apt-get after all....

The Geo::OSM::Planet module can automatically download and sanitize the newest 
planet.osm if is is not found locally on the machine. This is the reason for 
the dependency to the LWP and HTTP Modules.


More information about the dev mailing list