[PATCH] Fix python_access on 64bits hosts

Julien ÉLIE julien at trigofacile.com
Mon Nov 1 15:58:58 UTC 2010

Hi Raphaël,

> It compiles correctly with make warnings on my host as well (Python 2.6.5, 64
> bits, INN versions 2.5.1 and STABLE-20101031) ; I had to follow those steps :
> "patch; configure; make; touch nnrpd/python.c innd/python.c; make warnings",
> otherwise I had errors in other components.

That's great news!
(In case the errors in other components are worth being fixed, do not hesitate
to tell us.)

I have just committed the patch:

I also changed the order of the inclusions because, according to the Python
documentation, Python.h must be included before any standard headers are
included, because "Python may define some pre-processor definitions which
affect the standard headers on some systems".

> I haven't tried to actually run the new version though, that requires some
> gentoo ebuild-hacking ; I'll let you know if I discover any bug there.

OK, thanks!
I see that support in Gentoo for the last released INN 2.5.2 version was
requested in a comment here:

I hope it will make its way to Gentoo.

Julien ÉLIE

« Se coucher tard... nuit. » (Raymond Devos) 

More information about the inn-workers mailing list