2010-01-06, 20:17
davilla Wrote:Need that +universal on the macports build to run under the atv. Looks like its built to 10.5sdk.
I did all of this
$ sudo nano /opt/local/etc/macports/macports.conf
a) change "universal_target 10.5" to "universal_target 10.4"
b) change "universal_sysroot /Developer/SDKs/MacOSX10.5.sdk" to
"universal_sysroot /Developer/SDKs/MacOSX10.4u.sdk"
c) change "universal_archs ppc i386"
to reflect the arch you are building by removing the unused arch.
2) These are needed to build openssl (used by samba3 and mysql5) against 10.4sd
k
$ sudo ln -s /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/dylib1.o /Developer/SDKs
/MacOSX10.4u.sdk/usr/lib/dylib1.10.5.o
$ sudo ln -s /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/crt1.o /Developer/SDKs/M
acOSX10.4u.sdk/usr/lib/crt1.10.5.o
is it enough?