On Wed, 13 May 2009 02:32:13 +0200
"[email protected]" <[email protected]> wrote:

> No, it did not work at all.
> 
> python setup.py build
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> ......
> src/pyev.c:2811: warning: passing argument 2 of
> ‘PyErr_SetFromErrnoWithFilename’ discards qualifiers from pointer
> target type
> src/pyev.c: At top level:
> src/pyev.c:4136: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘pyev_module’
> src/pyev.c: In function ‘PyInit_pyev’:
> src/pyev.c:4184: warning: ‘return’ with a value, in function
> returning void

I can't reproduce that.
What platform, what compiler, python version? (unless python 3.1 is your
default python, the build line should read 'python3.1 setup.py build')

PyInit_pyev (or any other module init function) is not a void function
(not anymore since python 3.0), that's why I suspect a wrong python
version.


hope it helps,

malek

_______________________________________________
libev mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev

Reply via email to