Hi Maarten! Hi John! 1) My cpp executable is in /lib64/ not in /lib/, and links to /usr/ bin/cpp Maybe this is the error. If you know how to solve it, please, tell me step by step how to do it. Thanks!
2) Yes, the file is SAGE_ROOT/spkg/build/prereq-0.9/config.log Here is the content: This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by Sage configure x.y.z, which was generated by GNU Autoconf 2.68. Invocation command line was $ ./configure ## --------- ## ## Platform. ## ## --------- ## hostname = computer uname -m = x86_64 uname -r = 2.6.37.6 uname -s = Linux uname -v = #1 SMP Wed Mar 30 15:28:53 EEST 2011 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = x86_64 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /home/name/Applications/sage-4.7.1 PATH: /home/name/Applications/sage-4.7.1/local/bin PATH: /usr/local/bin PATH: /usr/local/sbin PATH: /usr/bin PATH: /usr/sbin PATH: /bin PATH: /sbin PATH: /opt/bin PATH: /opt/sun-jre/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2341: checking for a BSD-compatible install configure:2409: result: /usr/bin/install -c configure:2420: checking whether build environment is sane configure:2470: result: yes configure:2611: checking for a thread-safe mkdir -p configure:2650: result: /bin/mkdir -p configure:2663: checking for gawk configure:2679: found /bin/gawk configure:2690: result: gawk configure:2701: checking whether make sets $(MAKE) configure:2723: result: yes configure:2815: checking build system type configure:2829: result: x86_64-unknown-linux-gnu configure:2849: checking host system type configure:2862: result: x86_64-unknown-linux-gnu configure:2948: checking for gcc configure:2964: found /usr/bin/gcc configure:2975: result: gcc configure:3204: checking for C compiler version configure:3213: gcc --version >&5 gcc (Pardus Linux) 4.5.3 Copyright (C) 2010 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:3224: $? = 0 configure:3213: gcc -v >&5 Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../configure --prefix=/usr --bindir=/usr/bin -- libdir=/usr/lib --libexecdir=/usr/lib --includedir=/usr/include --mandir=/usr/share/ man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++ --build=x86_64-pc-linux-gnu --disable-libgcj --disable-nls --disable- mudflap --disable-libmudflap --disable-libunwind-exceptions --enable- checking=release --enable-clocale=gnu --enable-__cxa_atexit --enable-languages=c,c++,fortran,objc,obj-c++,lto --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable- shared --enable-ssp --disable-libssp --enable-plugin --enable-threads=posix --without-included-gettext --with-arch_32=i686 --with-system-libunwind --enable-multilib --with-tune=generic --with-system-zlib --with- tune=generic --with-pkgversion='Pardus Linux' --with-bugurl=http:// bugs.pardus.org.tr Thread model: posix gcc version 4.5.3 (Pardus Linux) configure:3224: $? = 0 configure:3213: gcc -V >&5 gcc: '-V' option must have argument configure:3224: $? = 1 configure:3213: gcc -qversion >&5 gcc: unrecognized option '-qversion' gcc: no input files configure:3224: $? = 1 configure:3244: checking whether the C compiler works configure:3266: gcc conftest.c >&5 configure:3270: $? = 0 configure:3318: result: yes configure:3321: checking for C compiler default output file name configure:3323: result: a.out configure:3329: checking for suffix of executables configure:3336: gcc -o conftest conftest.c >&5 configure:3340: $? = 0 configure:3362: result: configure:3384: checking whether we are cross compiling configure:3392: gcc -o conftest conftest.c >&5 configure:3396: $? = 0 configure:3403: ./conftest configure:3407: $? = 0 configure:3422: result: no configure:3427: checking for suffix of object files configure:3449: gcc -c conftest.c >&5 configure:3453: $? = 0 configure:3474: result: o configure:3478: checking whether we are using the GNU C compiler configure:3497: gcc -c conftest.c >&5 configure:3497: $? = 0 configure:3506: result: yes configure:3515: checking whether gcc accepts -g configure:3535: gcc -c -g conftest.c >&5 configure:3535: $? = 0 configure:3576: result: yes configure:3593: checking for gcc option to accept ISO C89 configure:3657: gcc -c -g -O2 conftest.c >&5 configure:3657: $? = 0 configure:3670: result: none needed configure:3701: checking for style of include used by make configure:3729: result: GNU configure:3754: checking dependency style of gcc configure:3864: result: gcc3 configure:3937: checking for g++ configure:3953: found /usr/bin/g++ configure:3964: result: g++ configure:3991: checking for C++ compiler version configure:4000: g++ --version >&5 g++ (Pardus Linux) 4.5.3 Copyright (C) 2010 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:4011: $? = 0 configure:4000: g++ -v >&5 Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../configure --prefix=/usr --bindir=/usr/bin -- libdir=/usr/lib --libexecdir=/usr/lib --includedir=/usr/include --mandir=/usr/share/ man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++ --build=x86_64-pc-linux-gnu --disable-libgcj --disable-nls --disable- mudflap --disable-libmudflap --disable-libunwind-exceptions --enable- checking=release --enable-clocale=gnu --enable-__cxa_atexit --enable-languages=c,c++,fortran,objc,obj-c++,lto --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable- shared --enable-ssp --disable-libssp --enable-plugin --enable-threads=posix --without-included-gettext --with-arch_32=i686 --with-system-libunwind --enable-multilib --with-tune=generic --with-system-zlib --with- tune=generic --with-pkgversion='Pardus Linux' --with-bugurl=http:// bugs.pardus.org.tr Thread model: posix gcc version 4.5.3 (Pardus Linux) configure:4011: $? = 0 configure:4000: g++ -V >&5 g++: '-V' option must have argument configure:4011: $? = 1 configure:4000: g++ -qversion >&5 g++: unrecognized option '-qversion' g++: no input files configure:4011: $? = 1 configure:4015: checking whether we are using the GNU C++ compiler configure:4034: g++ -c conftest.cpp >&5 configure:4034: $? = 0 configure:4043: result: yes configure:4052: checking whether g++ accepts -g configure:4072: g++ -c -g conftest.cpp >&5 configure:4072: $? = 0 configure:4113: result: yes configure:4138: checking dependency style of g++ configure:4248: result: gcc3 configure:4268: checking how to run the C preprocessor configure:4299: gcc -E conftest.c In file included from /usr/include/bits/posix1_lim.h:157:0, from /usr/include/limits.h:145, from /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/limits.h:169, from /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/limits.h:34, from conftest.c:12: /usr/include/bits/local_lim.h:39:26: fatal error: linux/limits.h: No such file or directory compilation terminated. configure:4299: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Sage" | #define PACKAGE_TARNAME "sage" | #define PACKAGE_VERSION "x.y.z" | #define PACKAGE_STRING "Sage x.y.z" | #define PACKAGE_BUGREPORT "sage-de...@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "sage" | #define VERSION "x.y.z" | /* end confdefs.h. */ | #ifdef __STDC__ | # include <limits.h> | #else | # include <assert.h> | #endif | Syntax error configure:4299: gcc -E conftest.c In file included from /usr/include/bits/posix1_lim.h:157:0, from /usr/include/limits.h:145, from /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/limits.h:169, from /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/limits.h:34, from conftest.c:12: /usr/include/bits/local_lim.h:39:26: fatal error: linux/limits.h: No such file or directory compilation terminated. configure:4299: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Sage" | #define PACKAGE_TARNAME "sage" | #define PACKAGE_VERSION "x.y.z" | #define PACKAGE_STRING "Sage x.y.z" | #define PACKAGE_BUGREPORT "sage-de...@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "sage" | #define VERSION "x.y.z" | /* end confdefs.h. */ | #ifdef __STDC__ | # include <limits.h> | #else | # include <assert.h> | #endif | Syntax error configure:4299: gcc -E -traditional-cpp conftest.c In file included from /usr/include/features.h:362:0, from /usr/include/assert.h:38, from conftest.c:15: /usr/include/sys/cdefs.h:32:3: error: #error "You need a ISO C conforming compiler to use the glibc headers" *** 1 errors, 0 warnings configure:4299: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Sage" | #define PACKAGE_TARNAME "sage" | #define PACKAGE_VERSION "x.y.z" | #define PACKAGE_STRING "Sage x.y.z" | #define PACKAGE_BUGREPORT "sage-de...@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "sage" | #define VERSION "x.y.z" | /* end confdefs.h. */ | #ifdef __STDC__ | # include <limits.h> | #else | # include <assert.h> | #endif | Syntax error configure:4299: gcc -E -traditional-cpp conftest.c In file included from /usr/include/features.h:362:0, from /usr/include/assert.h:38, from conftest.c:15: /usr/include/sys/cdefs.h:32:3: error: #error "You need a ISO C conforming compiler to use the glibc headers" *** 1 errors, 0 warnings configure:4299: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Sage" | #define PACKAGE_TARNAME "sage" | #define PACKAGE_VERSION "x.y.z" | #define PACKAGE_STRING "Sage x.y.z" | #define PACKAGE_BUGREPORT "sage-de...@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "sage" | #define VERSION "x.y.z" | /* end confdefs.h. */ | #ifdef __STDC__ | # include <limits.h> | #else | # include <assert.h> | #endif | Syntax error configure:4299: /lib/cpp conftest.c In file included from /usr/include/bits/posix1_lim.h:157:0, from /usr/include/limits.h:145, from /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/limits.h:169, from /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/limits.h:34, from conftest.c:12: /usr/include/bits/local_lim.h:39:26: fatal error: linux/limits.h: No such file or directory compilation terminated. configure:4299: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Sage" | #define PACKAGE_TARNAME "sage" | #define PACKAGE_VERSION "x.y.z" | #define PACKAGE_STRING "Sage x.y.z" | #define PACKAGE_BUGREPORT "sage-de...@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "sage" | #define VERSION "x.y.z" | /* end confdefs.h. */ | #ifdef __STDC__ | # include <limits.h> | #else | # include <assert.h> | #endif | Syntax error configure:4299: /lib/cpp conftest.c In file included from /usr/include/bits/posix1_lim.h:157:0, from /usr/include/limits.h:145, from /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/limits.h:169, from /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/limits.h:34, from conftest.c:12: /usr/include/bits/local_lim.h:39:26: fatal error: linux/limits.h: No such file or directory compilation terminated. configure:4299: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Sage" | #define PACKAGE_TARNAME "sage" | #define PACKAGE_VERSION "x.y.z" | #define PACKAGE_STRING "Sage x.y.z" | #define PACKAGE_BUGREPORT "sage-de...@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "sage" | #define VERSION "x.y.z" | /* end confdefs.h. */ | #ifdef __STDC__ | # include <limits.h> | #else | # include <assert.h> | #endif | Syntax error configure:4338: result: /lib/cpp configure:4358: /lib/cpp conftest.c In file included from /usr/include/bits/posix1_lim.h:157:0, from /usr/include/limits.h:145, from /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/limits.h:169, from /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/limits.h:34, from conftest.c:12: /usr/include/bits/local_lim.h:39:26: fatal error: linux/limits.h: No such file or directory compilation terminated. configure:4358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Sage" | #define PACKAGE_TARNAME "sage" | #define PACKAGE_VERSION "x.y.z" | #define PACKAGE_STRING "Sage x.y.z" | #define PACKAGE_BUGREPORT "sage-de...@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "sage" | #define VERSION "x.y.z" | /* end confdefs.h. */ | #ifdef __STDC__ | # include <limits.h> | #else | # include <assert.h> | #endif | Syntax error configure:4358: /lib/cpp conftest.c In file included from /usr/include/bits/posix1_lim.h:157:0, from /usr/include/limits.h:145, from /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/limits.h:169, from /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/limits.h:34, from conftest.c:12: /usr/include/bits/local_lim.h:39:26: fatal error: linux/limits.h: No such file or directory compilation terminated. configure:4358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Sage" | #define PACKAGE_TARNAME "sage" | #define PACKAGE_VERSION "x.y.z" | #define PACKAGE_STRING "Sage x.y.z" | #define PACKAGE_BUGREPORT "sage-de...@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "sage" | #define VERSION "x.y.z" | /* end confdefs.h. */ | #ifdef __STDC__ | # include <limits.h> | #else | # include <assert.h> | #endif | Syntax error configure:4388: error: in `/home/name/Applications/sage-4.7.1/spkg/build/prereq-0.9': configure:4390: error: C preprocessor "/lib/cpp" fails sanity check See `config.log' for more details ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-unknown-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_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_FCFLAGS_set= ac_cv_env_FCFLAGS_value= ac_cv_env_FC_set= ac_cv_env_FC_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_SAGE64_set= ac_cv_env_SAGE64_value= ac_cv_env_SAGE_FORTRAN_LIB_set= ac_cv_env_SAGE_FORTRAN_LIB_value= ac_cv_env_SAGE_FORTRAN_set= ac_cv_env_SAGE_FORTRAN_value= ac_cv_env_YACC_set= ac_cv_env_YACC_value= ac_cv_env_YFLAGS_set= ac_cv_env_YFLAGS_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=x86_64-unknown-linux-gnu ac_cv_objext=o 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_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_cxx_g=yes ac_cv_prog_make_make_set=yes am_cv_CC_dependencies_compiler_type=gcc3 am_cv_CXX_dependencies_compiler_type=gcc3 ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /home/name/Applications/sage-4.7.1/spkg/build/prereq-0.9/missing --run aclocal-1.11' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='${SHELL} /home/name/Applications/sage-4.7.1/spkg/build/ prereq-0.9/missing --run tar' AUTOCONF='${SHELL} /home/name/Applications/sage-4.7.1/spkg/build/prereq-0.9/missing --run autoconf' AUTOHEADER='${SHELL} /home/name/Applications/sage-4.7.1/spkg/build/prereq-0.9/missing --run autoheader' AUTOMAKE='${SHELL} /home/name/Applications/sage-4.7.1/spkg/build/prereq-0.9/missing --run automake-1.11' AWK='gawk' CC='gcc' CCDEPMODE='depmode=gcc3' CFLAGS='-g -O2' CPP='/lib/cpp' CPPFLAGS='' CXX='g++' CXXCPP='' CXXDEPMODE='depmode=gcc3' CXXFLAGS='-g -O2' CYGPATH_W='echo' DEFS='' DEPDIR='.deps' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' FC='' FCFLAGS='' GCC_VERSION='' GREP='' GXX_VERSION='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LDFLAGS='' LEX='' LEXLIB='' LEX_OUTPUT_ROOT='' LIBOBJS='' LIBS='' LTLIBOBJS='' MAKEINFO='${SHELL} /home/name/Applications/sage-4.7.1/spkg/build/prereq-0.9/missing --run makeinfo' MKDIR_P='/bin/mkdir -p' OBJEXT='o' PACKAGE='sage' PACKAGE_BUGREPORT='sage-de...@googlegroups.com' PACKAGE_NAME='Sage' PACKAGE_STRING='Sage x.y.z' PACKAGE_TARNAME='sage' PACKAGE_URL='' PACKAGE_VERSION='x.y.z' PATH_SEPARATOR=':' PERL='' SAGE64='' SAGE_FORTRAN='' SAGE_FORTRAN_LIB='' SET_MAKE='' SHELL='/bin/sh' STRIP='' VERSION='x.y.z' YACC='' YFLAGS='' ac_ct_CC='gcc' ac_ct_CXX='g++' ac_ct_FC='' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='' am__fastdepCC_FALSE='#' am__fastdepCC_TRUE='' am__fastdepCXX_FALSE='#' am__fastdepCXX_TRUE='' am__include='include' am__isrc='' am__leading_dot='.' am__quote='' am__tar='${AMTAR} chof - "$$tardir"' am__untar='${AMTAR} xf -' bindir='${exec_prefix}/bin' build='x86_64-unknown-linux-gnu' build_alias='' build_cpu='x86_64' build_os='linux-gnu' build_vendor='unknown' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='NONE' found_ar='' found_bash='' found_latex='' found_ld='' found_m4='' found_ranlib='' found_strip='' host='x86_64-unknown-linux-gnu' host_alias='' host_cpu='x86_64' host_os='linux-gnu' host_vendor='unknown' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /home/name/Applications/sage-4.7.1/spkg/build/prereq-0.9/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}' prefix='NONE' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "Sage" #define PACKAGE_TARNAME "sage" #define PACKAGE_VERSION "x.y.z" #define PACKAGE_STRING "Sage x.y.z" #define PACKAGE_BUGREPORT "sage-de...@googlegroups.com" #define PACKAGE_URL "" #define PACKAGE "sage" #define VERSION "x.y.z" configure: exit 1 -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org