This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author christian.heimes
Recipients christian.heimes, gvanrossum
Date 2007-12-13.18:35:14
SpamBayes Score 0.0103802
Marked as misclassified No
Message-id <>
You are right! :) A make clean in the root of my local workspace solved
the problem but revealed another problem:

$ make
running build
running build_ext
building '_struct' extension
gcc -pthread -fPIC -fno-strict-aliasing -g -Wall -Wstrict-prototypes -I.
-I/home/heimes/dev/python/py3k/debug/./Include -I./Include -IInclude -I.
-I/usr/local/include -I/usr/local/include/python3.0 -c _struct.c -o
gcc: _struct.c: No such file or directory
gcc: keine Eingabedateien
error: /home/heimes/dev/python/py3k/debug/Modules/_ctypes/libffi: No
such file or directory

I fixed the problem by adding the option -b $(srcdir) to build
in the Makefile.

Next I run into a problem with the modules. Apparently itertools was not
added as a built-in module.

running build
Traceback (most recent call last):
  File "../", line 1584, in <module>
  File "../", line 1579, in main
  File "/home/heimes/dev/python/py3k/Lib/distutils/", line 148,
in setup
  File "/home/heimes/dev/python/py3k/Lib/distutils/", line 942,
in run_commands
  File "/home/heimes/dev/python/py3k/Lib/distutils/", line 960,
in run_command
    cmd_obj = self.get_command_obj(command)
  File "/home/heimes/dev/python/py3k/Lib/distutils/", line 847,
in get_command_obj
    self._set_command_options(cmd_obj, options)
  File "/home/heimes/dev/python/py3k/Lib/distutils/", line 868,
in _set_command_options
    bool_opts = map(translate_longopt, command_obj.boolean_options)
ImportError: /usr/local/lib/python3.0/site-packages/
undefined symbol: PyUnicodeUCS4_FromFormat

I copied $(srcdir)/Modules/Setup* ./Modules/ and Python compiled
itertools as built-ins.
Date User Action Args
2007-12-13 18:35:15christian.heimessetspambayes_score: 0.0103802 -> 0.0103802
recipients: + christian.heimes, gvanrossum
2007-12-13 18:35:15christian.heimessetspambayes_score: 0.0103802 -> 0.0103802
messageid: <>
2007-12-13 18:35:15christian.heimeslinkissue1613 messages
2007-12-13 18:35:14christian.heimescreate