build macport from src for i386

Peter one2001boy at yahoo.com
Sat Dec 10 18:31:21 PST 2011


Hi Ryan,



> The MacPorts binaries you get from our web site are universal: they're for all architectures.

> Why does it matter to you what architecture MacPorts itself is? I suspect what matters is what architecture MacPorts builds your ports for. That's controlled via the build_arch setting in the macports.conf file.

what bothers me is that my third party lib is a 32 bit library.
When I link with Macports library, it complains that it is a 64 bit library from macport and cannot be used to link with 32 bit library.

Based on hyour suggestion, I modified macports.conf to use i386, all lib in macport is now 32 bit.
however, running the command "sudo port install scite", it will complain that
"libintl.dylib, file was built for i386 which is not the architecture being linked (x86_64)"

should I use "sudo port install scite --arch i386" or something similar?

thanks

Peter


More information about the macports-users mailing list