07-07-2005
1,622,
11
Join Date: Sep 2002
Last Activity: 4 May 2014, 6:22 AM EDT
Location: Hong Kong, China
Posts: 1,622
Thanks Given: 0
Thanked 11 Times in 10 Posts
How did you install the MySQL?
So the Makefile seems to look for the MySQL headers at /usr/mysql/include/mysql, are you sure the MySQL headers are really there?
On my Linux machine, I installed MySQL binary distribution (.tar.bz2) and inside there is an "include" directory with the header files. Either your MySQL path is incorrectly set (or detected), or you installed some trimmed down version of the package with the header files moved to some other packages which you may not have installed (if included at all).