Installing perl modules on MacosX
I'm trying to get an xml file from my Blackberry GPS tracker software parsed to correct the negative altitude entries which make the tours in google earth fly too low.
As I've used perl befor eon windows I thought I'd use perl again. Using google I found instructions on parsing xml that suggests using CPAN to install xml parsing perl modules.
At the OSX terminal I issued the following command from the article
perl -MCPAN -e shell
After answering a few easy questions I get
Quite a few of these programs are not found in the path, the first, being make. Try as I might I couldn't find it locally. So back to google I went but still I've been unsuccessful. As you can see its after lynx, wget, ncftp and gpg too.
any help on setting up perl and installing additional modules is greatly appreciated.
Thanks
CJ
As I've used perl befor eon windows I thought I'd use perl again. Using google I found instructions on parsing xml that suggests using CPAN to install xml parsing perl modules.
At the OSX terminal I issued the following command from the article
perl -MCPAN -e shell
After answering a few easy questions I get
The CPAN module will need a few external programs to work properly. Please correct me, if I guess the wrong path for a program. Don't panic if you do not have some of them, just press ENTER for those. To disable the use of a download program, you can type a space followed by ENTER. Where is your gzip program? [/usr/bin/gzip] Where is your tar program? [/usr/bin/tar] Where is your unzip program? [/usr/bin/unzip] Warning: make not found in PATH Where is your make program? [] Warning: lynx not found in PATH Where is your lynx program? [] Warning: wget not found in PATH Where is your wget program? [] Warning: ncftpget not found in PATH Where is your ncftpget program? [] Warning: ncftp not found in PATH Where is your ncftp program? [] Where is your ftp program? [/usr/bin/ftp] Warning: gpg not found in PATH Where is your gpg program? [] What is your favorite pager program? [/usr/bin/less] What is your favorite shell? [/bin/bash]
Quite a few of these programs are not found in the path, the first, being make. Try as I might I couldn't find it locally. So back to google I went but still I've been unsuccessful. As you can see its after lynx, wget, ncftp and gpg too.
any help on setting up perl and installing additional modules is greatly appreciated.
Thanks
CJ
30x 20"iMac + others, using a MacBook Pro most of the time, Mac OS X (10.5.8)