On Sun, Feb 28, 2010 at 12:09 PM, Olof Sjobergh <olo...@gmail.com> wrote: > Hi, > > I'm trying to build python-evas on Ubuntu Karmic 64bit, but I can't > get it to work. > > This is with Cython version 0.11.2 and Python 2.6 and EFL svn revision 46491. > > Does anyone have an idea of how to solve it? The error message is > included below. >
Get Cython 0.12. Previous versions are not supported. > Best regards, > > Olof Sjöbergh > > > > Error converting Pyrex file to C: > ------------------------------------------------------------ > ... > # 0xA (alpha) > # 0xB (beta) > # 0xC (release candidate) > # 0xF (final) > > char[] PY_VERSION > ^ > ------------------------------------------------------------ > > /usr/lib/pymodules/python2.6/Cython/Includes/python_version.pxd:31:8: > Buffer types only allowed as function local variables > > Error converting Pyrex file to C: > ------------------------------------------------------------ > ... > # 0xB (beta) > # 0xC (release candidate) > # 0xF (final) > > char[] PY_VERSION > char[] PY_PATCHLEVEL_REVISION > ^ > ------------------------------------------------------------ > > /usr/lib/pymodules/python2.6/Cython/Includes/python_version.pxd:32:8: > Buffer types only allowed as function local variables > > Error converting Pyrex file to C: > ------------------------------------------------------------ > ... > > cdef long _smart_object_class_new(char *name) except 0: > cdef Evas_Smart_Class *cls_def > cdef Evas_Smart *cls > > cls_def = <Evas_Smart_Class*>python.PyMem_Malloc(sizeof(Evas_Smart_Class)) > ^ > ------------------------------------------------------------ > > /home/olof/source/e17_src/python-efl/python-evas/evas/evas.c_evas_object_smart.pxi:233:14: > Casting temporary Python object to non-numeric non-Python type > evas/evas.c_evas.c:1:2: error: #error Do not use this file, it is the > result of a failed Cython compilation. > error: command 'gcc' failed with exit status 1 > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel