25.03.2013 13:21, Daniel Juyung Seo kirjoitti: > Hello all, this is Daniel Juyung Seo. > > While building python-efl from git, I got the following error. > My cython version is 0.15.1 and python version is 2.7.3. > Anybody has any idea? > Thanks. > > Cythonizing efl/ecore/efl.ecore.pyx > > Error compiling Cython file: > ------------------------------------------------------------ > ... > :rtype: str or None > > """ > cdef const_char *cmd = ecore_exe_cmd_get(self.exe) > if cmd != NULL: > return cmd > ^ > ------------------------------------------------------------ > > efl/ecore/efl.ecore_exe.pxi:465:22: Cannot convert 'const_char *' to > Python object > Traceback (most recent call last): > File "setup.py", line 218, in <module> > ext_modules = cythonize(modules, include_path=["include",], > compiler_directives={"embedsignature": False}), > File "/usr/lib/pymodules/python2.7/Cython/Build/Dependencies.py", > line 517, in cythonize > cythonize_one(pyx_file, c_file, quiet, options) > File "/usr/lib/pymodules/python2.7/Cython/Build/Dependencies.py", > line 540, in cythonize_one > raise CompileError(None, pyx_file) > Cython.Compiler.Errors.CompileError: efl/ecore/efl.ecore.pyx > > Repeating the IRC answer here with additional clarification:
Apparently it fails because we moved to a type where automatic conversion is only supported by later versions of Cython. We still need to wrap those in our string conversion functions, so the 1.8 bindings may eventually compile with Cython 0.15.1, but I'm not 100% sure yet as there may be other issues. Currently the minimum tested working Cython version is 0.17.3, any version from 0.17 series should be safe. ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel