Re: Help with Mac Bundling

[email protected] (Mattia Barbon)
Newsgroups perl.sdl.devel
Message-ID <[email protected]>
Kartik Thakore wrote:

   Hi,

> I am the maintainer for SDL Perl. We are having trouble bundling for 
> MacOSX. We are using perl Build bundle.
> 
> We have some success with it but we can't even run 'cpan -t .' on it. I 
> have asked around an padre users say wxperl bundles well on MacOSX.

   The bundle is built using the code in 
http://wxperl.svn.sourceforge.net/viewvc/wxperl/wxPerl/trunk/cpp/wxPerl.osx/

the wxPerl binary that gets installed is:

#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>

int main( int argc, char **argv )
{
     argv[0] = "/install/path/auto/Wx/wxPerl.app/Contents/MacOS/wxPerl";
     execv( argv[0], argv );
     perror( "wxPerl: execv" );
     exit( 1 );
}

where wxPerl.app is the bundle created above.

HTH
Mattia
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.