Problems making Python-2.3b1

John Ochiltree johnochiltree at blueyonder.co.uk
Sun Apr 27 09:17:48 CEST 2003


Hello group,
I hope someone can help me here. I'm having trouble building Python-2.3b1 on
SuSE 8.2. The ./configure didn't seem to object to anything but running the
make bombs out with:

running build
running build_ext
Traceback (most recent call last):
  File "./setup.py", line 1110, in ?
    main()
  File "./setup.py", line 1105, in main
    scripts = ['Tools/scripts/pydoc']
  File "/home/johnoch/build/Python-2.3b1/Lib/distutils/core.py", line 149,
in setup
    dist.run_commands()
  File "/home/johnoch/build/Python-2.3b1/Lib/distutils/dist.py", line 907,
in run_commands
    self.run_command(cmd)
  File "/home/johnoch/build/Python-2.3b1/Lib/distutils/dist.py", line 927,
in run_command
    cmd_obj.run()
  File "/home/johnoch/build/Python-2.3b1/Lib/distutils/command/build.py",
line 107, in run
    self.run_command(cmd_name)
  File "/home/johnoch/build/Python-2.3b1/Lib/distutils/cmd.py", line 333, in
run_command
    self.distribution.run_command(command)
  File "/home/johnoch/build/Python-2.3b1/Lib/distutils/dist.py", line 927,
in run_command
    cmd_obj.run()
  File
"/home/johnoch/build/Python-2.3b1/Lib/distutils/command/build_ext.py", line
269, in run
    self.build_extensions()
  File "./setup.py", line 99, in build_extensions
    self.detect_modules()
  File "./setup.py", line 844, in detect_modules
    self.detect_tkinter(inc_dirs, lib_dirs)
  File "./setup.py", line 941, in detect_tkinter
    for dir in tcl_includes + tk_includes:
TypeError: unsupported operand type(s) for +: 'NoneType' and 'list'
make: *** [sharedmods] Error 1
johnoch at isis:~/build/Python-2.3b1>


Any ideas gratefully received.

John Ochiltree




More information about the Python-list mailing list