configure: error: C preprocessor "/lib/cpp" fails sanity check
I keep getting the above error in everything I try compiling.I am on Fedora 8 and I do have both the kernel and the kernel-devel packages installed, together with all the gcc and gcc-c++ packages:
[vikiugu@Linuxbox wesnoth-1.3.9]$ rpm -q gcc-c++ gcc-c++-4.1.2-33 [vikiugu@Linuxbox wesnoth-1.3.9]$ rpm -q gcc gcc-4.1.2-33 [vikiugu@Linuxbox wesnoth-1.3.9]$ uname -ar Linux Linuxbox 2.6.23.8-63.fc8 #1 SMP Wed Nov 21 18:51:08 EST 2007 i686 i686 i386 GNU/Linux [vikiugu@Linuxbox wesnoth-1.3.9]$ rpm -q kernel kernel-2.6.23.1-42.fc8 kernel-2.6.23.8-63.fc8 [vikiugu@Linuxbox wesnoth-1.3.9]$ rpm -q kernel-devel kernel-devel-2.6.23.8-63.fc8 when I do ./ configure, this is what I get: [vikiugu@Linuxbox wesnoth-1.3.9]$ ./configure checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking how to create a ustar tar archive... gnutar checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for style of include used by make... GNU 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 dependency style of gcc... gcc3 checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking whether NLS is requested... yes checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for ranlib... ranlib 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 for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking for a BSD-compatible install... /usr/bin/install -c checking whether gcc and cc understand -c and -o together... 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. The relevant parts in config.log are configure:4584: checking for CFPreferencesCopyAppValue configure:4614: gcc -o conftest -g -O2 -I/System/Library/Frameworks/CoreFoundation.framework/Headers conftest.c -framework CoreFoundation >&5 gcc: CoreFoundation: No such file or directory cc1: error: unrecognized command line option "-framework" configure:4620: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "Battle for Wesnoth" | #define PACKAGE_TARNAME "wesnoth" | #define PACKAGE_VERSION "1.3.9" | #define PACKAGE_STRING "Battle for Wesnoth 1.3.9" | #define PACKAGE_BUGREPORT "isaac@warp.es" | #define PACKAGE "wesnoth" | #define VERSION "1.3.9" | /* end confdefs.h. */ | #include <CFPreferences.h> | int | main () | { | CFPreferencesCopyAppValue(NULL, NULL) | ; | return 0; | } configure:4639: result: no configure:4648: checking for CFLocaleCopyCurrent configure:4678: gcc -o conftest -g -O2 -I/System/Library/Frameworks/CoreFoundation.framework/Headers conftest.c -framework CoreFoundation >&5 gcc: CoreFoundation: No such file or directory cc1: error: unrecognized command line option "-framework" configure:4684: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "Battle for Wesnoth" | #define PACKAGE_TARNAME "wesnoth" | #define PACKAGE_VERSION "1.3.9" | #define PACKAGE_STRING "Battle for Wesnoth 1.3.9" | #define PACKAGE_BUGREPORT "isaac@warp.es" | #define PACKAGE "wesnoth" | #define VERSION "1.3.9" | /* end confdefs.h. */ | #include <CFLocale.h> | int | main () | { | CFLocaleCopyCurrent(); | ; | return 0; | } configure:4703: result: no configure:4720: checking whether NLS is requested configure:4729: result: yes configure:4747: checking for GNU gettext in libc configure:4776: gcc -o conftest -g -O2 conftest.c >&5 configure:4782: $? = 0 configure:4799: result: yes configure:5497: checking whether to use NLS configure:5499: result: yes configure:5502: checking where the gettext function comes from configure:5513: result: libc configure:5617: checking for ranlib configure:5633: found /usr/bin/ranlib configure:5644: result: ranlib configure:6192: checking for g++ configure:6208: found /usr/lib/ccache/g++ configure:6219: result: g++ configure:6250: checking for C++ compiler version configure:6257: g++ --version >&5 g++ (GCC) 4.1.2 20070925 (Red Hat 4.1.2-33) Copyright (C) 2006 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:6260: $? = 0 configure:6267: g++ -v >&5 Using built-in specs. Target: i386-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --with-cpu=generic --host=i386-redhat-linux Thread model: posix gcc version 4.1.2 20070925 (Red Hat 4.1.2-33) configure:6270: $? = 0 configure:6277: g++ -V >&5 g++: '-V' option must have argument configure:6280: $? = 1 configure:6283: checking whether we are using the GNU C++ compiler configure:6312: g++ -c -O2 -W -Wall -ansi conftest.cpp >&5 configure:6318: $? = 0 configure:6335: result: yes configure:6340: checking whether g++ accepts -g configure:6370: g++ -c -g conftest.cpp >&5 configure:6376: $? = 0 configure:6475: result: yes configure:6500: checking dependency style of g++ configure:6591: result: gcc3 configure:6654: checking for gcc configure:6681: result: gcc configure:6919: checking for C compiler version configure:6926: gcc --version >&5 gcc (GCC) 4.1.2 20070925 (Red Hat 4.1.2-33) Copyright (C) 2006 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:6929: $? = 0 configure:6936: gcc -v >&5 Using built-in specs. Target: i386-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --with-cpu=generic --host=i386-redhat-linux Thread model: posix gcc version 4.1.2 20070925 (Red Hat 4.1.2-33) configure:6939: $? = 0 configure:6946: gcc -V >&5 gcc: '-V' option must have argument configure:6949: $? = 1 configure:6952: checking whether we are using the GNU C compiler configure:7004: result: yes configure:7009: checking whether gcc accepts -g configure:7144: result: yes configure:7161: checking for gcc option to accept ISO C89 configure:7264: result: none needed configure:7284: checking dependency style of gcc configure:7375: result: gcc3 configure:7403: checking for a BSD-compatible install configure:7459: result: /usr/bin/install -c configure:7471: checking whether gcc and cc understand -c and -o together configure:7506: gcc -c conftest.c -o conftest2.o >&5 configure:7509: $? = 0 configure:7515: gcc -c conftest.c -o conftest2.o >&5 configure:7518: $? = 0 configure:7529: cc -c conftest.c >&5 configure:7532: $? = 0 configure:7540: cc -c conftest.c -o conftest2.o >&5 configure:7543: $? = 0 configure:7549: cc -c conftest.c -o conftest2.o >&5 configure:7552: $? = 0 configure:7570: result: yes configure:7605: checking how to run the C preprocessor configure:7645: 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/i386-redhat-linux/4.1.2/include/limits.h:122, from /usr/lib/gcc/i386-redhat-linux/4.1.2/include/syslimits.h:7, from /usr/lib/gcc/i386-redhat-linux/4.1.2/include/limits.h:11, from conftest.c:14: /usr/include/bits/local_lim.h:36:26: error: linux/limits.h: No such file or directory configure:7651: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "Battle for Wesnoth" | #define PACKAGE_TARNAME "wesnoth" | #define PACKAGE_VERSION "1.3.9" | #define PACKAGE_STRING "Battle for Wesnoth 1.3.9" | #define PACKAGE_BUGREPORT "isaac@warp.es" | #define PACKAGE "wesnoth" | #define VERSION "1.3.9" | #define ENABLE_NLS 1 | #define HAVE_GETTEXT 1 | #define HAVE_DCGETTEXT 1 | /* end confdefs.h. */ | #ifdef __STDC__ | # include <limits.h> | #else | # include <assert.h> | #endif | Syntax error configure:7645: 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/i386-redhat-linux/4.1.2/include/limits.h:122, from /usr/lib/gcc/i386-redhat-linux/4.1.2/include/syslimits.h:7, from /usr/lib/gcc/i386-redhat-linux/4.1.2/include/limits.h:11, from conftest.c:14: /usr/include/bits/local_lim.h:36:26: error: linux/limits.h: No such file or directory configure:7651: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "Battle for Wesnoth" | #define PACKAGE_TARNAME "wesnoth" | #define PACKAGE_VERSION "1.3.9" | #define PACKAGE_STRING "Battle for Wesnoth 1.3.9" | #define PACKAGE_BUGREPORT "isaac@warp.es" | #define PACKAGE "wesnoth" | #define VERSION "1.3.9" | #define ENABLE_NLS 1 | #define HAVE_GETTEXT 1 | #define HAVE_DCGETTEXT 1 | /* end confdefs.h. */ | #ifdef __STDC__ | # include <limits.h> | #else | # include <assert.h> | #endif | Syntax error configure:7645: gcc -E -traditional-cpp conftest.c In file included from /usr/include/features.h:336, from /usr/include/assert.h:38, from conftest.c:17: /usr/include/sys/cdefs.h:32: error: #error "You need a ISO C conforming compiler to use the glibc headers" configure:7651: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "Battle for Wesnoth" | #define PACKAGE_TARNAME "wesnoth" | #define PACKAGE_VERSION "1.3.9" | #define PACKAGE_STRING "Battle for Wesnoth 1.3.9" | #define PACKAGE_BUGREPORT "isaac@warp.es" | #define PACKAGE "wesnoth" | #define VERSION "1.3.9" | #define ENABLE_NLS 1 | #define HAVE_GETTEXT 1 | #define HAVE_DCGETTEXT 1 | /* end confdefs.h. */ | #ifdef __STDC__ | # include <limits.h> | #else | # include <assert.h> | #endif | Syntax error configure:7645: gcc -E -traditional-cpp conftest.c In file included from /usr/include/features.h:336, from /usr/include/assert.h:38, from conftest.c:17: /usr/include/sys/cdefs.h:32: error: #error "You need a ISO C conforming compiler to use the glibc headers" configure:7651: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "Battle for Wesnoth" | #define PACKAGE_TARNAME "wesnoth" | #define PACKAGE_VERSION "1.3.9" | #define PACKAGE_STRING "Battle for Wesnoth 1.3.9" | #define PACKAGE_BUGREPORT "isaac@warp.es" | #define PACKAGE "wesnoth" | #define VERSION "1.3.9" | #define ENABLE_NLS 1 | #define HAVE_GETTEXT 1 | #define HAVE_DCGETTEXT 1 | /* end confdefs.h. */ | #ifdef __STDC__ | # include <limits.h> | #else | # include <assert.h> | #endif | Syntax error configure:7645: /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/i386-redhat-linux/4.1.2/include/limits.h:122, from /usr/lib/gcc/i386-redhat-linux/4.1.2/include/syslimits.h:7, from /usr/lib/gcc/i386-redhat-linux/4.1.2/include/limits.h:11, from conftest.c:14: /usr/include/bits/local_lim.h:36:26: error: linux/limits.h: No such file or directory configure:7651: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "Battle for Wesnoth" | #define PACKAGE_TARNAME "wesnoth" | #define PACKAGE_VERSION "1.3.9" | #define PACKAGE_STRING "Battle for Wesnoth 1.3.9" | #define PACKAGE_BUGREPORT "isaac@warp.es" | #define PACKAGE "wesnoth" | #define VERSION "1.3.9" | #define ENABLE_NLS 1 | #define HAVE_GETTEXT 1 | #define HAVE_DCGETTEXT 1 | /* end confdefs.h. */ | #ifdef __STDC__ | # include <limits.h> | #else | # include <assert.h> | #endif | Syntax error configure:7645: /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/i386-redhat-linux/4.1.2/include/limits.h:122, from /usr/lib/gcc/i386-redhat-linux/4.1.2/include/syslimits.h:7, from /usr/lib/gcc/i386-redhat-linux/4.1.2/include/limits.h:11, from conftest.c:14: /usr/include/bits/local_lim.h:36:26: error: linux/limits.h: No such file or directory configure:7651: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "Battle for Wesnoth" | #define PACKAGE_TARNAME "wesnoth" | #define PACKAGE_VERSION "1.3.9" | #define PACKAGE_STRING "Battle for Wesnoth 1.3.9" | #define PACKAGE_BUGREPORT "isaac@warp.es" | #define PACKAGE "wesnoth" | #define VERSION "1.3.9" | #define ENABLE_NLS 1 | #define HAVE_GETTEXT 1 | #define HAVE_DCGETTEXT 1 | /* end confdefs.h. */ | #ifdef __STDC__ | # include <limits.h> | #else | # include <assert.h> | #endif | Syntax error configure:7721: result: /lib/cpp configure:7750: /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/i386-redhat-linux/4.1.2/include/limits.h:122, from /usr/lib/gcc/i386-redhat-linux/4.1.2/include/syslimits.h:7, from /usr/lib/gcc/i386-redhat-linux/4.1.2/include/limits.h:11, from conftest.c:14: /usr/include/bits/local_lim.h:36:26: error: linux/limits.h: No such file or directory configure:7756: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "Battle for Wesnoth" | #define PACKAGE_TARNAME "wesnoth" | #define PACKAGE_VERSION "1.3.9" | #define PACKAGE_STRING "Battle for Wesnoth 1.3.9" | #define PACKAGE_BUGREPORT "isaac@warp.es" | #define PACKAGE "wesnoth" | #define VERSION "1.3.9" | #define ENABLE_NLS 1 | #define HAVE_GETTEXT 1 | #define HAVE_DCGETTEXT 1 | /* end confdefs.h. */ | #ifdef __STDC__ | # include <limits.h> | #else | # include <assert.h> | #endif | Syntax error configure:7750: /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/i386-redhat-linux/4.1.2/include/limits.h:122, from /usr/lib/gcc/i386-redhat-linux/4.1.2/include/syslimits.h:7, from /usr/lib/gcc/i386-redhat-linux/4.1.2/include/limits.h:11, from conftest.c:14: /usr/include/bits/local_lim.h:36:26: error: linux/limits.h: No such file or directory configure:7756: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "Battle for Wesnoth" | #define PACKAGE_TARNAME "wesnoth" | #define PACKAGE_VERSION "1.3.9" | #define PACKAGE_STRING "Battle for Wesnoth 1.3.9" | #define PACKAGE_BUGREPORT "isaac@warp.es" | #define PACKAGE "wesnoth" | #define VERSION "1.3.9" | #define ENABLE_NLS 1 | #define HAVE_GETTEXT 1 | #define HAVE_DCGETTEXT 1 | /* end confdefs.h. */ | #ifdef __STDC__ | # include <limits.h> | #else | # include <assert.h> | #endif | Syntax error configure:7818: 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_c_compiler_gnu=yes ac_cv_cxx_compiler_gnu=yes ac_cv_env_CCC_set= ac_cv_env_CCC_value= 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_CXXFLAGS_set= ac_cv_env_CXXFLAGS_value= ac_cv_env_CXX_set= ac_cv_env_CXX_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_host=i686-pc-linux-gnu ac_cv_objext=o ac_cv_path_GMSGFMT=/usr/bin/msgfmt ac_cv_path_MSGFMT=/usr/bin/msgfmt ac_cv_path_MSGMERGE=/usr/bin/msgmerge ac_cv_path_XGETTEXT=/usr/bin/xgettext ac_cv_path_install='/usr/bin/install -c' ac_cv_path_mkdir=/bin/mkdir ac_cv_prog_AWK=gawk ac_cv_prog_CPP=/lib/cpp ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_ac_ct_CXX=g++ ac_cv_prog_ac_ct_RANLIB=ranlib ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_cc_gcc_c_o=yes ac_cv_prog_cxx_g=yes ac_cv_prog_make_make_set=yes ac_cv_target=i686-pc-linux-gnu acl_cv_hardcode_direct=no acl_cv_hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' acl_cv_hardcode_libdir_separator= acl_cv_hardcode_minus_L=no acl_cv_libext=a acl_cv_path_LD=/usr/bin/ld acl_cv_prog_gnu_ld=yes acl_cv_rpath=done acl_cv_shlibext=so acl_cv_wl=-Wl, am_cv_CC_dependencies_compiler_type=gcc3 am_cv_CXX_dependencies_compiler_type=gcc3 am_cv_prog_tar_ustar=gnutar gt_cv_func_CFLocaleCopyCurrent=no gt_cv_func_CFPreferencesCopyAppValue=no gt_cv_func_gnugettext1_libc=yes ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /home/vikiugu/Software/do/wesnoth-1.3.9/config/missing --run aclocal-1.10' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='${SHELL} /home/vikiugu/Software/do/wesnoth-1.3.9/config/missing --run tar' APP_ENTRY='${datarootdir}/applications' APP_ICON='${datarootdir}/icons' ASCIIDOC='' AUTOCONF='${SHELL} /home/vikiugu/Software/do/wesnoth-1.3.9/config/missing --run autoconf' AUTOHEADER='${SHELL} /home/vikiugu/Software/do/wesnoth-1.3.9/config/missing --run autoheader' AUTOMAKE='${SHELL} /home/vikiugu/Software/do/wesnoth-1.3.9/config/missing --run automake-1.10' AWK='gawk' CAMPAIGNSERVER_FALSE='' CAMPAIGNSERVER_TRUE='#' CC='gcc' CCDEPMODE='depmode=gcc3' CFLAGS='-g -O2' CPP='/lib/cpp' CPPFLAGS='' CXX='g++' CXXDEPMODE='depmode=gcc3' CXXFLAGS='-O2 -W -Wall -ansi ' CYGPATH_W='echo' DATADIR='wesnoth' DATA_FILES='' DEFS='' DEPDIR='.deps' DOS2UNIX='' DUMMYLOCALES_FALSE='' DUMMYLOCALES_TRUE='#' ECHO_C='' ECHO_N='-n' ECHO_T='' EDITOR_FALSE='' EDITOR_TRUE='#' EGREP='' EXEEXT='' FONT_FILES='' FREETYPE_CONFIG='' FREETYPE_LIBS='' FRIBIDI_CFLAGS='' FRIBIDI_CONFIG='' FRIBIDI_FALSE='' FRIBIDI_LIBS='' FRIBIDI_TRUE='' FULLLOCALEDIR='${datadir}/${DATADIR}/${LOCALEDIR}' GAME_DESKTOP_ENTRY_FALSE='#' GAME_DESKTOP_ENTRY_TRUE='' GAME_FALSE='#' GAME_TRUE='' GCC_FALSE='' GCC_TRUE='#' GMSGFMT='/usr/bin/msgfmt' GREP='' HAS_RELATIVE_LOCALEDIR='1' IMAGE_FILES='' INCLUDEDINTL_FALSE='' INCLUDEDINTL_TRUE='#' INSTALLDATA_FALSE='#' INSTALLDATA_TRUE='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' INTLLIBS='' INTL_MACOSX_LIBS='' LDFLAGS='' LDPREFIX='' LIBICONV='-liconv' LIBINTL='' LIBOBJS='' LIBPNG_FALSE='' LIBPNG_TRUE='' LIBS='' LITE_FALSE='' LITE_TRUE='' LOCALEDIR='translations' LOWMEM_FALSE='' LOWMEM_TRUE='#' LTLIBICONV='-liconv' LTLIBINTL='' LTLIBOBJS='' LTOOL='' MAKEINFO='${SHELL} /home/vikiugu/Software/do/wesnoth-1.3.9/config/missing --run makeinfo' MANUALUPDATE_FALSE='' MANUALUPDATE_TRUE='' MKINSTALLDIRS='$(top_builddir)/config/mkinstalldirs' MSGFMT='/usr/bin/msgfmt' MSGMERGE='/usr/bin/msgmerge' MUSIC_FILES='' OBJEXT='o' OPTIPNG_FALSE='' OPTIPNG_TRUE='#' PACKAGE='wesnoth' PACKAGE_BUGREPORT='isaac@warp.es' PACKAGE_NAME='Battle for Wesnoth' PACKAGE_STRING='Battle for Wesnoth 1.3.9' PACKAGE_TARNAME='wesnoth' PACKAGE_VERSION='1.3.9' PATH_SEPARATOR=':' PNGMETA='' PNG_CFLAGS='' PNG_CONFIG='' PNG_LIBS='' PO4A='' PO4AUPDATE_FALSE='' PO4AUPDATE_TRUE='' POSUB='po' PREFSDIR_FALSE='' PREFSDIR_TRUE='#' PYTHON='' PYTHON_CFLAGS='' PYTHON_FALSE='' PYTHON_INSTALL_FALSE='#' PYTHON_INSTALL_TRUE='' PYTHON_LIBS='' PYTHON_TRUE='' RANLIB='ranlib' SDL_CFLAGS='' SDL_CONFIG='' SDL_IMAGE_LIBS='' SDL_LIBS='' SDL_MIXER_LIBS='' SDL_NET_LIBS='' SERVER_FALSE='' SERVER_TRUE='#' SET_MAKE='' SHELL='/bin/sh' SOUND_FILES='' STATIC_FALSE='' STATIC_TRUE='#' STRIP='' TINYGUI_FALSE='' TINYGUI_TRUE='#' TOOLS_FALSE='' TOOLS_TRUE='#' USESVN_FALSE='' USESVN_TRUE='#' USE_NLS='yes' VERSION='1.3.9' X11_FALSE='' X11_TRUE='' XGETTEXT='/usr/bin/xgettext' XMKMF='' XSLTPROC='' X_CFLAGS='' X_EXTRA_LIBS='' X_LIBS='' X_PRE_LIBS='' ac_ct_CC='gcc' ac_ct_CXX='g++' am__fastdepCC_FALSE='#' am__fastdepCC_TRUE='' am__fastdepCXX_FALSE='#' am__fastdepCXX_TRUE='' am__include='include' am__isrc='' am__leading_dot='.' am__quote='' am__tar='tar --format=ustar -chf - "$$tardir"' am__untar='tar -xf -' bindir='${exec_prefix}/bin' build='i686-pc-linux-gnu' build_alias='' build_cpu='i686' build_os='linux-gnu' build_vendor='pc' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='NONE' fifodir='${prefix}/var/run/wesnothd' host='i686-pc-linux-gnu' host_alias='' host_cpu='i686' host_os='linux-gnu' host_vendor='pc' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='$(SHELL) /home/vikiugu/Software/do/wesnoth-1.3.9/config/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' mkdir_p='/bin/mkdir -p' oldincludedir='/usr/include' pdfdir='${docdir}' pkgpythondir='' prefix='NONE' prefsdir='' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' servergid='' serveruid='' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target='i686-pc-linux-gnu' target_alias='' target_cpu='i686' target_os='linux-gnu' target_vendor='pc' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE_NAME "Battle for Wesnoth" #define PACKAGE_TARNAME "wesnoth" #define PACKAGE_VERSION "1.3.9" #define PACKAGE_STRING "Battle for Wesnoth 1.3.9" #define PACKAGE_BUGREPORT "isaac@warp.es" #define PACKAGE "wesnoth" #define VERSION "1.3.9" #define ENABLE_NLS 1 #define HAVE_GETTEXT 1 #define HAVE_DCGETTEXT 1 configure: exit 1 It has something to do with a missing linux/limits.h file, which when I do [vikiugu@Linuxbox wesnoth-1.3.9]$ locate linux/limits.h /usr/include/firefox-2.0.0.10/system_wrappers/linux/limits.h /usr/src/kernels/2.6.23.8-63.fc8-i686/include/linux/limits.h seems to exist. Please help!! |
What steps did you take to install GCC? Did you install from Fedora or using RPM? I suspect you did not perform a complete installation.
The limits.h file should exist in /usr/include/linux, along with a boat-load of other kernel header files. |
All times are GMT -5. The time now is 08:17 AM. |