Using MySQLdb Newbie

Jordan Elver jord at theinternetone.co.uk
Wed Sep 19 16:52:13 EDT 2001


Cheers mate. I think it's finally working.

It compiled and doesn't give errors when you try to import it. 
Thanks a lot ;-)

Jord

On Wednesday 19 September 2001 11:06, you wrote:
>     Jordan> I have installed mysql in /usr/loca/mysql, so I think the files
>     Jordan> it's looking for should be in /usr/loca/mysql/includes and
>     Jordan> /usr/loca/mysql/lib, is that right?
>
> I would think you'd find them in /usr/loca/include/mysql and /usr/loca/lib.
>
>     Jordan> gcc -O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro -march=i586
> -ffast-math Jordan> -fno-strength-reduce -fPIC -I/usr/loca/mysql/include
> -I/usr/include/python2.1 Jordan> -c _mysql.c -o
> build/temp.linux-i686-2.1/_mysql.o
>     Jordan> _mysql.c:41:19: mysql.h: No such file or directory
>     Jordan> _mysql.c:42:26: mysqld_error.h: No such file or directory
>     Jordan> _mysql.c:43:20: errmsg.h: No such file or directory
>
> Poke around /usr/loca:
>
>     find /usr/loca -name mysql.h
>
> and see what turns up.

-- 
Jordan Elver
Web Developer
The InternetOne UK Ltd




More information about the Python-list mailing list