MySQLdb installation

T. Kaufmann merman at snafu.de
Mon Nov 8 14:49:14 EST 2004


wes weston wrote:
> T. Kaufmann wrote:
> 
>> Hi,
>>
>> RDBMS MySQL works fine on my machine. I want to install MySQL-python 
>> 1.0.0 under Red Hat 9.0.
>>
>>  >>> platform.platform()
>> 'Linux-2.4.20-8-i686-with-redhat-9-Shrike'
>>
>> There are some problems. If I call python
>>
>> setup.py build
>>
>> there are lots of errors:
>>
>> _mysql.c:41:19: mysql.h: File not found
>>
>> What can I do? How can I fix it?
>>
>> o-o
>>
>> Thomas
> 
> 
> Thomas,
>    I believe the mysql.h file that is not being found
> is part of the mysql developement package (and not the
> MySQLDB package). If you do have mysql.h somewhere, it
> is not in your include path.
> wes

Yes, it could be the problem. I searched the header (with 'locate 
mysql.h') - but there is no such file on my machine.

Thanks for help.

o-o

Thomas



More information about the Python-list mailing list