I need to use 0.9.3b3 for windows as version 0.9.2 as a bug that prevents to use it with zope and is corrected in 0.9.3b3 (https://sourceforge.net/forum/forum.php?thread_id=926112&forum_id=70461)
However, there isn't yet a version of 0.9.3b3 for windows. Could anyone help me get this version or instruct me how to make it in Windows?
Thank You,
Best Regards
jlourenco
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It happens to be prety simple as described in the README file.
1. I downloaded 0.9.3b3 from cvs because the existing tar file corrupted.
2. C complier needed. I used MSVC 6.
3. Had to comment the following lines in setup.py, in order not to link z.lib or crypt.lib, as they're non existent in Windows (?).
# MySQL-3.23 and newer need libz
#if mysqlversion > (3,23,0):
# libraries.append("z")
#if mysqlversion > (4,0,0):
# libraries.append("crypt")
4. The needed .lib and .dll files are in c:\mysql\lib\opt. I used MySQL 4.0.17
5. Executed setup.py. As I wanted to use MySQLdb with Zope, the python that are used with Zope must be used, in order to be updated with th created files.
I need to use 0.9.3b3 for windows as version 0.9.2 as a bug that prevents to use it with zope and is corrected in 0.9.3b3 (https://sourceforge.net/forum/forum.php?thread_id=926112&forum_id=70461)
However, there isn't yet a version of 0.9.3b3 for windows. Could anyone help me get this version or instruct me how to make it in Windows?
Thank You,
Best Regards
jlourenco
It happens to be prety simple as described in the README file.
1. I downloaded 0.9.3b3 from cvs because the existing tar file corrupted.
2. C complier needed. I used MSVC 6.
3. Had to comment the following lines in setup.py, in order not to link z.lib or crypt.lib, as they're non existent in Windows (?).
# MySQL-3.23 and newer need libz
#if mysqlversion > (3,23,0):
# libraries.append("z")
#if mysqlversion > (4,0,0):
# libraries.append("crypt")
4. The needed .lib and .dll files are in c:\mysql\lib\opt. I used MySQL 4.0.17
5. Executed setup.py. As I wanted to use MySQLdb with Zope, the python that are used with Zope must be used, in order to be updated with th created files.
C:\Programas\Zope-2.7.0-rc1\bin\python setup.py build
C:\Programas\Zope-2.7.0-rc1\bin\python setup.py install
6. That's all. Seems to be working fine.
Regards,
jamfl