Octavian - depending on what you are trying to do, what we ended up doing was creating platform specific installers/launchers with the binary specific things (like dll, .so, dynlib, etc) and use traditional installation tools for each platform. We make a DMG for OSX, a .exe installer for win32 (built with InnoSetup), and self-extracting runtime environment for linux2.6 (built with http://www.megastep.org/makeself/ ).

The "binaries" have everything that is platform specific (like any Perl modules that are XS based). Then, when a user starts one of the binaries, it uses LWP to fetch the pure Perl PAR files that contain the actual application.

It seems like a lot of work, but we tried doing it all with PAR at first and it just wasn't intuitive to users. So we gave each platform its own installer that the users of that platform were familiar with. The actual application is all cross-platform and all in PAR files.

Hope that helps.

Mike.



Roberto C. Sánchez wrote:
On Wed, Mar 19, 2008 at 09:29:27PM +0200, Octavian Rasnita wrote:
Hi,

Is it possible to use PAR under Windows to create a .par file with a program that uses WxPerl that can be ran under Linux?

I would think such a thing would not be possible.  You might maybe be
able to get it to work in Wine.  But why on earth would you want to do
such a thing?  Why not just package it properly as a .deb or a .rpm?

Regards,

-Roberto

Reply via email to