in reply to Can't locate ... in @INC
The validator instructions for installing XML::DOM::BagOfTricks are wrong.
The way to (manually) install a module from a tarball is to extract the tarbal to some directory, like /tmp, then, in that directory, to run
perl Makefile.PL make make test make install
You could also try to install the module automatically by using the OS package manager (I think rpm for RedHat?): http://rpmfind.net/linux/rpm2html/search.php?query=perl%28XML%3A%3ADOM%3A%3ABagOfTricks%29 - I don't know rpm but the following could work:
rpm perl-XML-DOM-BagOfTricks
If that fails, you could also use cpan XML::DOM::BagOfTricks. But you should always use the OS package manager before manually trying to install modules into the Perl supplied by your OS.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Makefile.PL no such directory
by nac (Novice) on Jan 08, 2015 at 22:05 UTC | |
|
Re^2: Makefile.PL no such directory
by nac (Novice) on Jan 08, 2015 at 22:04 UTC | |
by syphilis (Archbishop) on Jan 08, 2015 at 23:11 UTC |