Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??
  • Bad command or file name
You should investigate where these are coming from.
  • Unable to find a perl 5 (by these names: C:\perl\bin\Perl.exe miniperl perl perl
This looks like the version of Perl you are using doesn't realize that '\\' is a path delimiter. If it did, it would strip the first part and be looking for "perl.exe" in your PATH. I suspect both of these problems stem from trying to combine Unixish tools and ActivePerl. A lot of work has gone into getting Perl to work under Win32 and a lot of work has gone into building Unixish things for Win32, including making those Unixish things able to build and use Perl in a Unixish manner. However, using ActivePerl in a Unixish environment for Win32, is going to generate a few problems.
  • I used GNU Make since nmake didn't agree with the syntax of the makefile

This means that the version of Perl you are using has not been configured to be used with nmake.

Which brings us to the golden rule when installing modules:

  • Build (and install) the module using the same tools you used to compile perl!

"Ah," you say, "but I didn't compile Perl."

Which lead to two question: "Why not?" and "Then what did whoever compiled it for you use?"

Those two questions lead to two solutions. First, you can go build Perl yourself and then installing modules works the way it was originally designed to.

Second, you can try to duplicate the environment that ActiveState (or whoever) used to compile your Perl so that installing modules will work.

Third (surprise!), you can try to hack the configuration files (which are set up automatically when you compile Perl) to match whatever environment you have lying around for building modules. This may or may not work. Support for this is slowly growing, especially for the case of using free tools to build/install modules for "ActivePerl".

I think if you look around you can find FAQs covering the last two choices. The first choice is covered in the instruction files that come with the Perl source code.


In reply to Re: Installing modules on Win32 by tye
in thread Installing modules on Win32 by SuperCruncher

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!
  • 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, 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, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            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.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others contemplating the Monastery: (9)
    As of 2014-08-22 04:15 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      The best computer themed movie is:











      Results (146 votes), past polls