From: Steven Palm <n9yty@n9...> - 2004-04-15 04:24:29
I sent this over to the PAR group, but since it is wxPerl, I thought
I'd see what others here are doing with their wxPerl programs to create
standalone app bundles which can be launched from the Finder.
I am trying to use PAR to build a MacOS X application bundle of a
program developed using wxPerl.
If I use "pp -o myprog myprog.pl", and then do a `wx-config --rezflags`
on it to add the necessary resource forks, it creates a binary that
runs OK on my development machine. However, if I try to give it any
commandline parameters, it starts to launch and then dies giving me
RegisterProcess failed (error = -50)
Also, if I attempt to put this created binary into an application
bundle I get the same error in the console.log and it dies.
I'll stop there for now and see if anyone has any pointers, maybe I
don't have to go any further because someone has already found a
solution... My "workaround" was to create a Foundation Tool in XCode
that pulls keys from the Info.plist file to know which EXE to launch
from the Resources directory of the application bundle and what command
line parameters to pass to it. This "sort of works", but I'd love to
use PAR to put all the parts together. If I launch the binary created
by `pp` in my program I get the same error referenced above.
Get latest updates about Open Source Projects, Conferences and News.