smart 0.50 requires python >= 2.4? (smart/ccache.so: undefined symbol: Py_VISIT)
Gustavo Niemeyer
gustavo at niemeyer.net
Mon Jan 22 04:26:49 PST 2007
Hello Axel,
> smart 0.50 introduced a dependency on Py_VISIT, which AFAIK is only
> available on python >= 2.4
That's actually a macro, and I wasn't aware it had been
introduced after 2.4. It may be easily translated to the code
resulting from the macro expansion, and that should be compatible
with pre-2.4 versions.
An even better approach is to define these macros locally, taking
them from objimpl.h of 2.4+, and enclosing them in an #ifndef.
I've done that in revision 854 in the repository. Can you please
try applying it as a local patch?
--
Gustavo Niemeyer
http://niemeyer.net
More information about the Smart
mailing list