Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Compiler for Perl modules

by nite_man (Deacon)
on Apr 24, 2003 at 09:18 UTC ( [id://252809]=perlquestion: print w/replies, xml ) Need Help??

nite_man has asked for the wisdom of the Perl Monks concerning the following question:

Hi brother,
Anybody know how can I comple a some CPAN module under windows without ms visual studio?
TIA.
      
--------------------------------
SV* sv_bless(SV* sv, HV* stash);

Edited 2003-04-24 by mirod: fixed the title (was "Compler for Perl modules")

Replies are listed 'Best First'.
Re: Compiler for Perl modules
by smitz (Chaplain) on Apr 24, 2003 at 09:38 UTC
    Not really an answer to your question, but have you looked at ActiveStates website?
    They have a large number of pre-compiled CPAN modules for your downloading pleasure.
    There's a zip index here if cant use PPM.

    Smitz
      Thanks smitz,
      I know it but sometimes I need install some modules which don't consist in the PPM repository (for example, Net::Pcap). Only the one way which I know to do it - use nmake from ms visual studio but I wouldn't use this programm tool because it is heavy (for computer resources) and not OPEN SOURCE product.
      If I'm not right, please, correct me.
            
      --------------------------------
      SV* sv_bless(SV* sv, HV* stash);
      
        Odd you should mention Net::Pcap, I knew the links from my previous reply as I was looking for the same module,
        and it is in there, somewhere.
        But to answer your question, no idea. Would DJGPP work? I really dont know. Or, if you are feeling lucky, you
        could ask podmaster to compile a module into a ppm for you, as he hosts his own repository somewhere.

        Smitz
Re: Compler for Perl modules
by zby (Vicar) on Apr 24, 2003 at 09:55 UTC
      Thanks zby,
      This is a good way. I thought about it but I think cygwin consists Perl which is not the same with Activestate Perl varsion and if I use Activestate Perl on my computer may I install some modules to its with using cygwin?
            
      --------------------------------
      SV* sv_bless(SV* sv, HV* stash);
      
Re: Compler for Perl modules
by benn (Vicar) on Apr 24, 2003 at 10:11 UTC
    There are a few C compilers for Windows available for download - Mingw, Borland etc., or you can use gcc under a Cygwin environment, which is probably safest as that's the 'standard' compiler in the Perl world. I'm afraid I haven't tried compiling any CPAN modules with these, so I can't report as to their effectiveness, but failing finding a PPM at Activestate, they're probably your best hope.

    Cheers,
    Ben.
      The compiling works most time without problems - you can even use -MCPAN for installation. But there are bugs sometimes.
      Thanks a lot, benn,
      I will try to use Mingw.
            
      --------------------------------
      SV* sv_bless(SV* sv, HV* stash);
      
Re: Compiler for Perl modules
by bart (Canon) on Apr 24, 2003 at 12:35 UTC
    Anybody know how can I compile a some CPAN module under windows without ms visual studio?
    Have somebody else do it for you? :]

    PodMaster AKA crazyinsomniac has a repository of his own compiled modules, for ActivePerl and compatible — like IndigoPerl. Check it out at http://crazyinsomniac.perlmonk.org/perl/ppm/. Read also what else he writes there: if there is an interesting module (= not just for you) that is indeed missing a binary distribution, and that needs one, he might just make one. crazyinsomniac++ !

      I need in Net::Pcap module. I didn't find it the any ppm repositories.
      Well I see easy way to resolve my problem - install ms visual studio and use it for install any mudules from CPAN like under my favourite OS Linux :).
            
      --------------------------------
      SV* sv_bless(SV* sv, HV* stash);
      
Re: Compler for Perl modules
by nite_man (Deacon) on Apr 24, 2003 at 09:45 UTC
    I think that before to vote negatively high-bred person should write some comment (in my opinion) especially because a goal of my posts is a find of usefull suggestions but is not big point rating!
    Thanks.
        P.S. Sorry for my misprint, of course title of my question is "Compiler for Perl modules".
    
          
    --------------------------------
    SV* sv_bless(SV* sv, HV* stash);
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://252809]
Approved by broquaint
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-07-15 00:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.