Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
Perl

Journal pudge's Journal: Mac-Carbon Modules and Mac OS X 10.6

The default perl for Mac OS X 10.6 runs in 64-bit mode by default. The problem for Mac-Carbon is that significant portions of the Carbon API are unavailable to 64-bit programs on Mac OS X.

Perhaps a subset of the API could be made available to a 64-bit perl (for more information see Apple's "64-Bit Guide for Carbon Developers"), and might in the future, but it's simpler at this point to just run perl in 32-bit mode.

There's a few ways to do this. Most obviously, you could simply build a 32-bit perl. I always build my own perl, and I just compile it for 32 bits.

There's also two methods mentioned in L under Mac OS X 10.6: you can set an environment variable, or set a system preference. For the environment use:

VERSIONER_PERL_PREFER_32_BIT=yes

And for the system preference, execute this line in your terminal:

defaults write com.apple.versioner.perl Prefer-32-Bit -bool yes

Cross-posted on <pudge/*>.

This discussion was created by pudge (3605) for no Foes, but now has been archived. No new comments can be posted.

Mac-Carbon Modules and Mac OS X 10.6

Comments Filter:

Suggest you just sit there and wait till life gets easier.

Working...