Using PPMs on Mac OSX

If you wish to use ActivePerl on Mac OSX the the PPMs provided at this site will give you a binary build of Wx for GUI development.  ActivePerl is a good choice on Mac OSX if you intend distributing your Wx applications to other machines perhaps with PerlApp or to run natively on an install of ActivePerl. It can also be beneficial if you are building an application to deploy on more than one platform to have a reasonable degree of conformity in your Perl and Wx installation across all the platforms you wish to deploy to.

The PPM's at this site are built as Universal Binaries for ActivePerl 5.8 / 5.10 / 5.12 builds 827/1007/1200 and above. The minimum Mac OSX version required is 10.4.

If you accepted the default installation options for ActivePerl, it is likely you have perl installed at

/usr/local/ActivePerl-5.12

Use thePerl Package Manager (/usr/local/ActivePerl-5.12/bin/ppm) to install Wx ppms as described here.

Again, assuming you accepted defaults, the PPMs you installed will be placed in

/Users/yourname/Library/ActivePerl-5.12

The OSX system expects GUI applications to be provided as 'app' bundles. The PPMs you installed (as with the standard CPAN distribution) placed a special executable, wxPerl, at

/Users/yourname/Library/ActivePerl-5.12/bin/wxPerl

You should use this to execute your wx development scripts. You will use it to execute the Wx::Demo script

/Users/yourname/Library/ActivePerl-5.12/bin/wxPerl /Users/yourname/Library/ActivePerl-5.12/bin/wxperl_demo.pl

NOTE: Mac OSX has its own version of Perl installed that includes a build of wxPerl. Be sure that your environment is set appropriately so that you are calling the correct Perl.



 




 






Blogs

Binary Oasis

Recent Entries

Perl 5.14 Support
on Binary Oasis
PPMs Updated - Wx 0.99 / wxWidgets 2.8.12
on Binary Oasis
Cava Packager
on Binary Oasis

Groups