Problems compiling Tkinter

Rich Somerfield rich_somerfield at tertio.com
Wed Feb 28 10:33:39 EST 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.

Regards
Rich

bash-2.03# python setup.py install
running 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
    dist.run_commands()
  File "/usr/bin/python-2.0/Lib/distutils/dist.py", line 829, in
run_commands
    self.run_command(cmd)
  File "/usr/bin/python-2.0/Lib/distutils/dist.py", line 848, in run_command
    cmd_obj.ensure_finalized()
  File "/usr/bin/python-2.0/Lib/distutils/cmd.py", line 112, in
ensure_finalized
    self.finalize_options()
  File "/usr/bin/python-2.0/Lib/distutils/command/install.py", line 255, in
fina
lize_options
    (prefix, exec_prefix) = get_config_vars('prefix', 'exec_prefix')
  File "/usr/bin/python-2.0/Lib/distutils/sysconfig.py", line 368, in
get_config
_vars
    func()
  File "/usr/bin/python-2.0/Lib/distutils/sysconfig.py", line 280, in
_init_posi
x
    raise DistutilsPlatformError, my_msg
distutils.errors.DistutilsPlatformError: invalid Python installation: unable
to
open /usr/local/lib/python2.0/config/Makefile (No such file or directory)
bash-2.03#





More information about the Python-list mailing list