RE: [Zope-dev] MySQL with Zope 2.4 & Python 2.1
I am sorry, but I do not understand your previous request. I comment you it again. I am using Zope 2.4.0 and Python 2.1 in Win32 plataform. Firstly, I have installed ZMySQLDA-1.1.3 as it is showing in http://www.zope.org/Members/philh/mysql . However, the next error is showed: "ImportError: DLL load failed: No se puede hallar uno de los archivos de biblioteca necesarios para ejecutar esta aplicación". It is produced because the MySQL.pyd library was compiled with Python 1.5. I have trying recompile the source with Microsoft Visual C++ 5.0 for obtaining the MySQL.pyd library with python 2.1, but it generates compilation errors as: "MySQLmodule.c(1147) : error C2102: '&' requires l-value in the line: tf = &(mysql_fetch_field_direct(self->res,j));", and link errors as: "c:\python21\libs\python21.lib : fatal error LNK1106: invalid file or disk full: cannot seek to 0x3adc9977. Error executing link.exe." Then, I have trying it with ZMySQLDA-2.0.7 and MySQL-python-0.9.0 (for I obtain MySQLdb). as it is showing in http://zope.org/Members/philh/ZMySQLDA_html . However, when I try to execute "python setup.py build" for obtaining "_mysql.pyd" with Python 2.1, it generates a "Critical Link Error", although I do not understand why?, because I have installed in my computer: MySQL database 3.23.40, Python 2.1 (with Win32 extensions) and Microsoft Visual C++. Could you help me about this problem?, or Could you send me the "_mysql.pyd" library compiled for Python 2.1 or "MySQL.pyd" for Python 2.1 ? Thank you very much.
participants (1)
-
Juan Javier Carrera Obrero