I am not sure you read the last email, the mpfr lib is now found, but something needs a stubs-32.h which I don't have, there is only a stubs-64.h since I have a 64 bit system. I was hoping someone had seen this before and could suggest something useful. Maybe there is another flag in configure I need to set? Thanks, -- Dieter On Sun, Apr 25, 2010 at 6:23 PM, Sven Eschenberg <eschenb@xxxxxxxxxxxxxxxxxxx> wrote: > Why would you want to explicitly add a lib, which you don't seem to have on > your system? Either build gcc without mpfr (if that's possible at all) or > build and install mpfr first (or use the dist's package) - That should > usually fix your problem. > > Regards > > -Sven > > > Dieter Best schrieb: >> >> Thanks Ian, >> >> I did that in the meanwhile, and I also attached this log to this >> email. There seems to be a problem with mpfr, so I explicitly added it >> during the configuration step, but that didn't change anything. >> >> Have a look at it, ideas welcome. >> >> And many thanks in advance, >> >> --Dieter >> >> This file contains any messages produced by compilers while >> running configure, to aid debugging if configure makes a mistake. >> >> It was created by GNU C Runtime Library configure 1.0, which was >> generated by GNU Autoconf 2.59. Invocation command line was >> >> $ /home/Aurora/gcc/gcc-4.4.3/libgcc/configure >> --cache-file=./config.cache --enable-multilib >> --with-mpfr-include=/usr/local/include --with-mpfr-lib=/usr/local/lib >> --enable-languages=c,c++ --program-transform-name=s,y,y, >> --with-target-subdir=x86_64-unknown-linux-gnu >> --build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu >> --target=x86_64-unknown-linux-gnu --srcdir=../../../gcc-4.4.3/libgcc >> --disable-intermodule --enable-checking=yes,types --disable-coverage >> --enable-languages=c >> >> ## --------- ## >> ## Platform. ## >> ## --------- ## >> >> hostname = centos2.aurora.local >> uname -m = x86_64 >> uname -r = 2.6.18-164.15.1.el5 >> uname -s = Linux >> uname -v = #1 SMP Wed Mar 17 11:30:06 EDT 2010 >> >> /usr/bin/uname -p = unknown >> /bin/uname -X = unknown >> >> /bin/arch = x86_64 >> /usr/bin/arch -k = unknown >> /usr/convex/getsysinfo = unknown >> hostinfo = unknown >> /bin/machine = unknown >> /usr/bin/oslevel = unknown >> /bin/universe = unknown >> >> PATH: /usr/kerberos/bin >> PATH: /usr/local/bin >> PATH: /usr/bin >> PATH: /bin >> PATH: /usr/X11R6/bin >> PATH: /home/Aurora/bin >> >> >> ## ----------- ## >> ## Core tests. ## >> ## ----------- ## >> >> configure:1199: creating cache ./config.cache >> configure:1388: checking for --enable-version-specific-runtime-libs >> configure:1403: result: no >> configure:1435: checking for a BSD-compatible install >> configure:1490: result: /usr/bin/install -c >> configure:1506: checking for gawk >> configure:1522: found /usr/bin/gawk >> configure:1532: result: gawk >> configure:1555: checking build system type >> configure:1573: result: x86_64-unknown-linux-gnu >> configure:1581: checking host system type >> configure:1595: result: x86_64-unknown-linux-gnu >> configure:1654: checking for x86_64-unknown-linux-gnu-ar >> configure:1680: result: ar >> configure:1733: checking for x86_64-unknown-linux-gnu-lipo >> configure:1759: result: lipo >> configure:1813: checking for x86_64-unknown-linux-gnu-nm >> configure:1839: result: /home/Aurora/gcc/build/./gcc/nm >> configure:1892: checking for x86_64-unknown-linux-gnu-ranlib >> configure:1918: result: ranlib >> configure:1972: checking for x86_64-unknown-linux-gnu-strip >> configure:1998: result: strip >> configure:2049: checking whether ln -s works >> configure:2053: result: yes >> configure:2070: checking for x86_64-unknown-linux-gnu-gcc >> configure:2096: result: /home/Aurora/gcc/build/./gcc/xgcc >> -B/home/Aurora/gcc/build/./gcc/ >> -B/usr/local/x86_64-unknown-linux-gnu/bin/ >> -B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem >> /usr/local/x86_64-unknown-linux-gnu/include -isystem >> /usr/local/x86_64-unknown-linux-gnu/sys-include >> configure:2380: checking for C compiler version >> configure:2383: /home/Aurora/gcc/build/./gcc/xgcc >> -B/home/Aurora/gcc/build/./gcc/ >> -B/usr/local/x86_64-unknown-linux-gnu/bin/ >> -B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem >> /usr/local/x86_64-unknown-linux-gnu/include -isystem >> /usr/local/x86_64-unknown-linux-gnu/sys-include --version </dev/null >>> >>> &5 >> >> xgcc (GCC) 4.4.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:2386: $? = 0 >> configure:2388: /home/Aurora/gcc/build/./gcc/xgcc >> -B/home/Aurora/gcc/build/./gcc/ >> -B/usr/local/x86_64-unknown-linux-gnu/bin/ >> -B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem >> /usr/local/x86_64-unknown-linux-gnu/include -isystem >> /usr/local/x86_64-unknown-linux-gnu/sys-include -v </dev/null >&5 >> Reading specs from /home/Aurora/gcc/build/./gcc/specs >> Target: x86_64-unknown-linux-gnu >> Configured with: ../gcc-4.4.3/configure --enable-languages=c,c++ >> --with-mpfr-include=/usr/local/include --with-mpfr-lib=/usr/local/lib >> Thread model: posix >> gcc version 4.4.3 (GCC) >> configure:2391: $? = 0 >> configure:2393: /home/Aurora/gcc/build/./gcc/xgcc >> -B/home/Aurora/gcc/build/./gcc/ >> -B/usr/local/x86_64-unknown-linux-gnu/bin/ >> -B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem >> /usr/local/x86_64-unknown-linux-gnu/include -isystem >> /usr/local/x86_64-unknown-linux-gnu/sys-include -V </dev/null >&5 >> xgcc: '-V' must come at the start of the command line >> configure:2396: $? = 1 >> configure:2415: /home/Aurora/gcc/build/./gcc/xgcc >> -B/home/Aurora/gcc/build/./gcc/ >> -B/usr/local/x86_64-unknown-linux-gnu/bin/ >> -B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem >> /usr/local/x86_64-unknown-linux-gnu/include -isystem >> /usr/local/x86_64-unknown-linux-gnu/sys-include -o conftest -g -O2 >> conftest.c >&5 >> /home/Aurora/gcc/build/./gcc/cc1: error while loading shared >> libraries: libmpfr.so.1: cannot open shared object file: No such file >> or directory >> configure:2418: $? = 1 >> configure:2590: checking for suffix of object files >> configure:2611: /home/Aurora/gcc/build/./gcc/xgcc >> -B/home/Aurora/gcc/build/./gcc/ >> -B/usr/local/x86_64-unknown-linux-gnu/bin/ >> -B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem >> /usr/local/x86_64-unknown-linux-gnu/include -isystem >> /usr/local/x86_64-unknown-linux-gnu/sys-include -c -g -O2 >> conftest.c >&5 >> /home/Aurora/gcc/build/./gcc/cc1: error while loading shared >> libraries: libmpfr.so.1: cannot open shared object file: No such file >> or directory >> configure:2614: $? = 1 >> configure: failed program was: >> | /* confdefs.h. */ >> | >> | #define PACKAGE_NAME "GNU C Runtime Library" >> | #define PACKAGE_TARNAME "libgcc" >> | #define PACKAGE_VERSION "1.0" >> | #define PACKAGE_STRING "GNU C Runtime Library 1.0" >> | #define PACKAGE_BUGREPORT "" >> | /* end confdefs.h. */ >> | >> | int >> | main () >> | { >> | >> | ; >> | return 0; >> | } >> configure:2627: error: in >> `/home/Aurora/gcc/build/x86_64-unknown-linux-gnu/libgcc': >> configure:2630: error: cannot compute suffix of object files: cannot >> compile >> See `config.log' for more details. >> >> ## ---------------- ## >> ## Cache variables. ## >> ## ---------------- ## >> >> ac_cv_build=x86_64-unknown-linux-gnu >> ac_cv_build_alias=x86_64-unknown-linux-gnu >> ac_cv_env_CC_set=set >> ac_cv_env_CC_value='/home/Aurora/gcc/build/./gcc/xgcc >> -B/home/Aurora/gcc/build/./gcc/ >> -B/usr/local/x86_64-unknown-linux-gnu/bin/ >> -B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem >> /usr/local/x86_64-unknown-linux-gnu/include -isystem >> /usr/local/x86_64-unknown-linux-gnu/sys-include' >> ac_cv_env_CFLAGS_set=set >> ac_cv_env_CFLAGS_value='-g -O2 ' >> ac_cv_env_CPPFLAGS_set=set >> ac_cv_env_CPPFLAGS_value= >> ac_cv_env_CPP_set= >> ac_cv_env_CPP_value= >> ac_cv_env_LDFLAGS_set=set >> ac_cv_env_LDFLAGS_value= >> ac_cv_env_build_alias_set=set >> ac_cv_env_build_alias_value=x86_64-unknown-linux-gnu >> ac_cv_env_host_alias_set=set >> ac_cv_env_host_alias_value=x86_64-unknown-linux-gnu >> ac_cv_env_target_alias_set=set >> ac_cv_env_target_alias_value=x86_64-unknown-linux-gnu >> ac_cv_host=x86_64-unknown-linux-gnu >> ac_cv_host_alias=x86_64-unknown-linux-gnu >> ac_cv_prog_AR=ar >> ac_cv_prog_AWK=gawk >> ac_cv_prog_CC='/home/Aurora/gcc/build/./gcc/xgcc >> -B/home/Aurora/gcc/build/./gcc/ >> -B/usr/local/x86_64-unknown-linux-gnu/bin/ >> -B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem >> /usr/local/x86_64-unknown-linux-gnu/include -isystem >> /usr/local/x86_64-unknown-linux-gnu/sys-include' >> ac_cv_prog_LIPO=lipo >> ac_cv_prog_NM=/home/Aurora/gcc/build/./gcc/nm >> ac_cv_prog_RANLIB=ranlib >> ac_cv_prog_STRIP=strip >> >> ## ----------------- ## >> ## Output variables. ## >> ## ----------------- ## >> >> AR='ar' >> AWK='gawk' >> CC='/home/Aurora/gcc/build/./gcc/xgcc -B/home/Aurora/gcc/build/./gcc/ >> -B/usr/local/x86_64-unknown-linux-gnu/bin/ >> -B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem >> /usr/local/x86_64-unknown-linux-gnu/include -isystem >> /usr/local/x86_64-unknown-linux-gnu/sys-include' >> CFLAGS='-g -O2 ' >> CPP='' >> CPPFLAGS='' >> DEFS='' >> ECHO_C='' >> ECHO_N='-n' >> ECHO_T='' >> EXEEXT='' >> INSTALL_DATA='/usr/bin/install -c -m 644' >> INSTALL_PROGRAM='/usr/bin/install -c' >> INSTALL_SCRIPT='/usr/bin/install -c' >> LDFLAGS='' >> LIBOBJS='' >> LIBS='' >> LIPO='lipo' >> LN_S='ln -s' >> LTLIBOBJS='' >> NM='/home/Aurora/gcc/build/./gcc/nm' >> OBJEXT='' >> PACKAGE_BUGREPORT='' >> PACKAGE_NAME='GNU C Runtime Library' >> PACKAGE_STRING='GNU C Runtime Library 1.0' >> PACKAGE_TARNAME='libgcc' >> PACKAGE_VERSION='1.0' >> PATH_SEPARATOR=':' >> RANLIB='ranlib' >> SHELL='/bin/sh' >> STRIP='strip' >> ac_ct_AR='' >> ac_ct_CC='' >> ac_ct_LIPO='' >> ac_ct_NM='' >> ac_ct_RANLIB='' >> ac_ct_STRIP='' >> asm_hidden_op='' >> bindir='${exec_prefix}/bin' >> build='x86_64-unknown-linux-gnu' >> build_alias='x86_64-unknown-linux-gnu' >> build_cpu='x86_64' >> build_libsubdir='build-x86_64-unknown-linux-gnu' >> build_os='linux-gnu' >> build_subdir='build-x86_64-unknown-linux-gnu' >> build_vendor='unknown' >> datadir='${prefix}/share' >> decimal_float='' >> enable_decimal_float='' >> enable_shared='yes' >> exec_prefix='NONE' >> extra_parts='' >> fixed_point='' >> host='x86_64-unknown-linux-gnu' >> host_alias='x86_64-unknown-linux-gnu' >> host_cpu='x86_64' >> host_noncanonical='x86_64-unknown-linux-gnu' >> host_os='linux-gnu' >> host_subdir='.' >> host_vendor='unknown' >> includedir='${prefix}/include' >> infodir='${prefix}/info' >> libdir='${exec_prefix}/lib' >> libexecdir='${exec_prefix}/libexec' >> libgcc_topdir='../../../gcc-4.4.3/libgcc/..' >> localstatedir='${prefix}/var' >> mandir='${prefix}/man' >> oldincludedir='/usr/include' >> prefix='NONE' >> program_transform_name='s,y,y,' >> sbindir='${exec_prefix}/sbin' >> set_have_cc_tls='' >> sharedstatedir='${prefix}/com' >> slibdir='$(libdir)' >> sysconfdir='${prefix}/etc' >> target_alias='x86_64-unknown-linux-gnu' >> target_subdir='x86_64-unknown-linux-gnu' >> tmake_file='' >> vis_hide='' >> >> ## ----------- ## >> ## confdefs.h. ## >> ## ----------- ## >> >> #define PACKAGE_BUGREPORT "" >> #define PACKAGE_NAME "GNU C Runtime Library" >> #define PACKAGE_STRING "GNU C Runtime Library 1.0" >> #define PACKAGE_TARNAME "libgcc" >> #define PACKAGE_VERSION "1.0" >> >> configure: exit 1 >> >> >> On Thu, Mar 25, 2010 at 5:54 PM, Ian Lance Taylor <iant@xxxxxxxxxx> wrote: >>> >>> Dieter Best <dieterbest@xxxxxxxxx> writes: >>> >>>> configure: error: cannot compute suffix of object files: cannot compile >>>> See `config.log' for more details. >>>> make[2]: *** [configure-stage1-target-libgcc] Error 1 >>> >>> Take a look at x86_64-unknown-linux-gnu/libgcc/config.log to see what >>> went wrong. >>> >>> Ian >>> >> >> >> > > -- http://www.linkedin.com/in/dieterbest