Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Help with Mac Bundling

10 views
Skip to first unread message

Kartik Thakore

unread,
Nov 10, 2009, 6:18:45 PM11/10/09
to mba...@users.sourceforge.net, sdl-...@perl.org
Hello Mattia,

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.

How do you accomplish this magical feat? Halp!!

Thank you,

Kartik Thakore

Mattia Barbon

unread,
Nov 11, 2009, 4:18:57 PM11/11/09
to Kartik Thakore, sdl-...@perl.org
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

0 new messages