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 | [reply] [Watch: Dir/Any] |
|
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);
| [reply] [Watch: Dir/Any] [d/l] |
|
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
| [reply] [Watch: Dir/Any] |
Re: Compler for Perl modules
by zby (Vicar) on Apr 24, 2003 at 09:55 UTC
|
| [reply] [Watch: Dir/Any] |
|
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);
| [reply] [Watch: Dir/Any] |
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. | [reply] [Watch: Dir/Any] |
|
The compiling works most time without problems - you can even use -MCPAN for installation. But there are bugs sometimes.
| [reply] [Watch: Dir/Any] |
|
Thanks a lot, benn,
I will try to use Mingw.
--------------------------------
SV* sv_bless(SV* sv, HV* stash);
| [reply] [Watch: Dir/Any] |
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++ !
| [reply] [Watch: Dir/Any] |
|
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);
| [reply] [Watch: Dir/Any] |
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);
| [reply] [Watch: Dir/Any] |