Hi Dough, On 17 Feb 2010, at 00:14, Doug Lee wrote: > I'm compiling with `port install' / `port upgrade' so far. My most > pressing problem is compiling a 32-bit version of Python 2.6.4, but I > also want to try a 32-bit version of SoX (Sound Exchanger). Both are > currently installed as ports, and that caused them (in Snow Leopard > but not Leopard) to compile as 64-bit apps.
> You can check if you are booted into a 64 or 32-bit Kernel by going to the > "System Profiler" and looking under "Software" in the list there. There is > an option called "64-bit and that will tel you whether or not you're booted > into 64 bit. Also, be aware, that some extensions are not yet 64-bit > compatible - you may need to downgrade to an earlier version of Python > because I don't know if there is a way to tell the operating system not to > boot into 64-bit something that is extensibly compatible with that > architecture. Although, being UNIX, there probably is! HTH TC James, Lyn, Nash & Twinny > I'm compiling with `port install' / `port upgrade' so far. My most > pressing problem is compiling a 32-bit version of Python 2.6.4, but I > also want to try a 32-bit version of SoX (Sound Exchanger). Both are > currently installed as ports, and that caused them (in Snow Leopard > but not Leopard) to compile as 64-bit apps. > > On Tue, Feb 16, 2010 at 02:49:08PM -0800, Kieren wrote: > Hi Doug > > You forgot to mention what you are copiling your utility with? > > in xcode you can do a get info on the project and under the build tab > one of the top items is Architectures. you can set 32 bit universal > there. > in GCC i think there is the -archs option which can be set to > ARCHS_STANDARD_32_BIT > Think thats right arg anyway > > else look up the man page for your compilation utility and scan for > architecture or similar > > HTH > > Kieren > > On Feb 16, 2:53?pm, Doug Lee <[email protected]> wrote: >> I use a Python library called Skype4Py that appears to work only >> in 32-bit environments, probably because Skype for Mac is a 32-bit >> application. ?This worked fine on Leopard, but when I upgraded to >> Snow Leopard, the stock Python installation became a 64-bit one >> apparently. ?I could still run my utility using a 32-bit Python >> port, but then my ports started going to pieces because I didn't >> rebuild them all, as one is supposed to do. ?I then rebuilt them >> all, and my Python became a 64-bit version there as well. >> >> So now I can't run my utility at all, because Skype4Py causes a >> Segmentation Violation pretty quick. >> >> So the question: ?How do I deliberately build a 32-bit version of >> Python on here? ?I see no variant for it in the Python MacPort, unless >> "universal" does that. >> >> In case it helps, I know Skype4Py uses Carbon for its Skype API >> connection. ?I should have the right Carbon (I installed it from >> the Snow Leopard CD), though I forget the version number at the >> moment. >> >> Thanks much for any help. >> >> -- >> Doug Lee ? ? ? ? ? ? ? ? [email protected] ? ? ? ? ? ? ? ?http://www.dlee.org >> SSB BART Group ? ? ? ? ? [email protected] >> ?http://www.ssbbartgroup.com >> "Our chief want in life is somebody who will make us do what >> we can. {Ralph Waldo Emerson} > > -- > You received this message because you are subscribed to the Google Groups > "MacVisionaries" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/macvisionaries?hl=en. > > > -- > Doug Lee [email protected] http://www.dlee.org > SSB BART Group [email protected] > http://www.ssbbartgroup.com > "The best executive is the one who has sense enough to pick good men to do > what he wants done, and self-restraint enough to keep from meddling with > them while they do it."--Theodore Roosevelt > > -- > You received this message because you are subscribed to the Google Groups > "MacVisionaries" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/macvisionaries?hl=en. > -- You received this message because you are subscribed to the Google Groups "MacVisionaries" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/macvisionaries?hl=en.
