Tangle of Extension Rebuilds?

P

Paul VanHouten

I am attempting to build the bsddb3-4.2.4 extension for incorporating
the Berkeley Db (4.2.52) into Python on a Win XP platform. I used
VC++.Net to build the Berkeley Db dll/lib/exe files. I don't have
VC++ 6 nor can you but it now. The bsddb3-4.2.4 build failed
complaining that Python was built with VC++ 6. I assume I can rebuild
Python with VC++.Net but if I do will other existing extensions cease
to work and require rebuilding? Yikes! Suggestions?
 
R

Roger Binns

Paul said:
I don't have
VC++ 6 nor can you but it now.

You can get a downgrade for $20.
The bsddb3-4.2.4 build failed
complaining that Python was built with VC++ 6. I assume I can rebuild
Python with VC++.Net but if I do will other existing extensions cease
to work and require rebuilding? Yikes! Suggestions?

Use MinGW. It is compatible with VC6. Ensure that gcc etc are on
your path, and then use this to compile a package:

python setup.py build --compiler=mingw32 bdist_wininst

It will produce a .exe that you run to install the package.

Roger
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,434
Messages
2,571,691
Members
48,796
Latest member
Greg L.

Latest Threads

Top