Repost: problem creating MySQL-python RPM: _mysqkl not found
I think my previous post did not reach the list, so I repost it to be sure. Hi, this must be a FAQ but, and maybe this is not the right list but.. I am trying to create an RPM out of MySQL-python. The README states: you *must* compile using 'Zope's python'. Ok, so what does that mean? I looked around google and it seems to mean: 'the python that z2.py is started by.' Ok, that's /usr/bin/python2.1, so I did: $ /usr/bin/python2.1 setup.py bdist_rpm and indeed, it creates an .rpm. But when I look inside that rpm, it contains /usr/lib/python1.5/site-packages/MySQLdb/*, so it uses python 1.5!! Indeed if I install the rpm (and ZMySQLDA after it) then ZMySQLDA is broken and says 'ImportError: No module named _mysql' Does anyone have experience building rpm's with python? Thanks, Ron Arts
participants (1)
-
Ron Arts