On Tuesday 28 July 2009, Christopher Arndt wrote: > setup(name='regex', > version='1.0', > py_modules = ['regex'], > ext_modules=[Extension('_regex', ['_regex.c'])], > ) > > Also, you need to copy "unicodedata_db.h" from the "Modules" > directory of the Python source tree to your working directory, > since this file apparently is not installed into the include > directory of a Python installation.
using issue2636-20090729.zip I have Python 2.6.2 on ubuntu 9.04 with ggc-4.3: gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall - Wstrict-prototypes -fPIC -I/usr/include/python2.6 -c _regex.c -o build/temp.linux-i686-2.6/_regex.o _regex.c: In Funktion »bmatch_context«: _regex.c:1462: Fehler: Als Erhöhungsoperand wird L-Wert erfordert _regex.c:1470: Fehler: Als Erhöhungsoperand wird L-Wert erfordert _regex.c:1478: Fehler: Als Verringerungsoperand wird L-Wert erfordert with gcc-4.4: gcc-4.4 -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict- prototypes -fPIC -I/usr/include/python2.6 -c _regex.c -o build/temp.linux-i686-2.6/_regex.o _regex.c: In function ‘bmatch_context’: _regex.c:1462: error: lvalue required as increment operand _regex.c:1470: error: lvalue required as increment operand _regex.c:1478: error: lvalue required as decrement operand -- Wolfgang -- http://mail.python.org/mailman/listinfo/python-list