Personal tools
You are here: Home Downloads SOS Cookbook (Perl / ASCII ) Perl Module Installaion Tips
Document Actions

Perl Module Installaion Tips

by Eric Bridger last modified 2006-10-05 09:08

Tips for installing the required XML::LibXML perl module on various systems.

Installing XML::LibXML

The oostethys_sos CGI script relies on the existence of libxml2 and it's Perl module interface XML::LibXML. It also relies on the CGI.pm perl module, but that is a fairly common module usually included with the basic Perl installation.

Red Hat Linux


Perl Module on CPAN
http://search.cpan.org/dist/XML-LibXML/

Libxml2 C libary downloads.
http://xmlsoft.org/  

Typical CPAN install


   perl -MCPAN -e 'shell'
That dumps you to a shell prompt like:
shell> install XML::LibXML
which should take care of fetching, configuring dependencies, etc.

If this fails, you will probably need to install libxml2 and libxml2-devel. on
redhat (and I believe also Debian?) there are separate packages for binaries
and header files. that is, if you want the stuff in /usr/include, which you
need for building software on top of any given package, then you generally
need to install the -devel package as well...

Libxml2 tar balls and RPM's

ftp://xmlsoft.org/libxml2/


OOSTethys.org: hosted by GoMOOS | powered by Plone