From: Jean de L. <jla...@gm...> - 2005-09-20 11:21:19
|
Hi folks, I just wanted to point out that the PyODE 1.1.0 distribution won't compile on gcc-4 based systems, ie those where 'gcc' is gcc 4 (like debian unstable, for example). This comes from the ode_[no]trimesh.c files, generated by pyrex 0.9.3, that are included. This is a known problem with pyrex 0.9.3, it seems. There is a new upstream release of pyrex that solves this problem. Maybe it'd be a good idea to make a minor PyODE release with the corrected ode_[no]trimesh.c files? Debian uses a patched version of 0.9.3 that already fixes the gcc 4 problem, so it should be enough to remove those 2 C files and let the system's pyrex rebuild them. This is what worked for me. A little note though: on deb, the compiler is called 'python2.x-pyrexc' (where x=3D{3,4}), not 'pyrexc', so I had to make that trivial change to the setup script. Furthermore, I'm a bit motivated to make a debian package of PyODE. I wonder if there have been previous efforts in that direction? Anyhow, I might need some help, as I'm a bit new to PyODE and this would be the first time I make a deb package ;) cheers, John |