PodMaster will correct me if I'm wrong on this, but if you didn't build the version of perl that you are using do do the "perl makefile.pl" step with the same compiler as you are trying to use to build the module, then the makefile produced will not work.

If you have an AS version of perl installed, these are built using MS VC++ toolsets and libraries, and this information is retained in the configuration files that are shippped with AS perls.

When you try to build a module and you perform the "perl makefile.pl" step, makefile.pl extracts the name of the compiler, linker, libraries and other info from that configuration and uses it when it generates the makefile for building the module. If you don't have the same set-up (compiler etc) as was used to build the version of perl you are running, then the makefile generated is useless.

You either need to locate the binary version of the module you are trying to install in a PPM/PPD format or build a version of perl using the toolset you do have, and then use that to perform the "perl makefile.pl" step.

I think I also saw mentioned somewhere that it was possible to modify the configuration to reflect the toolset that you have, but there are no guarentees that modules built using the modifed configuration will work correctly with a version of perl built using the original configuration.


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"When I'm working on a problem, I never think about beauty. I think only how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong." -Richard Buckminster Fuller


In reply to Re: Math::Pari by BrowserUk
in thread Trouble compiling Math::Pari on Win32 by proncb

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.