Copyright (c) 2002 Petr Pajas
To install xsh, first install all required modules as described below. Then install xsh either
From CPAN:
$ perl -MCPAN -e shell
cpan> install XML::XSH
From tar-ball
$ unzip xsh-1.??.tar.gz
$ cd xsh-1.??
$ perl Makefile.PL
$ make
$ make install
you may use `perl Makefile.PL PREFIX=<prefix>' to install to a directory tree different from /usr
or
For example:
cp xsh /usr/local/bin
cp -R XSH/ /usr/local/lib
chmod 775 /usr/local/bin/xsh # if your tar did not preserve this
Parse::RecDescent (>=1.80) Text::Iconv (>=1.2) XML::LibXML (>=1.31) XML::LibXSLT (>=1.31) Term::ReadLine::Perl
A bundle of all this modules and below mentioned libraries may be downloaded from author's homepage at: http://www.matfyz.cz/pajas
Modules XML::LibXML and XML::LibXSLT require the following libraries available at http://www.xmlsoft.org:
libxml2
libxslt
and also seem to depend on the following Perl modules (avalable at CPAN http://www.cpan.org):
XML::SAX::Base (>=1.00) XML::SAX (>=0.02)
If you have a direct internet connection, you may install Perl modules from CPAN by typing
$ perl -MCPAN -e shell
answering few initial questions and installing the modules one by one with
cpan> install <module-name>
where <module-name> is one of the modules mentioned above.