On Wed, Nov 5, 2008 at 3:45 PM, Michael Meissner <meissner@xxxxxxxxxxxxxxxxxx> wrote: > On Wed, Nov 05, 2008 at 03:12:27PM -0500, Frank Lagor wrote: >> Hello, >> >> I am trying to install the set of gcc compilers on a small parallel >> computing cluster, but I have been having a little trouble. >> >> I installed GMP and MPFR and this seemed to work fine. After I >> configure gcc for the install, the make step fails. I get the >> following error, and unfortunately it is not immediately clear to me >> how I can fix the problem >> >> checking for x86_64-unknown-linux-gnu-gcc.. >> . /ronaldo/pkg/dfranci/gccObjDir/./gcc/xgcc >> -B/ronaldo/pkg/dfranci/gccObjDir/./gcc/ >> -B/ronaldo/pkg/dfranci/gccCompilers-4.3.2/x86_64-unknown-linux-gnu/bin/ >> -B/ronaldo/pkg/dfranci/gccCompilers-4.3.2/x86_64-unknown-linux-gnu/lib/ >> -isystem /ronaldo/pkg/dfranci/gccCompilers-4.3.2/x86_64-unknown-linux-gnu/include >> -isystem /ronaldo/pkg/dfranci/gccCompilers-4.3.2/x86_64-unknown-linux-gnu/sys-include >> checking for suffix of object files... configure: error: cannot >> compute suffix of object files: cannot compile >> See `config.log' for more details. >> make[2]: *** [configure-stage1-target-libgcc] Error 1 >> make[2]: Leaving directory `/ronaldo/pkg/dfranci/gccObjDir' >> make[1]: *** [stage1-bubble] Error 2 >> make[1]: Leaving directory `/ronaldo/pkg/dfranci/gccObjDir' >> make: *** [all] Error 2 >> >> >> I have tried to attach the config.log. Here are the configure options >> I specified: >> >> ../gcc-4.3.2/configure --enable-shared --with-cpu-64 >> --enable-languages=all --with-gmp=/ronaldo/pkg/dfranci/gmp-4.2.4 >> --with-mpfr=/ronaldo/pkg/dfranci/mpfr-2.3.2 >> --prefix=/ronaldo/pkg/dfranci/gccCompilers-4.3.2 > > I usually see this if I build gmp and mpfr without using --disable-shared and > the compiler is linked against the shared library. I imagine you can set > LD_LIBRARY_PATH or edit where the system finds shared libraries to allow the > compiler to find the shared gmp/mpfr (though it is possible it might make other > programs that use gmp/mpfr to behave differently if they load up a different > version than they were linked against). > > -- > Michael Meissner, IBM > 4 Technology Place Drive, MS 2203A, Westford, MA, 01886, USA > meissner@xxxxxxxxxxxxxxxxxx > > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > ______________________________________________________________________ > Hi Michael, Thank you very much for your response. Should I try to reinstall GMP and MPFR and disable the shared option? I did not completely understand... Secondly, no other programs were installed with THIS GMP and MPFR. If other programs were built and linked against another GMP or MPFR on the machine, I don't know. Thanks again, Frank