On Monday, February 10, 2003, at 03:16 AM, Thilo Planz wrote:

(I suppose you have to compile CamelBones as well for you Perl 5.8 )
Yes, exactly. You'll need to change a couple of build settings to reflect the location of your 5.8 install, but no code changes should be needed.

This is exactly why I recommend distrbuting CB apps as Thilo has - using the shared framework in /Library/Frameworks/, instead of including the framework in your .app bundle.

If or when you upgrade to 5.8, you also need to rebuild the CB framework against it. It's less work to rebuild a single shared framework than to rebuild multiple applications, each with its own embedded framework. It's also relevant for a non-technical user for whom rebuilding isn't an option - instead of downloading a single installer and running it, they'd have to download and re-install a bunch of apps.

I'm building a smarter installer for the next CB version, which will examine /usr/bin/perl, and install the correct version of the framework to match that - if it has one. The same issue applies to CB that applies to "fat" XS modules - I can (and will) supply versions of the framework that have been compiled against the most popular 5.8 distributions, but with dozens of potential configurations and an infinite variety of install locations possible, it's simply not practical to support literally everything.

The current plan is to provide binaries for 5.6 (duh!), and 5.8 in /System/Library/, /Library/, /usr/local/, /opt/, and /opt/local/. Space may become an issue, however, and if so this list may get shortened - and if Nat's /usr/local/perl5-8/ becomes popular, the list may get longer. :-) Aside from installation location, all of the 5.8 binaries will be compiled with the default configuration options.

sherm--

UNIX: Where /sbin/init is Job 1.



Reply via email to