On Thu, 14 May 2009 18:18:36 +0200
"[email protected]" <[email protected]> wrote:

> Malek Hadj-Ali wrote:
> > On Wed, 13 May 2009 02:32:13 +0200
> > "[email protected]" <[email protected]> wrote:
> > 
> >> No, it did not work at all.
> > I can't reproduce that.
> 
> You are right, my fault.
> 
> > What platform, what compiler, python version? (unless python 3.1 is
> > your default python, the build line should read 'python3.1 setup.py
> > build')
> 
> Problem was:
> 
> python3.1 setup.py build
> Traceback (most recent call last):
>    File "setup.py", line 56, in <module>
>      if python_version_tuple() < python_version:
> TypeError: unorderable types: str() < int()
> 
> > 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.
> 
> Removing and still using python 3.1 the check made it working:
> 
> gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions 
> build/temp.linux-x86_64-3.1/src/pyev.o -lm -o 
> build/lib.linux-x86_64-3.1/pyev.so
> 
> I guess I forgot using 3.1 after removing the check initially.

glad to hear it works


regards,

malek


> 
> 
> MfG
> Markus

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

Reply via email to