Hello,
Can you tell me what version of libmysqlclient-dev you're using ? Mine
is 5.0.24a-2.dotdeb.0
You can also try to run autogen with the following flags:
./autogen.sh CXXFLAGS=-I/usr/include/mysql --enable-cppunit
(the --enable-cppunit allows you to "make check " but requires cppunit
to be installed)
Gilles.
Dr. Volker Jaenisch a écrit :
Hello Gilles!
Gilles Rayrat schrieb:
Hi Volker,
Yes, I just gave a try to libMySequoia compilation.
Everything went fine except 1 warning that will be fixed soon + 2
tests that fail (I will investigate this later)
I did this with the CVS head of both carob and libmysequoia
Is there more than a carob CVS repository? I assume you took
libmysequoia from the carob CVS?
I had to install: autogen, autoconf , libtool, libmysqlclient-dev,
log4cxx, cppunit-dev (this one only if you want to run tests)
Can you check that you have all these packages ?
I use debian etch. All the named packages have been installed.
I do the following ()
./autogen.sh
./autoconf
./configure
and fail with
g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -I/usr/include/carob
-Wp,-MD,.deps/CarobCommon.pp -c CarobCommon.cpp -fPIC -DPIC -o
.libs/CarobCommon.o
In file included from ../include/CarobCommon.hpp:26,
from CarobCommon.cpp:22:
../include/mysql_wrapper.h:5:19: error: mysql.h: No such file or
directory
CarobCommon.cpp:28:20: error: errmsg.h: No such file or directory
../include/CarobCommon.hpp:54: error: 'MYSQL_FIELD' has not been declared
../include/CarobCommon.hpp:60: error: 'MYSQL_FIELD' has not been declared
wich is absolutly unclear! ./configure finds MySQL (have a look at my
posting to Csaba's Posting) and put it
into the Makefile:
LTLIB = @LTLIB@
MAKEINFO = /usr/local/lib/carob-scm-2006-10-26/libmysequoia/missing
makeinfo
MYSQL_CFLAGS = -I/usr/include/mysql -DBIG_JOINS=1
MYSQL_CONFIG = /usr/bin/mysql_config
OBJDUMP = @OBJDUMP@
But the value MYSQL_CFLAGS is not used in any of the Makefiles.
Since the Makefiles looks very synthetic I have no clue what is going
on in them.
Any Ideas/Workarounds?
Best regards
Volker
_______________________________________________
Carob mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob