[OSM-dev] [OT] installing CPAN modules

Joerg Ostertag (OSM Munich/Germany) openstreetmap at ostertag.name
Thu Nov 9 14:08:23 GMT 2006

On Thursday 09 November 2006 12:17, Nick Whitelegg wrote:
> >> 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....
> >
> >Yes, I'd highly recommend this.
> OK.
> To save multiple requests to Nick H, is anyone OTOH able to give me a list
> of the Debian packages that the planet-excerpt scripts, planetosm-to-db.pl
> and the Geo::OSM package require in order to satisfy their dependencies?

I just had another short look at this:
grep "^use .*;" -rh utils/ | sed 's/ qw.*;/;/' | sort -u | 
grep -v -e 'Geo' -e ' Utils' -e constant | sed 's/;//; s/use //; s/::/\//;' | 
while read a ; do file=`locate "*/$a.pm"|head -1` ; echo "File:$file"; 
dpkg --search "$file"; done | tee asd

These are the results:

libbit-vector-perl: /usr/lib/perl5/Bit/Vector.pm
perl-base: /usr/share/perl/5.8.8/Carp.pm
perl: /usr/lib/perl/5.8.8/Data/Dumper.pm
libdate-manip-perl: /usr/share/perl5/Date/Manip.pm
libtimedate-perl: /usr/share/perl5/Date/Parse.pm
libdbi-perl: /usr/lib/perl5/Bundle/DBI.pm
libnet-dbus-perl: /usr/lib/perl5/Net/DBus/Exporter.pm
perl-modules: /usr/share/perl/5.8.8/File/Basename.pm
perl-modules: /usr/share/perl/5.8.8/File/Copy.pm
perl-modules: /usr/share/perl/5.8.8/File/Path.pm
libfile-slurp-perl: /usr/share/perl5/File/Slurp.pm
perl: /usr/lib/perl/5.8.8/GDBM_File.pm
cpan-libgetopt-long-perl: /usr/local/share/perl/5.8.7/Getopt/Long.pm
libwww-perl: /usr/share/perl5/HTTP/Request.pm
perl-base: /usr/lib/perl/5.8.8/IO/File.pm
libwww-perl: /usr/share/perl5/LWP/Simple.pm
libwww-perl: /usr/share/perl5/LWP/UserAgent.pm
perl-modules: /usr/share/perl/5.8.8/Math/Trig.pm
libpdf-api2-perl: /usr/share/perl5/PDF/API2.pm
cpan-libpod-parser-perl: /usr/local/share/perl/5.8.7/Pod/Usage.pm
perl-base: /usr/lib/perl/5.8.8/POSIX.pm
perl: /usr/lib/perl/5.8.8/Storable.pm
perl-base: /usr/share/perl/5.8.8/strict.pm
perl-modules: /usr/share/perl/5.8.8/Time/Local.pm
perl-tk: /usr/lib/perl5/Tk.pm
perl-tk: /usr/lib/perl5/Tk/Image.pm
perl-tk: /usr/lib/perl5/Tk/Label.pm
perl-tk: /usr/lib/perl5/Tk/Menu.pm
perl-tk: /usr/lib/perl5/Tk/Pane.pm
perl-base: /usr/share/perl/5.8.8/vars.pm
perl-base: /usr/share/perl/5.8.8/warnings.pm
libtemplate-perl: /usr/lib/perl5/Template/Plugin/XML/Simple.pm


More information about the dev mailing list