Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Bundles and offline installation issues

by admiral_grinder (Pilgrim)
on Sep 16, 2009 at 14:56 UTC ( [id://795637]=note: print w/replies, xml ) Need Help??


in reply to Bundles and offline installation issues

I looked into do that too but found it more of pain than anything. I kept running into annoying differences and various things that just didn't work. One of the main kickers was there I needed module versions that where no longer listed on CPAN.

What I did wasn't any easier though. I ended up writing a script that extract, patch, build, test, and install a list of modules feed to it by a xml file.

I used system calls to handle all the operations on the modules. Cross platform was easy since I used GNUWin32 builds of tar, gzip, patch, and unzip.

In the xml file I would define the modules I wanted to use. Each module had their version, module prereqs, filename of the tar.gz file, and which platform to use it on (sometimes a version A works better on windows than version B which works great on linux). A few modules even needed to have environment variables defined and then post build instructions to copy dlls to arch/auto.

I spent about a week on it, but most of the time was testing and adding little improvements here and there for it. It really makes life simple since all I have to do to support a new module is add it to the xml file and drop the .tar.gz file into a sub directory. In the end it was around 1000 lines, but I do use a lot of whitespace.

I'm not sure if I will get to make it public, but it wasn't that much effort to write it up and I bet a couple of people looking at it can make it pretty solid too.

  • Comment on Re: Bundles and offline installation issues

Replies are listed 'Best First'.
Re^2: Bundles and offline installation issues
by decebel (Acolyte) on Sep 16, 2009 at 15:42 UTC
    Hey .. this xml thing looks awesome. Any chance you could publicize it with the world? Shamelessly saying ... you want to share it!! - Dece

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-04-24 05:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found