Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^3: RFC: Compiling C/C++ based Modules under ActiveState using MinGW

by TGI (Vicar)
on May 10, 2007 at 15:54 UTC ( #614668=note: print w/ replies, xml ) Need Help??


in reply to Re^2: RFC: Compiling C/C++ based Modules under ActiveState using MinGW
in thread RFC: Compiling C/C++ based Modules under ActiveState using MinGW

I think I see where you're coming from, btw - doing it that way means that PPM keeps track of everything that's installed.

Yep. My rationalization for suggesting PPM::Make is that it a basic part of the module acquisition process ( Download -> Build -> Install ). I guess my thinking lumped build and install together, while you were focusing just on the build portion of the process. I definitely see your point.

Your node is certainly a welcome update. I recall the frustration I went through trying to get some modules compiled and installed while struggling under a ludicrous deadline. A resource like this would have been invaluable. I hope my above response was not taken as an attempt to denigrate your contribution.

Maybe when I get out from under my latest ludicrous deadline, I'll get around to writing a review of PPM:Make or a tutorial on building PPMs. Anyone know where I can purchase a metric ton of tuits?


TGI says moo


Comment on Re^3: RFC: Compiling C/C++ based Modules under ActiveState using MinGW
Replies are listed 'Best First'.
Re^4: RFC: Compiling C/C++ based Modules under ActiveState using MinGW
by syphilis (Canon) on May 10, 2007 at 17:20 UTC
    you were focusing just on the build portion of the process

    Not really ... the difference seems to be that I'm suggesting we run '*make install' (where '*' is either 'd' or 'n'), whereas you're suggesting that, having built the module, one then builds a PPM, then installs it via 'ppm install ...".

    I hope my above response was not taken as an attempt to denigrate your contribution

    Good Heavens !!, no :-)

    I'll get around to writing a review of PPM:Make or a tutorial on building PPMs

    Excellent idea, and I encourage you to do so. I've built a few PPM's from time to time - by tar'ing and gzip'ing the blib (using GnuWin32's tar and gzip) and by hand-creating the ppd file. I'm sure that PPM::Make simplifies the process.

    One thing I wonder about (having never used PPM::Make) is how it handles the situation where a dll needs to be installed via a post install script. See, for example the line <INSTALL EXEC="PPM_PERL" HREF="http://theoryx5.uwinnipeg.ca/ppms/scripts/install_pdl">install_pdl</INSTALL> at http://theoryx5.uwinnipeg.ca/ppms/PDL.ppd. Does PPM::Make catch the need to insert that 'INSTALL EXEC' entry ? Does it write the post install script ? (Just a couple of issues for you to address when you come to write that tutorial.)

    Thanks for your input.

    Cheers,
    Rob

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (9)
As of 2015-07-30 08:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (270 votes), past polls