smart 0.50 requires python >= 2.4? (smart/ccache.so: undefined symbol: Py_VISIT)

Axel Thimm Axel.Thimm at ATrpms.net
Mon Jan 22 13:55:54 PST 2007


On Mon, Jan 22, 2007 at 10:26:49AM -0200, Gustavo Niemeyer wrote:
> 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?

Hi,

thanks a lot, works great!
-- 
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.labix.org/pipermail/smart-labix.org/attachments/20070122/f805ae31/attachment-0003.pgp>


More information about the Smart mailing list