Use locate to find out where mysql.h is. Then make sure when you
compile that you designate an include path to that directory using
-I/path/where/mysql.h/resides
Will
On Sun, 2007-12-02 at 12:35 -0600, Michael Sullivan wrote:
> OK. I've installed it from source and run ldconfig. It's
> in /usr/local
> now. When I try to build simple1.cpp however:
>
> michael@camille examples $ g++ simple1.cpp -lz -lmysqlclient_r
> -lmysqlpp
> -I/usr/local/include/mysql++/ -o simple
> In file included from /usr/local/include/mysql++/connection.h:38,
> from /usr/local/include/mysql++/mysql++.h:56,
> from util.h:31,
> from simple1.cpp:28:
> /usr/local/include/mysql++/common.h:37:27: error: mysql_version.h: No
> such file or directory
> /usr/local/include/mysql++/common.h:148:19: error: mysql.h: No such
> file
> or directory
--
William F Dowling
william.dowling@stripped
www.scientific.thomson.com