From: Mark D. <mar...@zn...> - 2006-12-05 21:29:04
|
Eric, Take a look at the source for Wx::Perl::Packager on CPAN. Its pure perl so you should be able to just download and browse. For any kind of bundling of Wx, you have to tell Wx where it can load the none core libraries from. Wx has some hooks (via Wx::Mini) that allow you to do this. Wx::Perl::Packager does this for PDK and PAR and works (at least to a basic tested level) for those packaging methods on both Win32 and Linux. I have access to a 10.3 Mac so if you leave http://scratchcomputing.com/svn/Module-Build-Plugins-MacBundle/trunk/ I'll use this to see if I can make the necessary changes to Wx::Perl::Packager so it can help with an appbundle on the Mac. I probably won't get to this before the weekend though so if you take a look at what Wx::Perl::Packager does, you might be able to solve the problem before then. Of course, I'm making the assumption that this is really the same problem. Regards Mark Eric Wilhelm wrote: > I'm building an appbundle (with ExtUtils::MacMaker) on 10.4, localizing > all of the wx dylibs, libperl, .bundles, etc -- but I get this when > trying to run on a 10.3 mac with no perl installed: > > dyld: .../wxdo.app/Contents/MacOS/wxdo Undefined symbols: > .../wxdo.app/Contents/Resources/Perl-Libraries/auto/Wx/Html/Html.bundle > undefined reference to __Z27wxPli_add_constant_functionPPFdPKciE > expected to be defined in a dynamic image > > The odd thing is that I only get this when I load something from the > extensions. I can use the wxcore from a standalone appbundle without > any trouble, so it seems like some sort of problem in wxbootstrap(). > > Unfortunately, apple makes it rather difficult for me to test on a 10.4 > mac with no perl (plus, it seems to be part of the standard install > now.) > > Any thoughts? If anyone wants to poke at it, just build the wxdo demo > from here: > > http://scratchcomputing.com/svn/Module-Build-Plugins-MacBundle/trunk/ > > Thanks, > Eric |