Op Ma, 2010-05-03 om 20:52 +0200 skryf Michael Guntsche:
On May 3, 2010, at 20:34, Michael Guntsche wrote:
The problem appears to be a botched 10.4 SDK. The library under /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/libz.dylib does not have a gzdirect although the header file says otherwise. The one in the 10.5 sdk and under /usr/lib have the function. As a test you could try moving the dylib from 10.5 to 10.4 and see if it works. I do not know how to fix that in an easy way that does not break universal builds though.
Answering my own mail. Removing isysroot from the CFLAGS and LDFLAGS fixes the problem. I think this also means that the resulting lib most likely won't work under 10.4. I wonder if this is needed though.
When I removed the isysroot, it seemed to pass the problematic part of the build (although I then hit issues with cython which I guess is unrelated). Changing 4->5 in the issysroot parameter didn't seem to work well, although the error is entirely different (error building memmove.c which seems to be part of libiconv). Friedel -- Recently on my blog: http://translate.org.za/blogs/friedel/en/content/how-should-we-do-high-contr...