[Baypiggies] need help

ovi chitayat ovikanobi at yahoo.com
Sat Jan 9 21:32:34 CET 2010


Hi,
I am trying to install Python on my private Linux machine.
Below is the build result:
=================================================
[root at centos48_1 Python-3.1.1]# make
running build
running build_ext
building dbm using gdbm
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./Include -I/usr/local/include -IInclude -I/root/Python-3.1.1 -c /root/Python-3.1.1/Modules/_tkinter.c -o build/temp.linux-i686-3.1/root/Python-3.1.1/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./Include -I/usr/local/include -IInclude -I/root/Python-3.1.1 -c /root/Python-3.1.1/Modules/tkappinit.c -o build/temp.linux-i686-3.1/root/Python-3.1.1/Modules/tkappinit.o
gcc -pthread -shared build/temp.linux-i686-3.1/root/Python-3.1.1/Modules/_tkinter.o build/temp.linux-i686-3.1/root/Python-3.1.1/Modules/tkappinit.o -L/usr/X11R6/lib64 -L/usr/X11R6/lib -L/usr/local/lib -ltk8.5 -ltcl8.5 -lX11 -o build/lib.linux-i686-3.1/_tkinter.so
*** WARNING: renaming "_tkinter" since importing it failed: libtk8.5.so: cannot open shared object file: No such file or directory

Failed to build these modules:
_tkinter

running build_scripts
================================================================
As you can see, I am running this as root. The Linux version is CentOS 4
It complains about not being able to open libtk8.5
I do not understand why that would be the case since this library does
exist in /usr/local/lib that appear in the -L link search 
Below is the listing of the /usr/local/lib:
=========================================================
p[root at centos48_1 Python-3.1.1]# ls -l /usr/local/lib
total 15156
-rw-r--r--  1 root root 1551330 Dec 29 11:10 libsqlite3.a
-rwxr-xr-x  1 root root     818 Dec 29 11:10 libsqlite3.la
lrwxrwxrwx  1 root root      19 Dec 29 11:10 libsqlite3.so -> libsqlite3.so.0.8.6
lrwxrwxrwx  1 root root      19 Dec 29 11:10 libsqlite3.so.0 -> libsqlite3.so.0.8.6
-rwxr-xr-x  1 root root 1342442 Dec 29 11:10 libsqlite3.so.0.8.6
-rwxr-xr-x  1 root root 4035692 Dec 28 12:53 libtcl8.5.so
-rw-r--r--  1 root root   71042 Dec 28 12:53 libtclstub8.5.a
-rwxr-xr-x  1 root root 8229606 Dec 28 16:04 libtk8.5.so
-rw-r--r--  1 root root  144516 Dec 28 16:04 libtkstub8.5.a
drwxr-xr-x  2 root root    4096 Dec 29 11:10 pkgconfig
drwxr-xr-x  5 root root    4096 Dec 28 12:53 tcl8
drwxr-xr-x  6 root root    4096 Dec 28 12:53 tcl8.5
-rw-r--r--  1 root root    7916 Dec 28 12:53 tclConfig.sh
drwxr-xr-x  6 root root    4096 Dec 28 16:04 tk8.5
-rw-r--r--  1 root root    4391 Dec 28 16:04 tkConfig.shath.
=============================================================
Please help
Ovi




      


More information about the Baypiggies mailing list