Chris Frey wrote:
> The development site is: https://gna.org/projects/mysqlpp/
> You can grab the latest makemake.bat file here:
> http://svn.gna.org/viewcvs/mysqlpp/trunk/
>
Ok, I build it on winXp - even when I downloaded the latest svn, I had
problems bulding it... There seem to be to many dirrectories that are
hardcoded into makefiles: had to edit files manually, add mysql/include
and lib/opt to enviroment variables; had to manually create config.h etc...
I tried to build it on unix and it doesn't work!!!
1) README.unix says that I can say ./configure --help, but there's no
configure script (only configure.in). I tried to run makemake.sh, but I
don't have bash, then even when I installed it it wasn't in /usr/bash.
After when I replaced /usr/bash with something suitable for me it gave
out some warnings (line 32: [: ==: unary operator expected) and when it
started to run make it used incorrect include path for mysql:
g++ -I/usr/include/mysql -I.. -O2 -c coldata.cpp
In file included from const_string.h:32,
from coldata.h:37,
from coldata.cpp:27:
defs.h:34: mysql.h
mine is located in /usr/local/include/mysql, plus g++ is v2.95. For
things that need something newer I use g++32, 33, 34 :) For that usually
$CXX=g++34 works