Apache OpenOffice (AOO) Bugzilla – Issue 16108
python project from cws_srx645_ooo11rc doesn't build completely
Last modified: 2007-06-18 10:14:36 UTC
I get following message when compiling cws_srx645_ooo11rc on SuSE 8.2/gcc-3.3: ...... /usr/bin/install -c -m 644 ./Include/ucnhash.h ../python-inst/include/python2.2 /usr/bin/install -c -m 644 ./Include/unicodeobject.h ../python-inst/include/python2.2 /usr/bin/install -c -m 644 ./Include/weakrefobject.h ../python-inst/include/python2.2 /usr/bin/install -c -m 644 pyconfig.h ../python-inst/include/python2.2/pyconfig.h case $MAKEFLAGS in \ *-s*) CC='gcc' LDSHARED='gcc -shared' OPT='-DNDEBUG -g -O3 -Wall -Wstrict-prototypes' ./python -E ./setup.py -q build;; \ *) CC='gcc' LDSHARED='gcc -shared' OPT='-DNDEBUG -g -O3 -Wall -Wstrict-prototypes' ./python -E ./setup.py build;; \ esac running build running build_ext Traceback (most recent call last): File "./setup.py", line 795, in ? main() File "./setup.py", line 790, in main scripts = ['Tools/scripts/pydoc'] File "/home/pezz/oo/oo11/python/unxlngi4.pro/misc/build/Python-2.2.2/Lib/distutils/core.py", line 138, in setup dist.run_commands() File "/home/pezz/oo/oo11/python/unxlngi4.pro/misc/build/Python-2.2.2/Lib/distutils/dist.py", line 893, in run_commands self.run_command(cmd) File "/home/pezz/oo/oo11/python/unxlngi4.pro/misc/build/Python-2.2.2/Lib/distutils/dist.py", line 913, in run_command cmd_obj.run() File "/home/pezz/oo/oo11/python/unxlngi4.pro/misc/build/Python-2.2.2/Lib/distutils/command/build.py", line 107, in run self.run_command(cmd_name) File "/home/pezz/oo/oo11/python/unxlngi4.pro/misc/build/Python-2.2.2/Lib/distutils/cmd.py", line 330, in run_command self.distribution.run_command(command) File "/home/pezz/oo/oo11/python/unxlngi4.pro/misc/build/Python-2.2.2/Lib/distutils/dist.py", line 913, in run_command cmd_obj.run() File "/home/pezz/oo/oo11/python/unxlngi4.pro/misc/build/Python-2.2.2/Lib/distutils/command/build_ext.py", line 256, in run self.build_extensions() File "./setup.py", line 73, in build_extensions self.detect_modules() File "./setup.py", line 672, in detect_modules self.detect_tkinter(inc_dirs, lib_dirs) File "./setup.py", line 710, in detect_tkinter for dir in tcl_includes + tk_includes: TypeError: unsupported operand types for +: 'NoneType' and 'list' make: *** [sharedmods] Error 1 dmake: Error code 2, while making './unxlngi4.pro/misc/build/so_built_so_python' ---* TG_SLO.MK *--- ERROR: Error 65280 occurred while making /home/pezz/oo/oo11/python
Joerg, you may want to take a look?
This is bug in SuSE Linux 8.2. Install tcl-devel and it will be OK. tk does not require tcl-devel. *** This issue has been marked as a duplicate of 15615 ***
I just have to add to Pavel's comments, that we will probably add a patch to avoid this problem, as you are the third person to stumble about it.
Closing ...