Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Keep "Free MSVC tools + Activestate to compile CPAN Modules" on front page!

by tachyon (Chancellor)
on Aug 31, 2004 at 23:27 UTC ( #387356=note: print w/ replies, xml ) Need Help??

Comment on Re: Keep "Free MSVC tools + Activestate to compile CPAN Modules" on front page!
Re^2: Keep "Free MSVC tools + Activestate to compile CPAN Modules" on front page!
by Wassercrats on Sep 01, 2004 at 00:35 UTC
    Someone pointed me to Installing Modules that include elements coded in C months ago, which the tutorial you mentioned also points me to. When I read

    Getting modules compiling on Win32 can be tricky. See A Practical Guide to Compiling C based Modules under ActiveState using Microsoft C++. Just getting cygwin/MinGW and gcc is not enough. The easiset solution is to try to find a precompiled binary version (try ActiveState for a PPM or the Author) or email the Author the tale of your woes. If you are using Win32 expect the author to suggest you get a real OS but.....

    I decided not to try it with those instructions. They sound incomplete. I looked elsewhere, and found nothing.

    Even though I praised jZed, there are too many components to worry about and too little support (that works) for installing modules requiring C, and I will still avoid them as long as I can, and not depend on them very much even if I get one to work.

      I'm lately of the growing opinion that some people should not be allowed to compile anything.

      If you want to compile, you should know what you're doing, because, assuming you messed up somewhere, it is going to be a big pain to get support.

      You refer to "installing modules requiring C" when in fact you are not installing, you are compiling, and there's a big difference. So I usually advise people who want to compile things, to learn C and know what is really going on, otherwise, look for binaries. There are people who provide binaries (PodMaster for example) for ActiveState.


      He who asks will be a fool for five minutes, but he who doesn't ask will remain a fool for life.
      Chady | http://chady.net/
      Are you a Linux user in Lebanon? join the Lebanese Linux User Group.
        I don't know what needs compiling or installation and what doesn't. I just wanted to use a module, and PPM didn't install it, compile it, or whatever, so I couldn't use it. Now I don't even know if jZed's solution would let me use modules with C files.

        The page tachyon linked to referred to the page about installation. It wasn't clear, but it seemed like I had to follow those instructions too.

        You said: "So I usually advise people who want to compile things, to learn C and know what is really going on, otherwise, look for binaries."

        And how do you learn C? With instructions. If someone sees what looks like instructions for doing something he wants to do, he should be able to follow them with success. Unfortunately, many of the "best" instructions I've seen for programming related stuff are awful, so I wouldn't be confident I could get a C based module to work even if I knew C.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://387356]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2014-12-29 08:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (185 votes), past polls