Problems compiling Tkinter
rich_somerfield at tertio.com
Wed Feb 28 16:33:39 CET 2001
has anybody tried compiling tkinter on linux (suse 6.4, have already
downloaded and compiled Python 2.0 and Pil 1.1.1) ? I downloaded the source
and couldnt find any info as to how to compile it.
i tried the command "python setup.py install" but got the following error.
I know that the last path is invalid (my install is in /usr/bin/python) but
cant find where it is specified wrongly. Should I cheat and create a
softlink so that the install can pick up the relavent files?, or is there
something I can do to solve this problem properly?
Any help would be appreciated.
bash-2.03# python setup.py install
Traceback (most recent call last):
File "setup.py", line 25, in ?
long_description = __doc__
File "/usr/bin/python-2.0/Lib/distutils/core.py", line 138, in setup
File "/usr/bin/python-2.0/Lib/distutils/dist.py", line 829, in
File "/usr/bin/python-2.0/Lib/distutils/dist.py", line 848, in run_command
File "/usr/bin/python-2.0/Lib/distutils/cmd.py", line 112, in
File "/usr/bin/python-2.0/Lib/distutils/command/install.py", line 255, in
(prefix, exec_prefix) = get_config_vars('prefix', 'exec_prefix')
File "/usr/bin/python-2.0/Lib/distutils/sysconfig.py", line 368, in
File "/usr/bin/python-2.0/Lib/distutils/sysconfig.py", line 280, in
raise DistutilsPlatformError, my_msg
distutils.errors.DistutilsPlatformError: invalid Python installation: unable
open /usr/local/lib/python2.0/config/Makefile (No such file or directory)
More information about the Python-list