[Zope-dev] Re: compiling intSet.c on Zope 2.8.8
Tres Seaver
tseaver at palladion.com
Thu Aug 9 10:40:00 EDT 2007
-----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 tseaver at palladion.com
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-----
More information about the Zope-Dev
mailing list