[Python-Dev] zlib module build failure on Mac OSX 10.4.7
Ronald Oussoren
ronaldoussoren at mac.com
Sat Jul 1 18:24:15 CEST 2006
On Jul 1, 2006, at 5:32 AM, skip at pobox.com wrote:
> Just upgraded my Mac to OSX 10.4.7 yesterday. svn up'd Python
> trunk, then
> "make clean ; configure ; make" and I see that building the zlib
> module
> fails:
>
> gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-
> fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I/Users/
> skip/src/python-svn/trunk/./Include -I/Users/skip/src/python-svn/
> trunk/./Mac/Include -I/Users/skip/local/include -I../Include -I. -I/
> usr/local/include -I/Users/skip/src/python-svn/trunk/Include -I/
> Users/skip/src/python-svn/trunk/build -c /Users/skip/src/python-svn/
> trunk/Modules/zlibmodule.c -o build/temp.macosx-10.3-ppc-2.5/Users/
> skip/src/python-svn/trunk/Modules/zlibmodule.o
> /Users/skip/src/python-svn/trunk/Modules/zlibmodule.c: In
> function 'PyZlib_uncopy':
> /Users/skip/src/python-svn/trunk/Modules/zlibmodule.c:724:
> warning: implicit declaration of function 'inflateCopy'
> gcc -bundle -undefined dynamic_lookup build/temp.macosx-10.3-
> ppc-2.5/Users/skip/src/python-svn/trunk/Modules/zlibmodule.o -L/
> Users/skip/local/lib -L/usr/local/lib -lz -o build/lib.macosx-10.3-
> ppc-2.5/zlib.so -Wl,-search_paths_first
> *** WARNING: renaming "zlib" since importing it failed: dlopen
> (build/lib.macosx-10.3-ppc-2.5/zlib.so, 2): Symbol not found:
> _inflateCopy
> Referenced from: build/lib.macosx-10.3-ppc-2.5/zlib.so
> Expected in: dynamic lookup
>
> Anybody else seen this? I checked the buildbot trunk osx 10.4. It
> seemed
> to have no trouble. And what's with the "10.3" bit in the
> directory names?
Are you sure you're building on a 10.4 box? Both the macosx-10.3
thingy and lack of inflateCopy seem to indicate that you're running
on 10.3.
Ronald
>
> Skip
>
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: http://mail.python.org/mailman/options/python-dev/
> ronaldoussoren%40mac.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2157 bytes
Desc: not available
Url : http://mail.python.org/pipermail/python-dev/attachments/20060701/f51f75e9/attachment.bin
More information about the Python-Dev
mailing list