Probléme Installation MDBtools

Bonjour,

Je souhaite installer MDBtools pour pouvoir lire les bdd .mdb(access) depuis linux avec php seulement j’ai un problème a la compilation.

Je télécharge donc mdbtools :

sourceforge.net/projects/mdbtools

Je regarde les dépendance :

mdbtools.sourceforge.net/install/c98.htm

Donc je fait :

aptitude install bison flex

et j’installe readline a partir des source.

Ma version de Glib était trop récente donc j’en est installer une ancienne ( celle qu’il demande).

Je commence donc a me placer dans le dossier de mdbtools et fait un

voila le résultat :

checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /root/mdbtools-0.6pre1/missing: Unknown `--run' option Try `/root/mdbtools-0.6pre1/missing --help' for more information configure: WARNING: `missing' script is too old or missing checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output... 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 gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking whether make sets $(MAKE)... (cached) yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for egrep... 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 whether ln -s works... yes 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 for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 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 fl32... no checking for af77... no checking for fort77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... f95 checking whether we are using the GNU Fortran 77 compiler... yes checking whether f95 accepts -g... yes 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 static flag works... yes 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 supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) 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 checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes appending configuration tag "F77" to libtool checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for f95 option to produce PIC... -fPIC checking if f95 PIC flag -fPIC works... yes checking if f95 supports -c -o file.o... yes checking whether the f95 linker (/usr/bin/ld) supports shared libraries... yes 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 for flex... flex checking for yywrap in -lfl... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes checking for bison... bison -y checking for ANSI C header files... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for unistd.h... (cached) yes checking wordexp.h usability... yes checking wordexp.h presence... yes checking for wordexp.h... yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking whether byte ordering is bigendian... no checking Are we using flex ... yes checking for pkg-config... /usr/bin/pkg-config checking for GLIB - version >= 2.0.0... yes (version 2.12.4) checking for libglade-2.0 libgnomeui-2.0... checking gtk-doc version >= 1.0... no checking for initscr in -lncurses... no checking for add_history in -lreadline... no configure: creating ./config.status config.status: creating src/Makefile config.status: creating libmdb.pc config.status: creating libmdbsql.pc config.status: creating src/util/Makefile config.status: creating src/extras/Makefile config.status: creating Makefile config.status: creating include/Makefile config.status: creating src/libmdb/Makefile config.status: creating src/sql/Makefile config.status: creating src/odbc/Makefile config.status: creating doc/Makefile config.status: creating src/gmdb2/Makefile config.status: creating src/gmdb2/gladefiles/Makefile config.status: creating src/gmdb2/pixmaps/Makefile config.status: creating src/gmdb2/help/Makefile config.status: creating src/gmdb2/help/C/Makefile config.status: creating mdbtools.spec config.status: creating include/mdbver.h config.status: creating include/config.h config.status: executing depfiles commands

ensuite je fait un make

voila le message d’erreur

backend.c:31: error: static declaration of 'mdb_backends' follows non-static declaration ../../include/mdbtools.h:150: error: previous declaration of 'mdb_backends' was here make[2]: *** [backend.lo] Erreur 1 make[2]: quittant le répertoire « /root/mdbtools-0.6pre1/src/libmdb » make[1]: *** [all-recursive] Erreur 1 make[1]: quittant le répertoire « /root/mdbtools-0.6pre1/src » make: *** [all-recursive] Erreur 1

Je crois ne pas avoir fait d’erreur…

Voila si quelqu’un peut m’aider

Merci d’avance

Si j’installe le mdbtools 3.5 je n’est pas le même message d’erreur:

odbc.c:50:1: warning: "MIN" redefined
In file included from ../../include/mdbtools.h:31,
                 from ../../include/mdbodbc.h:22,
                 from odbc.c:28:
/usr/include/glib-1.2/glib.h:137:1: warning: this is the location of the previous definition
odbc.c: In function 'SQLBindCol':
odbc.c:493: warning: assignment from incompatible pointer type
odbc.c: In function 'SQLColAttributes':
odbc.c:659: warning: dereferencing 'void *' pointer
odbc.c: At top level:
odbc.c:778: warning: conflicting types for 'bind_columns'
odbc.c:778: error: static declaration of 'bind_columns' follows non-static declaration
odbc.c:200: error: previous implicit declaration of 'bind_columns' was here
odbc.c: In function '_odbc_get_server_type':
odbc.c:1448: error: label at end of compound statement
make[2]: *** [odbc.lo] Erreur 1
make[2]: quittant le répertoire « /root/mdbtools-0.5/src/odbc »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /root/mdbtools-0.5/src »
make: *** [all-recursive] Erreur 1

Up svp

Up svp , cela est urgent