-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Chris Withers wrote: > Hi All, > > Anyone know how I can compile intSet.c for Zope 2.8.8? > I'm trying to help out a customer who didn't manage to get rid of all > persistent instances of this class before moving to Zope 2.8 when the > class disappeared. > > I tried just copying intSet.so from a Zope 2.7.8 build, but when I tried > to import it, I got this error: > > >>> import intSet > Traceback (most recent call last): > File "<stdin>", line 1, in ? > AttributeError: 'module' object has no attribute 'CAPI' > > Any ideas?
Copy the 'Components/BTree' directory from a Zope 2.7 checkout into your $SOFTWARE_HOME/lib. Copy the 'setup.py' from Zope 2.7, and hack it apart to include only the bits which built the old BTrees. Then run that new setup_old_btrees.py script. Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 [EMAIL PROTECTED] Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGuydA+gerLs4ltQ4RAnEZAKCUiogKY1IU4Lk9iqXgPmOJtea5QgCgw2cs dOIHj28nh20+6nVRb/9Yz+I= =/sbp -----END PGP SIGNATURE----- _______________________________________________ Zope-Dev maillist - [email protected] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
