Your automake version is outdated!
I googled with your error and the very first answer is this post: http://www.mail-archive.com/[email protected]/msg00764.html
Looks very similar to your case

Can you give it another try with an update automake ?
FYI, I have automake 1.9.6

Dr. Volker Jaenisch a écrit :
Hello Gilles!

Gilles Rayrat schrieb:
Hello,
Can you tell me what version of libmysqlclient-dev you're using ? Mine is 5.0.24a-2.dotdeb.0
5.0.24a-9

autogen --version
autogen (GNU AutoGen) - The Automated Program Generator - Ver. 5.8.3

automake --version
automake (GNU automake) 1.4-p6

autoconf --version
autoconf (GNU Autoconf) 2.60a

libtool --version
ltmain.sh (GNU libtool) 1.5.22 Debian 1.5.22-4 (1.1220.2.365 2005/12/18 22:14:06)

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)
Does not have the desired effect :-)

ctrl1:/usr/local/lib/carob-scm-2006-10-26# cd libmysequoia/
ctrl1:/usr/local/lib/carob-scm-2006-10-26/libmysequoia# ./autogen.sh CXXFLAGS=-I/usr/include/mysql --enable-cppunit + rm -rf autom4te.cache aclocal.m4 config.guess config.h config.h.in config.log config.status config.sub configure depcomp install-sh libtool missing stamp-h1
+ rm -f Makefile.in src/Makefile.in test/Makefile.in
+ rm -f Makefile src/Makefile test/Makefile
+ aclocal
+ autoheader
+ automake --add-missing --copy
automake: configure.ac: installing `./install-sh'
automake: configure.ac: installing `./missing'
configure.ac: 1043: installing `./config.guess'
automake: test/Makefile.am: warning: automake does not support EXTRA_DIST being defined conditionally
ctrl1:/usr/local/lib/carob-scm-2006-10-26/libmysequoia# ./autoconf
-bash: ./autoconf: Datei oder Verzeichnis nicht gefunden
ctrl1:/usr/local/lib/carob-scm-2006-10-26/libmysequoia# autoconf
ctrl1:/usr/local/lib/carob-scm-2006-10-26/libmysequoia# ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... missing
checking for a BSD-compatible install... /usr/bin/install -c
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for mysql_config... /usr/bin/mysql_config
checking for dlopen in -ldl... yes
checking for main in -llog4cxx... yes
checking for ANSI C header files... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... no
checking for an ANSI C-conforming const... yes
checking for memset... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING: Makefile.in seems to ignore the --datarootdir setting
config.status: creating src/Makefile
config.status: WARNING: src/Makefile.in seems to ignore the --datarootdir setting
config.status: creating test/Makefile
config.status: WARNING: test/Makefile.in seems to ignore the --datarootdir setting
config.status: creating include/config.h
config.status: include/config.h is unchanged
config.status: executing default-1 commands

Installing in prefix: /usr/local
Config files are in: /usr/local/etc

ctrl1:/usr/local/lib/carob-scm-2006-10-26/libmysequoia# make
Making all in src
make[1]: Entering directory `/usr/local/lib/carob-scm-2006-10-26/libmysequoia/src' /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -I/usr/include/carob -c CarobCommon.cpp 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
../include/Utils.hpp:96: error: use of enum 'enum_field_types' without previous declaration ../include/Utils.hpp:103: error: use of enum 'enum_field_types' without previous declaration ../include/Utils.hpp:103: error: invalid type in declaration before ';' token
../include/Utils.hpp:108: error: 'MYSQL' was not declared in this scope

Best Regards

Volker


_______________________________________________
Carob mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob

Reply via email to