I have been having the exact problems in my setup. Looks like you need to go into the Setup file under lib/python and edit out all BTree, etc., build lines. What will happen is that Zope will instead build the BTree stuff using the Setup in ZopeZODB3. The only difference that I can see between lib/python/Setup and lib/python/ZopeZODB3/Setup is in the include parameters. So, instead of doing: (in lib/python/Setup, note: I commented these lines out to make things work) BTree ../Components/BTree/BTree.c -I../Components/ExtensionClass -I../Components/BTree -I./BoboPOS IIBTree ../Components/BTree/IIBTree.c -I../Components/ExtensionClass -I../Components/BTree -I./BoboPOS IOBTree ../Components/BTree/IOBTree.c -I../Components/ExtensionClass -I../Components/BTree -I./BoboPOS OIBTree ../Components/BTree/OIBTree.c -I../Components/ExtensionClass -I../Components/BTree -I./BoboPOS intSet ../Components/BTree/intSet.c -I../Components/ExtensionClass -I../Components/BTree -I./BoboPOS You should instead be using: (in lib/python/ZopeZODB3/Setup) BTree ../../Components/BTree/BTree.c -I../../Components/ExtensionClass -I../../Components/BTree -I../ZODB IIBTree ../../Components/BTree/IIBTree.c -I../../Components/ExtensionClass -I../../Components/BTree -I../ZODB IOBTree ../../Components/BTree/IOBTree.c -I../../Components/ExtensionClass -I../../Components/BTree -I../ZODB OIBTree ../../Components/BTree/OIBTree.c -I../../Components/ExtensionClass -I../../Components/BTree -I../ZODB intSet ../../Components/BTree/intSet.c -I../../Components/ExtensionClass -I../../Components/BTree -I../ZODB I suppose that's as clear as mud (esp. considering how effective I have been lately with the English language trying do describe technical stuff), but hopefully it will work for you. I guess the problem is some ZODB2 vs. ZODB3 thing, but I find it kinda interesting that we only are seeing the problem trying to add ZClass. Of course I don't know much about Zope, so there's quite a bit out there that (pleasantly) surprises me. Ciao, John M. Miller
In article <09A078107652D211A83700805F575E0519C795@dplmail6.internal.uop .com>, Miller, John M. <jmiller1@uop.com> writes
I have been having the exact problems in my setup. Looks like you need to go into the Setup file under lib/python and edit out all BTree, etc., build lines. What will happen is that Zope will instead build the BTree stuff using the Setup in ZopeZODB3. The only difference that I can see between lib/python/Setup and lib/python/ZopeZODB3/Setup is in the include parameters. So, instead of doing:
... after looking at the latest from Pfrunderman I figured that the references to bobopos in lib/python/Setup were the problem they should have been zodb headers. -- Robin Becker
On Wed, 14 Jul 1999, Miller, John M. wrote: Yes, thats the only thing you need to fix to build Alpha 4 on Windows. Have you had any luck with mingw32? I'm interested in creating a universal makefile build system so that Zope (and other python stuff) can be built on many compilers without separate makefiles for each. Check out ZwinG2.zip on my site. Cheers, Anthony Pfrunder
participants (3)
-
Anthony Pfrunder -
Miller, John M. -
Robin Becker