Hi Monks,

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

In reply to linux modules cpan and things not found by wolis

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.