_tkinter fails when installing Python 2.4.4

Diez B. Roggisch deets at nospam.web.de
Tue Mar 25 17:52:52 EDT 2008


jgelfand schrieb:
> I'm installing Python 2.4.4 on a CentOS release 4.6 (Final) [RedHat
> Enterprise Linux 4.6] 64-bit machine. Running "./configure --prefix="/
> usr/local/yosi/ciao-4.0/ots" --enable-shared" appears to be fine, but
> I get the following error message when I run "make":
> 
> building '_tkinter' extension
> gcc -pthread -fPIC -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -
> Wstrict-prototypes -DWITH_APPINIT=1 -I/usr/X11R6/include -I. -I/usr/
> local/yosi/Python-2.5.2/./Include -I/usr/local/yosi/ciao-4.0/ots/
> include -I. -IInclude -I./Include -I/usr/local/include -I/usr/local/
> yosi/Python-2.5.2/Include -I/usr/local/yosi/Python-2.5.2 -c /usr/local/
> yosi/Python-2.5.2/Modules/_tkinter.c -o build/temp.linux-x86_64-2.5/
> usr/local/yosi/Python-2.5.2/Modules/_tkinter.o
> gcc -pthread -fPIC -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -
> Wstrict-prototypes -DWITH_APPINIT=1 -I/usr/X11R6/include -I. -I/usr/
> local/yosi/Python-2.5.2/./Include -I/usr/local/yosi/ciao-4.0/ots/
> include -I. -IInclude -I./Include -I/usr/local/include -I/usr/local/
> yosi/Python-2.5.2/Include -I/usr/local/yosi/Python-2.5.2 -c /usr/local/
> yosi/Python-2.5.2/Modules/tkappinit.c -o build/temp.linux-x86_64-2.5/
> usr/local/yosi/Python-2.5.2/Modules/tkappinit.o
> gcc -pthread -shared build/temp.linux-x86_64-2.5/usr/local/yosi/
> Python-2.5.2/Modules/_tkinter.o build/temp.linux-x86_64-2.5/usr/local/
> yosi/Python-2.5.2/Modules/tkappinit.o -L/usr/X11R6/lib64 -L/usr/X11R6/
> lib -L/usr/local/yosi/ciao-4.0/ots/lib -L/usr/local/lib -L. -ltk8.5 -
> ltcl8.5 -lX11 -lpython2.5 -o build/lib.linux-x86_64-2.5/_tkinter.so
> *** WARNING: renaming "_tkinter" since importing it failed: build/
> lib.linux-x86_64-2.5/_tkinter.so: undefined symbol: XftGlyphExtents
> 
> Any suggestions / ideas as to what is going wrong?  I don't get any
> other warnings or errors on the other modules.  Thanks -- Yosi

You are aware that the above shows python 2.5 as the version that is 
being used for compilation?

Diez



More information about the Python-list mailing list