LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-15-2012, 10:31 AM   #1
glorandam
LQ Newbie
 
Registered: Jun 2012
Posts: 3

Rep: Reputation: Disabled
Error when trying to ./configure, "/lib/cpp" fails sanity check


Hi,
I'm trying to install MDBtools , a software to be able to read Access databases (.mdb), but when i tried to ./configure it, got this error:

configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

Apparently it's pretty common but I'm pretty new to Linux and i can't figure out what's caused the error in the config.log file...

Here it is :

Code:
It was created by configure, which was
generated by GNU Autoconf 2.57.  Invocation command line was

  $ ./configure 

## --------- ##
## Platform. ##
## --------- ##

hostname = ubuntu
uname -m = i686
uname -r = 3.0.0-19-generic
uname -s = Linux
uname -v = #33-Ubuntu SMP Thu Apr 19 19:05:57 UTC 2012

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1507: checking for a BSD-compatible install
configure:1561: result: /usr/bin/install -c
configure:1572: checking whether build environment is sane
configure:1615: result: yes
configure:1640: WARNING: `missing' script is too old or missing
configure:1648: checking for gawk
configure:1677: result: no
configure:1648: checking for mawk
configure:1664: found /usr/bin/mawk
configure:1674: result: mawk
configure:1684: checking whether make sets $(MAKE)
configure:1704: result: yes
configure:1923: checking for gcc
configure:1939: found /usr/bin/gcc
configure:1949: result: gcc
configure:1970: checking for C compiler version
configure:1973: gcc --version </dev/null >&5
gcc (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:1976: $? = 0
configure:1978: gcc -v </dev/null >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/4.6.1/lto-wrapper
Target: i686-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.1-9ubuntu3' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++,go --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-plugin --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu
Thread model: posix
gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3) 
configure:1981: $? = 0
configure:1983: gcc -V </dev/null >&5
gcc: error: unrecognized option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:1986: $? = 4
configure:2010: checking for C compiler default output
configure:2013: gcc    conftest.c  >&5
configure:2016: $? = 0
configure:2062: result: a.out
configure:2067: checking whether the C compiler works
configure:2073: ./a.out
configure:2076: $? = 0
configure:2093: result: yes
configure:2100: checking whether we are cross compiling
configure:2102: result: no
configure:2105: checking for suffix of executables
configure:2107: gcc -o conftest    conftest.c  >&5
configure:2110: $? = 0
configure:2135: result: 
configure:2141: checking for suffix of object files
configure:2163: gcc -c   conftest.c >&5
configure:2166: $? = 0
configure:2188: result: o
configure:2192: checking whether we are using the GNU C compiler
configure:2217: gcc -c   conftest.c >&5
configure:2220: $? = 0
configure:2223: test -s conftest.o
configure:2226: $? = 0
configure:2239: result: yes
configure:2245: checking whether gcc accepts -g
configure:2267: gcc -c -g  conftest.c >&5
configure:2270: $? = 0
configure:2273: test -s conftest.o
configure:2276: $? = 0
configure:2287: result: yes
configure:2304: checking for gcc option to accept ANSI C
configure:2365: gcc  -c -g -O2  conftest.c >&5
configure:2368: $? = 0
configure:2371: test -s conftest.o
configure:2374: $? = 0
configure:2392: result: none needed
configure:2410: gcc -c -g -O2  conftest.c >&5
conftest.c:2:3: error: unknown type name 'choke'
conftest.c:2:3: error: expected '=', ',', ';', 'asm' or '__attribute__' at end of input
configure:2413: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif
configure:2533: checking for style of include used by make
configure:2561: result: GNU
configure:2589: checking dependency style of gcc
configure:2672: result: gcc3
configure:2689: checking whether make sets $(MAKE)
configure:2709: result: yes
configure:2796: checking build system type
configure:2814: result: i686-pc-linux-gnu
configure:2822: checking host system type
configure:2836: result: i686-pc-linux-gnu
configure:2844: checking for a sed that does not truncate output
configure:2898: result: /bin/sed
configure:2901: checking for egrep
configure:2911: result: grep -E
configure:2927: checking for ld used by gcc
configure:2994: result: /usr/bin/ld
configure:3003: checking if the linker (/usr/bin/ld) is GNU ld
configure:3018: result: yes
configure:3023: checking for /usr/bin/ld option to reload object files
configure:3030: result: -r
configure:3039: checking for BSD-compatible nm
configure:3081: result: /usr/bin/nm -B
configure:3085: checking whether ln -s works
configure:3089: result: yes
configure:3096: checking how to recognise dependent libraries
configure:3279: result: pass_all
configure:3483: checking how to run the C preprocessor
configure:3519: gcc -E  conftest.c
configure:3525: $? = 0
configure:3557: gcc -E  conftest.c
configure:3558:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:3563: $? = 1
configure: failed program was:
| #line 3548 "configure"
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "mdbtools"
| #define VERSION "0.6pre1"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3601: result: gcc -E
configure:3626: gcc -E  conftest.c
configure:3632: $? = 0
configure:3664: gcc -E  conftest.c
configure:3665:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:3670: $? = 1
configure: failed program was:
| #line 3655 "configure"
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "mdbtools"
| #define VERSION "0.6pre1"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3713: checking for ANSI C header files
configure:3739: gcc -c -g -O2  conftest.c >&5
configure:3742: $? = 0
configure:3745: test -s conftest.o
configure:3748: $? = 0
configure:3840: gcc -o conftest -g -O2   conftest.c  >&5
configure: In function 'main':
configure:3835:7: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
configure:3843: $? = 0
configure:3845: ./conftest
configure:3848: $? = 0
configure:3863: result: yes
configure:3887: checking for sys/types.h
configure:3904: gcc -c -g -O2  conftest.c >&5
configure:3907: $? = 0
configure:3910: test -s conftest.o
configure:3913: $? = 0
configure:3924: result: yes
configure:3887: checking for sys/stat.h
configure:3904: gcc -c -g -O2  conftest.c >&5
configure:3907: $? = 0
configure:3910: test -s conftest.o
configure:3913: $? = 0
configure:3924: result: yes
configure:3887: checking for stdlib.h
configure:3904: gcc -c -g -O2  conftest.c >&5
configure:3907: $? = 0
configure:3910: test -s conftest.o
configure:3913: $? = 0
configure:3924: result: yes
configure:3887: checking for string.h
configure:3904: gcc -c -g -O2  conftest.c >&5
configure:3907: $? = 0
configure:3910: test -s conftest.o
configure:3913: $? = 0
configure:3924: result: yes
configure:3887: checking for memory.h
configure:3904: gcc -c -g -O2  conftest.c >&5
configure:3907: $? = 0
configure:3910: test -s conftest.o
configure:3913: $? = 0
configure:3924: result: yes
configure:3887: checking for strings.h
configure:3904: gcc -c -g -O2  conftest.c >&5
configure:3907: $? = 0
configure:3910: test -s conftest.o
configure:3913: $? = 0
configure:3924: result: yes
configure:3887: checking for inttypes.h
configure:3904: gcc -c -g -O2  conftest.c >&5
configure:3907: $? = 0
configure:3910: test -s conftest.o
configure:3913: $? = 0
configure:3924: result: yes
configure:3887: checking for stdint.h
configure:3904: gcc -c -g -O2  conftest.c >&5
configure:3907: $? = 0
configure:3910: test -s conftest.o
configure:3913: $? = 0
configure:3924: result: yes
configure:3887: checking for unistd.h
configure:3904: gcc -c -g -O2  conftest.c >&5
configure:3907: $? = 0
configure:3910: test -s conftest.o
configure:3913: $? = 0
configure:3924: result: yes
configure:3950: checking dlfcn.h usability
configure:3963: gcc -c -g -O2  conftest.c >&5
configure:3966: $? = 0
configure:3969: test -s conftest.o
configure:3972: $? = 0
configure:3982: result: yes
configure:3986: checking dlfcn.h presence
configure:3997: gcc -E  conftest.c
configure:4003: $? = 0
configure:4022: result: yes
configure:4058: checking for dlfcn.h
configure:4065: result: yes
configure:4130: checking for g++
configure:4159: result: no
configure:4130: checking for c++
configure:4159: result: no
configure:4130: checking for gpp
configure:4159: result: no
configure:4130: checking for aCC
configure:4159: result: no
configure:4130: checking for CC
configure:4159: result: no
configure:4130: checking for cxx
configure:4159: result: no
configure:4130: checking for cc++
configure:4159: result: no
configure:4130: checking for cl
configure:4159: result: no
configure:4130: checking for FCC
configure:4159: result: no
configure:4130: checking for KCC
configure:4159: result: no
configure:4130: checking for RCC
configure:4159: result: no
configure:4130: checking for xlC_r
configure:4159: result: no
configure:4130: checking for xlC
configure:4159: result: no
configure:4172: checking for C++ compiler version
configure:4175: g++ --version </dev/null >&5
./configure: line 4176: g++: command not found
configure:4178: $? = 127
configure:4180: g++ -v </dev/null >&5
./configure: line 4181: g++: command not found
configure:4183: $? = 127
configure:4185: g++ -V </dev/null >&5
./configure: line 4186: g++: command not found
configure:4188: $? = 127
configure:4191: checking whether we are using the GNU C++ compiler
configure:4216: g++ -c   conftest.cc >&5
./configure: line 4217: g++: command not found
configure:4219: $? = 127
configure: failed program was:
| #line 4196 "configure"
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "mdbtools"
| #define VERSION "0.6pre1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| #ifndef __GNUC__
|        choke me
| #endif
| 
|   ;
|   return 0;
| }
configure:4238: result: no
configure:4244: checking whether g++ accepts -g
configure:4266: g++ -c -g  conftest.cc >&5
./configure: line 4267: g++: command not found
configure:4269: $? = 127
configure: failed program was:
| #line 4249 "configure"
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "mdbtools"
| #define VERSION "0.6pre1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:4286: result: no
configure:4330: g++ -c   conftest.cc >&5
./configure: line 4331: g++: command not found
configure:4333: $? = 127
configure: failed program was:
| #line 4312 "configure"
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "mdbtools"
| #define VERSION "0.6pre1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| /* end confdefs.h.  */
| #include <stdlib.h>
| 
| int
| main ()
| {
| exit (42);
|   ;
|   return 0;
| }
configure:4330: g++ -c   conftest.cc >&5
./configure: line 4331: g++: command not found
configure:4333: $? = 127
configure: failed program was:
| #line 4312 "configure"
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "mdbtools"
| #define VERSION "0.6pre1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| /* end confdefs.h.  */
| #include <stdlib.h>
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
|   ;
|   return 0;
| }
configure:4330: g++ -c   conftest.cc >&5
./configure: line 4331: g++: command not found
configure:4333: $? = 127
configure: failed program was:
| #line 4312 "configure"
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "mdbtools"
| #define VERSION "0.6pre1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| /* end confdefs.h.  */
| #include <stdlib.h>
| extern "C" void std::exit (int) throw (); using std::exit;
| int
| main ()
| {
| exit (42);
|   ;
|   return 0;
| }
configure:4330: g++ -c   conftest.cc >&5
./configure: line 4331: g++: command not found
configure:4333: $? = 127
configure: failed program was:
| #line 4312 "configure"
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "mdbtools"
| #define VERSION "0.6pre1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| /* end confdefs.h.  */
| #include <stdlib.h>
| extern "C" void std::exit (int); using std::exit;
| int
| main ()
| {
| exit (42);
|   ;
|   return 0;
| }
configure:4330: g++ -c   conftest.cc >&5
./configure: line 4331: g++: command not found
configure:4333: $? = 127
configure: failed program was:
| #line 4312 "configure"
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "mdbtools"
| #define VERSION "0.6pre1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| /* end confdefs.h.  */
| #include <stdlib.h>
| extern "C" void exit (int) throw ();
| int
| main ()
| {
| exit (42);
|   ;
|   return 0;
| }
configure:4330: g++ -c   conftest.cc >&5
./configure: line 4331: g++: command not found
configure:4333: $? = 127
configure: failed program was:
| #line 4312 "configure"
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "mdbtools"
| #define VERSION "0.6pre1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| /* end confdefs.h.  */
| #include <stdlib.h>
| extern "C" void exit (int);
| int
| main ()
| {
| exit (42);
|   ;
|   return 0;
| }
configure:4330: g++ -c   conftest.cc >&5
./configure: line 4331: g++: command not found
configure:4333: $? = 127
configure: failed program was:
| #line 4312 "configure"
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "mdbtools"
| #define VERSION "0.6pre1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| /* end confdefs.h.  */
| #include <stdlib.h>
| void exit (int);
| int
| main ()
| {
| exit (42);
|   ;
|   return 0;
| }
configure:4400: checking dependency style of g++
configure:4483: result: none
configure:4505: checking how to run the C++ preprocessor
configure:4537: g++ -E  conftest.cc
./configure: line 4538: g++: command not found
configure:4543: $? = 127
configure: failed program was:
| #line 4523 "configure"
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "mdbtools"
| #define VERSION "0.6pre1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #ifdef __cplusplus
| void exit (int);
| #endif
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|                      Syntax error
configure:4537: g++ -E  conftest.cc
./configure: line 4538: g++: command not found
configure:4543: $? = 127
configure: failed program was:
| #line 4523 "configure"
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "mdbtools"
| #define VERSION "0.6pre1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #ifdef __cplusplus
| void exit (int);
| #endif
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|                      Syntax error
configure:4537: /lib/cpp  conftest.cc
cpp: error trying to exec 'cc1plus': execvp: No such file or directory
configure:4543: $? = 1
configure: failed program was:
| #line 4523 "configure"
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "mdbtools"
| #define VERSION "0.6pre1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #ifdef __cplusplus
| void exit (int);
| #endif
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|                      Syntax error
configure:4537: /lib/cpp  conftest.cc
cpp: error trying to exec 'cc1plus': execvp: No such file or directory
configure:4543: $? = 1
configure: failed program was:
| #line 4523 "configure"
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "mdbtools"
| #define VERSION "0.6pre1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #ifdef __cplusplus
| void exit (int);
| #endif
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|                      Syntax error
configure:4619: result: /lib/cpp
configure:4644: /lib/cpp  conftest.cc
cpp: error trying to exec 'cc1plus': execvp: No such file or directory
configure:4650: $? = 1
configure: failed program was:
| #line 4630 "configure"
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "mdbtools"
| #define VERSION "0.6pre1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #ifdef __cplusplus
| void exit (int);
| #endif
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|                      Syntax error
configure:4644: /lib/cpp  conftest.cc
cpp: error trying to exec 'cc1plus': execvp: No such file or directory
configure:4650: $? = 1
configure: failed program was:
| #line 4630 "configure"
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "mdbtools"
| #define VERSION "0.6pre1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #ifdef __cplusplus
| void exit (int);
| #endif
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|                      Syntax error
configure:4718: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-pc-linux-gnu
ac_cv_build_alias=i686-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=no
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=
ac_cv_header_dlfcn_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=i686-pc-linux-gnu
ac_cv_host_alias=i686-pc-linux-gnu
ac_cv_objext=o
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=mawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_CXXCPP=/lib/cpp
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_cxx_g=no
ac_cv_prog_egrep='grep -E'
ac_cv_prog_make_make_set=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_CXX_dependencies_compiler_type=none
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file='/lib/libc.so* /lib/libc-*.so'
lt_cv_ld_reload_flag=-r
lt_cv_path_LD=/usr/bin/ld
lt_cv_path_NM='/usr/bin/nm -B'
lt_cv_path_SED=/bin/sed
lt_cv_prog_gnu_ld=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='aclocal-1.7'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='tar'
AR=''
AUTOCONF='autoconf'
AUTOHEADER='autoheader'
AUTOMAKE='automake-1.7'
AWK='mawk'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2'
CPP='gcc -E'
CPPFLAGS=''
CXX='g++'
CXXCPP='/lib/cpp'
CXXDEPMODE='depmode=none'
CXXFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='grep -E'
ENABLE_GTK_DOC_FALSE=''
ENABLE_GTK_DOC_TRUE=''
EXEEXT=''
F77=''
FFLAGS=''
GLIB_CFLAGS=''
GLIB_GENMARSHAL=''
GLIB_LIBS=''
GLIB_MKENUMS=''
GNOME_CFLAGS=''
GNOME_LIBS=''
GOBJECT_QUERY=''
HTML_DIR=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS=''
LEX=''
LEXLIB=''
LEX_OUTPUT_ROOT=''
LFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LN_S='ln -s'
LTLIBOBJS=''
MAKEINFO='makeinfo'
OBJEXT='o'
ODBC_CFLAGS=''
ODBC_LIBS=''
OPTDIRS=''
PACKAGE='mdbtools'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PKG_CONFIG=''
RANLIB=''
READLINE_LIBS=''
SET_MAKE=''
SHELL='/bin/bash'
SQL=''
SQL_FALSE=''
SQL_TRUE=''
STRIP=''
VERSION='0.6pre1'
YACC=''
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_CXX='g++'
ac_ct_F77=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE='#'
am__include='include'
am__leading_dot='.'
am__quote=''
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
datadir='${prefix}/share'
exec_prefix='NONE'
host='i686-pc-linux-gnu'
host_alias=''
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/home/polo/mdbtools-0.6pre1/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir=''
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define HAVE_DLFCN_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STDINT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRINGS_H 1
#define HAVE_STRING_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_UNISTD_H 1
#define PACKAGE "mdbtools"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define STDC_HEADERS 1
#define VERSION "0.6pre1"
#endif
#ifdef __cplusplus
void exit (int);

configure: exit 1
Maybe it's something about the "confdefs.h" file, as it keeps saying :
Code:
configure: failed program was:
| #line 4312 "configure"
| /* confdefs.h.  */
Any help welcome
 
Old 06-15-2012, 10:39 AM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,077

Rep: Reputation: Disabled
Hi, welcome to LQ.

You seem to be using Ubuntu and there are binary Ubuntu packages for MDBtools, why compile it yourself?

Last edited by Didier Spaier; 06-15-2012 at 10:45 AM.
 
1 members found this post helpful.
Old 06-15-2012, 10:46 AM   #3
glorandam
LQ Newbie
 
Registered: Jun 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
Ah, right, i was on the project page and it wasn't said, I feel kind of stupid now...

Thank you for solving the problem so brilliantly
 
Old 06-15-2012, 11:13 AM   #4
glorandam
LQ Newbie
 
Registered: Jun 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
Hum, it's a bit out of the main subject but i can't figure out how to launch it now..

Can't select it as a program to open the mdb file, or launch it with 'mdbtools' console command..
Any idea ?
 
Old 06-15-2012, 11:54 AM   #5
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,077

Rep: Reputation: Disabled
The most interesting files shipped in a package compiled for Slacware 13.37 with a build script provided by slackbuilds.org are:
Code:
usr/man/man1/mdb-export
usr/man/man1/mdb-ver
usr/man/man1/mdb-schema
usr/man/man1/mdb-tables
usr/man/man1/mdb-sql
usr/bin/mdb-dump
usr/bin/prkkd
usr/bin/prdata
usr/bin/prtable
usr/bin/prole
usr/bin/mdb-array
usr/bin/prdump
usr/bin/prcat
usr/bin/prindex
usr/bin/mdb-tables
usr/bin/updrow
usr/bin/mdb-sql
usr/bin/mdb-parsecsv
usr/bin/mdb-schema
usr/bin/mdb-header
usr/bin/mdb-ver
usr/bin/mdb-export
Those in the /usr/bin directory are commands you can type at the console.

Those in the usr/man/man1 directory are manual pages (e.g. you can type "man mdb-sql" (without the quotes) to know more about that command.
In Ubuntu the man pages are probably included in package mdbtools-doc.

In addition there is a GUI front-end which is called gmdb2. I guess that you should install the Ubuntu package mdbtools-gmdb to get it.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
configure: error: C preprocessor "/lib/cpp" fails sanity check JohnnyTricksta Linux - Software 3 10-22-2009 05:46 PM
configure: error: C preprocessor "/lib/cpp" fails sanity check Nivix Red Hat 3 06-02-2009 09:55 PM
configure: error: C preprocessor "/lib/cpp" fails sanity check rundata Linux - Newbie 2 01-16-2008 03:01 AM
configure: error: C++ preprocessor "/lib/cpp" fails sanity check HELP Ckesey Linux - Software 0 10-04-2004 09:49 AM
configure: error: C++ preprocessor "/lib/cpp" fails sanity check raela Linux - Software 6 03-16-2004 05:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration