Hello Csaba!
I don't see any -I/usr/include/mysql in the flags. Can you remove all
files generated by autotools and company or better in a fresh directory
checkout libmysequoia and run ./autogen.sh again?
If I do so ..
=================================
ctrl1:/usr/local/lib# rm -Rf carob-scm-2006-10-20
ctrl1:/usr/local/lib# tar -xzf carob-scm-latest.tar.gz
ctrl1:/usr/local/lib# cd carob-scm-2006-10-20
ctrl1:/usr/local/lib/carob-scm-2006-10-20# cd libmysequoia/
=================================
=================================
ctrl1:/usr/local/lib/carob-scm-2006-10-20/libmysequoia# ./autogen.sh
=================================
+ 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 `./mkinstalldirs'
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
.. ignoring the warning above .. here maybe lays the key!
"configure" still missing:
=================================
ctrl1:/usr/local/lib/carob-scm-2006-10-20/libmysequoia# ll
=================================
insgesamt 624
-rw-r--r-- 1 root root 267335 2006-10-20 19:35 aclocal.m4
-rw-r--r-- 1 root root 82 2005-12-17 14:03 AUTHORS
-rwxr-xr-x 1 root root 436 2006-03-28 06:59 autogen.sh
drwxr-xr-x 2 root root 4096 2006-10-20 19:35 autom4te.cache
-rw-r--r-- 1 root root 0 2005-12-17 14:03 ChangeLog
drwxr-xr-x 5 root root 4096 2006-10-20 00:35 config
-rwxr-xr-x 1 root root 44208 2006-10-20 19:35 config.guess
lrwxrwxrwx 1 root root 29 2006-10-20 19:35 config.sub ->
/usr/share/libtool/config.sub
-rw-r--r-- 1 root root 3622 2006-10-05 17:50 configure.ac
-rw-r--r-- 1 root root 11353 2006-01-02 12:19 COPYING
drwxr-xr-x 2 root root 4096 2006-10-20 00:35 CVS
drwxr-xr-x 3 root root 4096 2006-10-20 00:35 debian
drwxr-xr-x 4 root root 4096 2006-10-20 00:35 distro
drwxr-xr-x 3 root root 4096 2006-10-20 00:35 doc
drwxr-xr-x 3 root root 4096 2006-10-20 19:35 include
-rw-r--r-- 1 root root 9498 2005-12-17 14:03 INSTALL
-rwxr-xr-x 1 root root 6406 2006-10-20 19:35 install-sh
-rw-r--r-- 1 root root 1971 2006-10-05 17:50 libmysequoia.spec
-rw-r--r-- 1 root root 186760 2005-12-17 14:03 ltmain.sh
-rw-r--r-- 1 root root 3235 2006-03-27 09:52 Makefile.am
-rw-r--r-- 1 root root 15802 2006-10-20 19:35 Makefile.in
-rwxr-xr-x 1 root root 6480 2006-10-20 19:35 missing
-rwxr-xr-x 1 root root 722 2006-10-20 19:35 mkinstalldirs
-rw-r--r-- 1 root root 53 2006-02-13 10:23 NEWS
-rw-r--r-- 1 root root 2935 2006-03-28 17:06 README
drwxr-xr-x 3 root root 4096 2006-10-20 19:35 src
drwxr-xr-x 4 root root 4096 2006-10-20 19:35 test
therfore running "autoconf" to create it.
=================================
ctrl1:/usr/local/lib/carob-scm-2006-10-20/libmysequoia# autoconf
=================================
ctrl1:/usr/local/lib/carob-scm-2006-10-20/libmysequoia# ll
=================================
insgesamt 1332
-rw-r--r-- 1 root root 267335 2006-10-20 19:35 aclocal.m4
-rw-r--r-- 1 root root 82 2005-12-17 14:03 AUTHORS
-rwxr-xr-x 1 root root 436 2006-03-28 06:59 autogen.sh
drwxr-xr-x 2 root root 4096 2006-10-20 19:35 autom4te.cache
-rw-r--r-- 1 root root 0 2005-12-17 14:03 ChangeLog
drwxr-xr-x 5 root root 4096 2006-10-20 00:35 config
-rwxr-xr-x 1 root root 44208 2006-10-20 19:35 config.guess
lrwxrwxrwx 1 root root 29 2006-10-20 19:35 config.sub ->
/usr/share/libtool/config.sub
-rwxr-xr-x 1 root root 717072 2006-10-20 19:38 configure
-rw-r--r-- 1 root root 3622 2006-10-05 17:50 configure.ac
-rw-r--r-- 1 root root 11353 2006-01-02 12:19 COPYING
drwxr-xr-x 2 root root 4096 2006-10-20 00:35 CVS
drwxr-xr-x 3 root root 4096 2006-10-20 00:35 debian
drwxr-xr-x 4 root root 4096 2006-10-20 00:35 distro
drwxr-xr-x 3 root root 4096 2006-10-20 00:35 doc
drwxr-xr-x 3 root root 4096 2006-10-20 19:35 include
-rw-r--r-- 1 root root 9498 2005-12-17 14:03 INSTALL
-rwxr-xr-x 1 root root 6406 2006-10-20 19:35 install-sh
-rw-r--r-- 1 root root 1971 2006-10-05 17:50 libmysequoia.spec
-rw-r--r-- 1 root root 186760 2005-12-17 14:03 ltmain.sh
-rw-r--r-- 1 root root 3235 2006-03-27 09:52 Makefile.am
-rw-r--r-- 1 root root 15802 2006-10-20 19:35 Makefile.in
-rwxr-xr-x 1 root root 6480 2006-10-20 19:35 missing
-rwxr-xr-x 1 root root 722 2006-10-20 19:35 mkinstalldirs
-rw-r--r-- 1 root root 53 2006-02-13 10:23 NEWS
-rw-r--r-- 1 root root 2935 2006-03-28 17:06 README
drwxr-xr-x 3 root root 4096 2006-10-20 19:35 src
drwxr-xr-x 4 root root 4096 2006-10-20 19:35 test
looks good.
Starting "configure"
=================================
ctrl1:/usr/local/lib/carob-scm-2006-10-20/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: executing default-1 commands
Installing in prefix: /usr/local
Config files are in: /usr/local/etc
starting "make"
=================================
ctrl1:/usr/local/lib/carob-scm-2006-10-20/libmysequoia# make
=================================
Making all in src
make[1]: Entering directory
`/usr/local/lib/carob-scm-2006-10-20/libmysequoia/src'
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I../include -g -O2 -I/usr/include/carob -c CarobCommon.cpp
mkdir .libs
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
Open for any hints. Surely it is my stupidness, only.
Best Regards
Volker
--
====================================================
inqbus it-consulting +49 ( 341 ) 5643800
Dr. Volker Jaenisch http://www.inqbus.de
Herloßsohnstr. 12 0 4 1 5 5 Leipzig
N O T - F Ä L L E +49 ( 170 ) 3113748
====================================================
_______________________________________________
Carob mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob