[Python-Dev] zlib module build failure on Mac OSX 10.4.7

Neal Norwitz nnorwitz at gmail.com
Sat Jul 1 07:53:26 CEST 2006


Maybe do a make distclean.  There was a problem where old versions of
zlib (those without inflateCopy) weren't supported.  They are now, but
it's a configure check.  That coupled with the upgrade and the 10.3 in
the pathname, seems like it's just something didn't get cleaned up
properly.  You could always rm -rf build/

n
--

On 6/30/06, skip at pobox.com <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?
>
> 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/nnorwitz%40gmail.com
>


More information about the Python-Dev mailing list