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