tkinter

  • Thread starter Eric J. Van der Velden
  • Start date
E

Eric J. Van der Velden

Hello,

I have python2.7 .I have compiled tcl en tk and installed them in my
home directory, say /home/eric/tcl and /home/eric/tk .

I have edited
$ vi Modules/Setup
....
_tkinter _tkinter.c tkappinit.c -DWITH_APPINIT \
-L/home/eric/tcl/lib \
-L/home/eric/tk/lib \
-I/home/eric/tcl/include \
-I/home/eric/tcl/include \
-I/usr/include \
-ltcl8.6 -ltk8.6 \
-L/usr/lib \
-lX11

But setup.py does

self.announce("INFO: Can't locate Tcl/Tk libs and/or
headers", 2)

When I pdb setup.py I see

(Pdb) p inc_dirs
['/home/eric/Unix/Python/Python-2.7-install/include', '.', 'Include',
'./Include', '/usr/local/include', '/home/eric/Unix/Python/Python-2.7-
install/include/python2.7', '/usr/include']
(Pdb) p lib_dirs
['/home/eric/Unix/Python/Python-2.7-install/lib', '/usr/local/lib', '/
lib64', '/usr/lib64', '/lib', '/usr/lib']

So no tcl or tk libraries or header files. Is my Modules/Setup not OK?

Thanks,

Eric J.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top