ask83 has asked for the wisdom of the Perl Monks concerning the following question:

Hey Fellow Monkers-

I have a question that I know is being asked all over the net and I am determined to find an answer. I have a wxPerl that works perfectly on Mac OS X 10.4 and Window's systems. On the windows systems, I am able to include all of the necessary libraries and my application works as expected (the same results are on OS X 10.4 since it now ships with wxPerl).

When I dug deeper into 10.4, I found multiple Dylib libraries but they are most likely compiled specifically for 10.4. I spoke to a few of my sources and found the following courses of action but would like to get everyone's opinion before I continue A) I can make separate versions of my app for each version of OS X. There are 2 problems with this, 1) I would obviously have separate apps for each OS, and 2) I would have to find a way to change the statically linked libraries so that it is included in my .app. I believe this is the worst case scenario.

B) I was told that using XCode, you CAN compile a program that will be backwards compatible with any version of OS X. If this is true, then I would need to make a perl project within XCode (Which I do not know how to use currently and add the approriate libraries, and XCode will bundle my app automatically.

So I am open to any suggestions. Has anyone been able to distribute a wxPerl app in OS X (not 10.4) and been successful? Any help is greatly appriciated. Thanks!

--Adam
  • Comment on Redistributable/Standalone wxPerl Application for Mac OS X 10.3

Replies are listed 'Best First'.
Re: Redistributable/Standalone wxPerl Application for Mac OS X 10.3
by Cody Pendant (Prior) on May 31, 2005 at 01:40 UTC
    I don't know the answer, but I bet someone on the macosx@perl.org mailing list does, see http://lists.perl.org -- I reckon CamelBones is what you want.


    ($_='kkvvttuu bbooppuuiiffss qqffssmm iibbddllffss')
    =~y~b-v~a-z~s; print
      I second the CamelBones suggestion.

      The recently released CamelBones 1.0 lets you write stand-alone, redistributable OS X applications (they run on 10.2 to 10.4 without the end user needing to install anything), that you develop with XCode/InterfaceBuilder in the same way as other Cocoa applications. The only difference is that you code in Perl rather than ObjectiveC (you can mix in ObjectiveC if you feel like it).

      Of course, you lose the cross-platform capabilities of wxPerl, so this is not an option if you need to support Windows as well.