Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

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

by Chady (Priest)
on Sep 01, 2004 at 08:06 UTC ( #387432=note: print w/ replies, xml ) Need Help??


in reply to Re^4: Keep "Free MSVC tools + Activestate to compile CPAN Modules" on front page!
in thread Keep "Free MSVC tools + Activestate to compile CPAN Modules" on front page!

And how do you learn C?

Get enrolled in a class, or get a good book on the subject.

People giving instructions on compiling a perl module are doing just that; giving instructions on compiling a perl module, they're not givin a lesson on C. So the instructions you will find would be specific to that module, and will not usually help you compiling, for example, Mozilla.

Unfortunately, many of the "best" instructions I've seen for programming related stuff are awful

That's cause you're looking at the problem from the wrong direction. If I publish a module that has an XS extension that relies on the 'foobar' library, I'm not gonna explain in the documentation how the operating system loads libraries, and how the compiler links the code, etc... that would be a different type of problem. All that you're likely to get in the docs would be information about how the module works with 'foobar' and specific issues you need to note, and that's all.

Again: want to compile effectivly? learn C. Otherwise, look for binaries, or get someone to compile them for you.


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.


Comment on Re^5: Keep "Free MSVC tools + Activestate to compile CPAN Modules" on front page!
Re^6: Keep "Free MSVC tools + Activestate to compile CPAN Modules" on front page!
by Wassercrats on Sep 01, 2004 at 08:24 UTC
    You said "...the instructions you will find would be specific to that module"

    I don't think these are meant to be specific to a particular module. And I answered the question about how to learn C. It was Rhetorical. You learn it with instructions. My problem with instructions isn't that they don't apply to things they aren't meant to apply to, unless they mislead you into thinking they do.

    I don't mind cross references, or "issues I need to note," but too often I don't even find that level of help from instructions.

    If it's really that difficult to use modules requiring C, then there should be a warning about that. I shouldn't even have to "browse" the files to see that there are C files. "Compiling" sounds simple, as though you just point a compiler at the script. It seems like it should require the most basic instructions to allow me to do it for my OS (XP) and version/build of Perl.

      There is a flag against CPAN modules indicating this.

      See this CPAN page for instructions, paying particular attention to the line that reads:

      Perl-only, no compiler needed, should be platform independent

      Update: Actually, they're not instructions, they're something entirely different, so it's OK to look :-)

      Regards,

      PN5

        The information there looks very helpful, however I've tried searching (search.cpan.org) a few modules and can't find any reference to DLSIP flags.

        Where can I read which DLSIP flags a particular module uses?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2014-07-28 08:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (193 votes), past polls