Problems compiling in snow leopard

Nuno Santos nunosantos at
Mon Apr 26 08:06:35 PDT 2010

Hi Rainer,

Thanks for the quick reply. It happens that i'«m working on a qt project 
which depends on external libs and i want it to compile on windows, mac 
and linux.

the problem is that for that i have a brand new mac which comes with 
snow leopard installled but when i make uname -a the architecture is 
i386. so the kernel is running in 32 bit mode...

i have also made that change for build_arch setting and the error i 
specified happens with that enabled...

any further tips?



Rainer Müller wrote:
> On 2010-04-26 16:55 , Nuno Santos wrote:
>> I need to compile packages in snow leopard but it seems that by default 
>> snow leopard compiles in 64 bits.
> Yes, MacPorts uses 64-bit by default on Snow Leopard if your hardware
> supports it. Why do you want to force 32-bit?
>> I'm forcing 32 bit compiling by modifying /opt/local/etc/macports.conf 
>> variable
>> universal_archs   x86_32   i386
>                     ^^^^^^
> This is an invalid architecture. Intel 32-bit is i386, Intel 64-bit is
> x86_64.
> You probably don't want to change universal_archs, which is only used
> when building +universal. You seem to be looking for the build_arch setting.
> Rainer

More information about the macports-users mailing list