wolis has asked for the wisdom of the Perl Monks concerning the following question:
For the first time in my life I have to install modules under linux (I have had no problems with Windows PPM)
I searched and found 128077 some information here about using CPAN and I have sucessfully installed a couple of modules - so far so good.
Now I try installing XML::DOM and a whole bunch of dependencies arise which I answer 'yes'. However something is not quite right and it fails on the test saying is can't locate XML/parser.pm in @INC.
No probs.. I try installing that package:
Running install for module XML::Parser Running make for M/MS/MSERGEANT/XML-Parser-2.34.tar.gz Is already unwrapped into directory /root/.cpan/build/XML-Parser-2.3 +4 Has already been processed within this session Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible
Now one wise person said that:
2. Unfortunately, many CPAN authors are still not used to -- or don't know about -- setting PREREQ_PM in Makefile.PL. So be prepared to get the "Can't locate foo/bar.pm in @INC" error while running make test.
Can anyone tell me how I can prepare myself for this?
A) Should I try and find the author of the dependant module and ask for a sollution?
B) Is there a way of finding out exactly what went wrong?
C) Could it be my version of Perl - in which case I would need to updated it (how I dont know yet)
D) Is the test irrelevent and somehow 'forcing' it will suffice?
If you can answer any of these that would be a great help.
PS Thanks,
___ /\__\ "What is the world coming to?" \/__/ www.wolispace.com
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: linux modules cpan and things not found
by chromatic (Archbishop) on Aug 10, 2004 at 03:59 UTC | |
|
Re: linux modules cpan and things not found
by tachyon (Chancellor) on Aug 10, 2004 at 04:09 UTC | |
|
Re: linux modules cpan and things not found
by PodMaster (Abbot) on Aug 10, 2004 at 04:20 UTC |