hi monks,

I'm trying to install the Prima IPA module on my machine (WinXP running perl 5.8.0). The docs say to unpack, type makefile and make. I eventually realized that make is actually meant to be nmake. I used that (both from inside the MinGW interface and the command window) but got the error listed in this thread. So I downloaded MinGW and installed it, as per the advice in the thread, but got the same error when I typed nmake. Using the nmake file that came with MinGW gives the error:

cl -c -nologo -Gf -W1 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_ST +RICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DPERL_IMPLICIT_CONTEXT -DPERL +_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -W1 -nologo -MD -Zi + -DNDEBUG -O1 -DHAVE_CONFIG_H=1 -IC:\home\src\1\Prima\include -IC:\ +home\src\1\Prima\include\generic -IC:\Perl\lib\CORE -Iinclude -Iinclu +de\generic IPA.c -FoIPA.obj mingw32-make.exe: cl: Command not found mingw32-make.exe: *** [IPA.obj] Error 127

Any ideas about how to install this module?

Update: I now get the error:

Can't read makefile ': Makefile IPA.cls'

I think this means I'm missing a number of .h files. The docs say:

If some of the required libraries or include files can not be found, INCPATH+=/some/include and LIBPATH+=/some/lib semantics should be used to tell Makefile.PL about these.

What's the INCPATH and LIBPATH, and why would adding to them find the missing files?


In reply to installing modules with gcc by dannoura

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.