Re: Building from source -- zlib/binascii problems 2.5.2/2.6.1

2008-12-14 Thread peter s.
On Dec 14, 5:20 pm, "Martin v. Löwis" wrote: > > So.. it seems as though I need to get it to point to the 64 bit > > version (or compile the zlib that comes with Python source).  I'm not > > sure how to override that. > > The easiest solution would be to invoke the linker line manually, > and repl

Re: Building from source -- zlib/binascii problems 2.5.2/2.6.1

2008-12-14 Thread peter s.
On Dec 14, 5:03 pm, "peter s." wrote: > On Dec 14, 4:54 pm, "Martin v. Löwis" wrote: > > > > > > Target: x86_64-redhat-linux > > > gcc -pthread -shared build/temp.linux-x86_64-2.5/location/of/ > > > Python-2.5.2/Modules/zlibmodule.

Re: Building from source -- zlib/binascii problems 2.5.2/2.6.1

2008-12-14 Thread peter s.
On Dec 14, 4:54 pm, "Martin v. Löwis" wrote: > > Target: x86_64-redhat-linux > > gcc -pthread -shared build/temp.linux-x86_64-2.5/location/of/ > > Python-2.5.2/Modules/zlibmodule.o -L/usr/local/lib -lz -o build/ > > lib.linux-x86_64-2.5/zlib.so > > /usr/bin/ld: skipping incompatible /usr/lib/libz.

Building from source -- zlib/binascii problems 2.5.2/2.6.1

2008-12-14 Thread peter s.
I am trying to build Python from source on a RHEL system where I do not have root access. There are two modules that I am having trouble with: zlib & binascii. zlib -- This seems like a make configuration issue. I have noticed that 'gcc -v' returns '--with-system-zlib': $ gcc -v Using built-in s