Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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

by syphilis (Canon)
on May 10, 2007 at 17:20 UTC ( #614708=note: print w/ replies, xml ) Need Help??


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

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


Comment on Re^4: RFC: Compiling C/C++ based Modules under ActiveState using MinGW
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (13)
As of 2015-07-30 11:47 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 (271 votes), past polls