configure: error: C preprocessor "/lib/cpp" fails sanity che

Hi,
This is my system
Linux 2.6.27.29-0.1-default i686
openSUSE 11.1 (i586)
KDE: 4.3.2 (KDE 4.3.2) “release 2”

I have been trying to compile HTK needed for Simon 0,2 to work, but i get this error.
It’ s the first time i am trying to compile anything, so i might be doing something stupid. I have tried and installed pretty much most of the things that contain gcc, gcc++ and similar words , but i still can’t make it work

./configure
checking whether make sets $(MAKE)… yes
checking for gawk… gawk
checking for gcc… gcc
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 gcc accepts -g… yes
checking for gcc option to accept ISO C89… none needed
checking for a BSD-compatible install… /usr/bin/install -c
checking whether ln -s works… yes
checking for ranlib… ranlib
checking for main in -lX11… yes
checking for main in -lm… yes
checking how to run the C preprocessor… /lib/cpp
configure: error: C preprocessor “/lib/cpp” fails sanity check
See `config.log’ for more details.

and this is the config.log, if it means anything

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by HTK configure 3.4.1, which was
generated by GNU Autoconf 2.61. Invocation command line was

$ ./configure

---------

Platform.

---------

hostname = linux-naiw
uname -m = i686
uname -r = 2.6.27.29-0.1-default
uname -s = Linux
uname -v = #1 SMP 2009-08-15 17:53:59 +0200

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

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

PATH: /usr/lib/mpi/gcc/openmpi/bin
PATH: /home/k8oylos/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /sbin
PATH: /usr/sbin
PATH: /bin
PATH: /usr/bin/X11
PATH: /usr/X11R6/bin
PATH: /usr/games
PATH: /opt/kde3/bin
PATH: /usr/lib/jvm/jre/bin
PATH: /usr/lib/mit/bin
PATH: /usr/lib/mit/sbin

-----------

Core tests.

-----------

configure:1739: checking whether make sets $(MAKE)
configure:1760: result: yes
configure:1773: checking for gawk
configure:1789: found /usr/bin/gawk
configure:1800: result: gawk
configure:1859: checking for gcc
configure:1875: found /usr/bin/gcc
configure:1886: result: gcc
configure:2124: checking for C compiler version
configure:2131: gcc --version >&5
gcc (SUSE Linux) 4.3.2 [gcc-4_3-branch revision 141291]
Copyright (C) 2008 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:2134: $? = 0
configure:2141: gcc -v >&5
Using built-in specs.
Target: i586-suse-linux
Configured with: …/configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.3 --enable-ssp --disable-libssp --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion=‘SUSE Linux’ --disable-libgcj --disable-libmudflap --with-slibdir=/lib --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --program-suffix=-4.3 --enable-linux-futex --without-system-libunwind --with-cpu=generic --build=i586-suse-linux
Thread model: posix
gcc version 4.3.2 [gcc-4_3-branch revision 141291] (SUSE Linux)
configure:2144: $? = 0
configure:2151: gcc -V >&5
gcc: ‘-V’ option must have argument
configure:2154: $? = 1
configure:2177: checking for C compiler default output file name
configure:2204: gcc conftest.c >&5
configure:2207: $? = 0
configure:2245: result: a.out
configure:2262: checking whether the C compiler works
configure:2272: ./a.out
configure:2275: $? = 0
configure:2292: result: yes
configure:2299: checking whether we are cross compiling
configure:2301: result: no
configure:2304: checking for suffix of executables
configure:2311: gcc -o conftest conftest.c >&5
configure:2314: $? = 0
configure:2338: result:
configure:2344: checking for suffix of object files
configure:2370: gcc -c conftest.c >&5
configure:2373: $? = 0
configure:2396: result: o
configure:2400: checking whether we are using the GNU C compiler
configure:2429: gcc -c conftest.c >&5
configure:2435: $? = 0
configure:2452: result: yes
configure:2457: checking whether gcc accepts -g
configure:2487: gcc -c -g conftest.c >&5
configure:2493: $? = 0
configure:2592: result: yes
configure:2609: checking for gcc option to accept ISO C89
configure:2683: gcc -c -g -O2 conftest.c >&5
configure:2689: $? = 0
configure:2712: result: none needed
configure:2774: checking for a BSD-compatible install
configure:2830: result: /usr/bin/install -c
configure:2841: checking whether ln -s works
configure:2845: result: yes
configure:2895: checking for ranlib
configure:2911: found /usr/bin/ranlib
configure:2922: result: ranlib
configure:2951: checking for main in -lX11
configure:2980: gcc -o conftest -g -O2 conftest.c -lX11 >&5
configure:2986: $? = 0
configure:3004: result: yes
configure:3016: checking for main in -lm
configure:3045: gcc -o conftest -g -O2 conftest.c -lm -lX11 >&5
configure:3051: $? = 0
configure:3069: result: yes
configure:3088: checking how to run the C preprocessor
configure:3128: gcc -E conftest.c
In file included from /usr/include/bits/posix1_lim.h:153,
from /usr/include/limits.h:145,
from /usr/lib/gcc/i586-suse-linux/4.3/include-fixed/limits.h:122,
from /usr/lib/gcc/i586-suse-linux/4.3/include-fixed/syslimits.h:7,
from /usr/lib/gcc/i586-suse-linux/4.3/include-fixed/limits.h:11,
from conftest.c:11:
/usr/include/bits/local_lim.h:39:26: error: linux/limits.h: No such file or directory
configure:3134: $? = 1
configure: failed program was:
| /* confdefs.h. /
| #define PACKAGE_NAME “HTK”
| #define PACKAGE_TARNAME “htk”
| #define PACKAGE_VERSION “3.4.1”
| #define PACKAGE_STRING “HTK 3.4.1”
| #define PACKAGE_BUGREPORT “htk-mgr@eng.cam.ac.uk
| #define HAVE_LIBX11 1
| #define HAVE_LIBM 1
| /
end confdefs.h. /
| #ifdef STDC
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:3128: gcc -E conftest.c
In file included from /usr/include/bits/posix1_lim.h:153,
from /usr/include/limits.h:145,
from /usr/lib/gcc/i586-suse-linux/4.3/include-fixed/limits.h:122,
from /usr/lib/gcc/i586-suse-linux/4.3/include-fixed/syslimits.h:7,
from /usr/lib/gcc/i586-suse-linux/4.3/include-fixed/limits.h:11,
from conftest.c:11:
/usr/include/bits/local_lim.h:39:26: error: linux/limits.h: No such file or directory
configure:3134: $? = 1
configure: failed program was:
| /
confdefs.h. /
| #define PACKAGE_NAME “HTK”
| #define PACKAGE_TARNAME “htk”
| #define PACKAGE_VERSION “3.4.1”
| #define PACKAGE_STRING “HTK 3.4.1”
| #define PACKAGE_BUGREPORT “htk-mgr@eng.cam.ac.uk
| #define HAVE_LIBX11 1
| #define HAVE_LIBM 1
| /
end confdefs.h. /
| #ifdef STDC
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:3128: gcc -E -traditional-cpp conftest.c
In file included from /usr/include/features.h:331,
from /usr/include/assert.h:38,
from conftest.c:14:
/usr/include/sys/cdefs.h:32: error: #error “You need a ISO C conforming compiler to use the glibc headers”
configure:3134: $? = 1
configure: failed program was:
| /
confdefs.h. /
| #define PACKAGE_NAME “HTK”
| #define PACKAGE_TARNAME “htk”
| #define PACKAGE_VERSION “3.4.1”
| #define PACKAGE_STRING “HTK 3.4.1”
| #define PACKAGE_BUGREPORT “htk-mgr@eng.cam.ac.uk
| #define HAVE_LIBX11 1
| #define HAVE_LIBM 1
| /
end confdefs.h. /
| #ifdef STDC
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:3128: gcc -E -traditional-cpp conftest.c
In file included from /usr/include/features.h:331,
from /usr/include/assert.h:38,
from conftest.c:14:
/usr/include/sys/cdefs.h:32: error: #error “You need a ISO C conforming compiler to use the glibc headers”
configure:3134: $? = 1
configure: failed program was:
| /
confdefs.h. /
| #define PACKAGE_NAME “HTK”
| #define PACKAGE_TARNAME “htk”
| #define PACKAGE_VERSION “3.4.1”
| #define PACKAGE_STRING “HTK 3.4.1”
| #define PACKAGE_BUGREPORT “htk-mgr@eng.cam.ac.uk
| #define HAVE_LIBX11 1
| #define HAVE_LIBM 1
| /
end confdefs.h. /
| #ifdef STDC
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:3128: /lib/cpp conftest.c
In file included from /usr/include/bits/posix1_lim.h:153,
from /usr/include/limits.h:145,
from /usr/lib/gcc/i586-suse-linux/4.3/include-fixed/limits.h:122,
from /usr/lib/gcc/i586-suse-linux/4.3/include-fixed/syslimits.h:7,
from /usr/lib/gcc/i586-suse-linux/4.3/include-fixed/limits.h:11,
from conftest.c:11:
/usr/include/bits/local_lim.h:39:26: error: linux/limits.h: No such file or directory
configure:3134: $? = 1
configure: failed program was:
| /
confdefs.h. /
| #define PACKAGE_NAME “HTK”
| #define PACKAGE_TARNAME “htk”
| #define PACKAGE_VERSION “3.4.1”
| #define PACKAGE_STRING “HTK 3.4.1”
| #define PACKAGE_BUGREPORT “htk-mgr@eng.cam.ac.uk
| #define HAVE_LIBX11 1
| #define HAVE_LIBM 1
| /
end confdefs.h. /
| #ifdef STDC
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:3128: /lib/cpp conftest.c
In file included from /usr/include/bits/posix1_lim.h:153,
from /usr/include/limits.h:145,
from /usr/lib/gcc/i586-suse-linux/4.3/include-fixed/limits.h:122,
from /usr/lib/gcc/i586-suse-linux/4.3/include-fixed/syslimits.h:7,
from /usr/lib/gcc/i586-suse-linux/4.3/include-fixed/limits.h:11,
from conftest.c:11:
/usr/include/bits/local_lim.h:39:26: error: linux/limits.h: No such file or directory
configure:3134: $? = 1
configure: failed program was:
| /
confdefs.h. /
| #define PACKAGE_NAME “HTK”
| #define PACKAGE_TARNAME “htk”
| #define PACKAGE_VERSION “3.4.1”
| #define PACKAGE_STRING “HTK 3.4.1”
| #define PACKAGE_BUGREPORT “htk-mgr@eng.cam.ac.uk
| #define HAVE_LIBX11 1
| #define HAVE_LIBM 1
| /
end confdefs.h. /
| #ifdef STDC
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:3204: result: /lib/cpp
configure:3233: /lib/cpp conftest.c
In file included from /usr/include/bits/posix1_lim.h:153,
from /usr/include/limits.h:145,
from /usr/lib/gcc/i586-suse-linux/4.3/include-fixed/limits.h:122,
from /usr/lib/gcc/i586-suse-linux/4.3/include-fixed/syslimits.h:7,
from /usr/lib/gcc/i586-suse-linux/4.3/include-fixed/limits.h:11,
from conftest.c:11:
/usr/include/bits/local_lim.h:39:26: error: linux/limits.h: No such file or directory
configure:3239: $? = 1
configure: failed program was:
| /
confdefs.h. /
| #define PACKAGE_NAME “HTK”
| #define PACKAGE_TARNAME “htk”
| #define PACKAGE_VERSION “3.4.1”
| #define PACKAGE_STRING “HTK 3.4.1”
| #define PACKAGE_BUGREPORT “htk-mgr@eng.cam.ac.uk
| #define HAVE_LIBX11 1
| #define HAVE_LIBM 1
| /
end confdefs.h. /
| #ifdef STDC
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:3233: /lib/cpp conftest.c
In file included from /usr/include/bits/posix1_lim.h:153,
from /usr/include/limits.h:145,
from /usr/lib/gcc/i586-suse-linux/4.3/include-fixed/limits.h:122,
from /usr/lib/gcc/i586-suse-linux/4.3/include-fixed/syslimits.h:7,
from /usr/lib/gcc/i586-suse-linux/4.3/include-fixed/limits.h:11,
from conftest.c:11:
/usr/include/bits/local_lim.h:39:26: error: linux/limits.h: No such file or directory
configure:3239: $? = 1
configure: failed program was:
| /
confdefs.h. /
| #define PACKAGE_NAME “HTK”
| #define PACKAGE_TARNAME “htk”
| #define PACKAGE_VERSION “3.4.1”
| #define PACKAGE_STRING “HTK 3.4.1”
| #define PACKAGE_BUGREPORT “htk-mgr@eng.cam.ac.uk
| #define HAVE_LIBX11 1
| #define HAVE_LIBM 1
| /
end confdefs.h. */
| #ifdef STDC
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:3301: error: C preprocessor “/lib/cpp” fails sanity check
See `config.log’ for more details.

----------------

Cache variables.

----------------

ac_cv_c_compiler_gnu=yes
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_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_XMKMF_set=
ac_cv_env_XMKMF_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_lib_X11_main=yes
ac_cv_lib_m_main=yes
ac_cv_objext=o
ac_cv_path_install=’/usr/bin/install -c’
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP=/lib/cpp
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_make_make_set=yes

-----------------

Output variables.

-----------------

AWK=‘gawk’
BINARY_EXTENSION=’’
CC=‘gcc’
CFLAGS=’-g -O2’
CPP=’/lib/cpp’
CPPFLAGS=’’
DEFS=’’
ECHO_C=’’
ECHO_N=’-n’
ECHO_T=’’
EGREP=’’
EXEEXT=’’
GREP=’’
HGRAF=’’
HSLAB=’’
INSTALL_DATA=’${INSTALL} -m 644’
INSTALL_PROGRAM=’${INSTALL}’
INSTALL_SCRIPT=’${INSTALL}’
LDFLAGS=’’
LIBOBJS=’’
LIBS=’-lm -lX11 ’
LN_S=‘ln -s’
LTLIBOBJS=’’
OBJEXT=‘o’
PACKAGE_BUGREPORT=‘htk-mgr@eng.cam.ac.uk’
PACKAGE_NAME=‘HTK’
PACKAGE_STRING=‘HTK 3.4.1’
PACKAGE_TARNAME=‘htk’
PACKAGE_VERSION=‘3.4.1’
PATH_SEPARATOR=’:’
POW_LIB=’’
RANLIB=‘ranlib’
SET_MAKE=’’
SHELL=’/bin/sh’
TRADHTK=’’
TRADHTKBIN=’’
XMKMF=’’
ac_ct_CC=‘gcc’
bindir=’${exec_prefix}/bin’
build=’’
build_alias=’’
build_cpu=’’
build_os=’’
build_vendor=’’
datadir=’${datarootdir}’
datarootdir=’${prefix}/share’
docdir=’${datarootdir}/doc/${PACKAGE_TARNAME}’
dvidir=’${docdir}’
exec_prefix=‘NONE’
host=’’
host_alias=’’
host_cpu=’’
host_os=’’
host_vendor=’’
htmldir=’${docdir}’
includedir=’${prefix}/include’
infodir=’${datarootdir}/info’
libdir=’${exec_prefix}/lib’
libexecdir=’${exec_prefix}/libexec’
localedir=’${datarootdir}/locale’
localstatedir=’${prefix}/var’
make_all=’’
make_install=’’
mandir=’${datarootdir}/man’
oldincludedir=’/usr/include’
pdfdir=’${docdir}’
prefix=‘NONE’
program_transform_name=‘s,x,x,’
psdir=’${docdir}’
sbindir=’${exec_prefix}/sbin’
sharedstatedir=’${prefix}/com’
sysconfdir=’${prefix}/etc’
target_alias=’’

-----------

confdefs.h.

-----------

#define PACKAGE_NAME “HTK”
#define PACKAGE_TARNAME “htk”
#define PACKAGE_VERSION “3.4.1”
#define PACKAGE_STRING “HTK 3.4.1”
#define PACKAGE_BUGREPORT “htk-mgr@eng.cam.ac.uk
#define HAVE_LIBX11 1
#define HAVE_LIBM 1

configure: exit 1