Skip to content

XML/Parser.pm problem #1

Description

@Rub21
    ruben@rub21:~/apps/osm_visualization/data$ ./get-edits 489.osc.gz 37.716045 -122.51781 37.817006 -122.34924 > sf489.geojson
    Can't locate XML/Parser.pm in @INC (you may need to install the XML::Parser module) (@INC contains: /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .) at ./get-edits line 4.
    BEGIN failed--compilation aborted at ./get-edits line 4.

Activity

  1. Rub21 commented on Jun 10, 2014

    @Rub21
    OwnerAuthor

    Solution

        ruben@rub21:~/apps/osm_visualization/data$ sudo su
    root@rub21:/home/ruben/apps/osm_visualization/data# cd /
    root@rub21:/# perl -e shell -MCPAN
    cpan[1]> install XML::Parser
    root@rub21:/# exit
    ruben@rub21:~/apps/osm_visualization/data$ ./get-edits 489.osc.gz 37.716045 -122.51781 37.817006 -122.34924 > sf489.geojson
    

    Fuente:

    1. change to root
      su -
    2. bring up CPAN tool
      perl -e shell -MCPAN
    3. install module
      install XML::Parser

    enjoy

    http://www.linuxquestions.org/questions/programming-9/can%27t-locate-xml-parser-pm-577422/#post2860513

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions