[EXTERNAL] Re: [odb-users] C compiler cannot create executables
Hess, Michael M
mmhess at sandia.gov
Wed Jan 29 09:19:28 EST 2014
Boris, in regards to your question below, I included '/opt/odb-2.3.0-x86_64-linux-gnu/lib/odb/x86_64-linux-gnu/bin' in my $PATH since our original Ubuntu environment did not have gcc and g++ installed. As such, I updated my $PATH, installed both gcc and g++, and now the 'configure', 'make' and 'make install' work well.
Thank you very much for your prompt response, and have a great day!
-----Original Message-----
From: Boris Kolpackov [mailto:boris at codesynthesis.com]
Sent: Wednesday, January 29, 2014 12:16 AM
To: Hess, Michael M
Cc: odb-users at codesynthesis.com
Subject: [EXTERNAL] Re: [odb-users] C compiler cannot create executables
Hi Michael,
Hess, Michael M <mmhess at sandia.gov> writes:
> As can be seen in the attached config.log file, configure attempts to
> compile conftest.c, but fails.
Thanks for providing the log. It appears that configure picks up the internal version of GCC that is used by ODB:
/opt/odb-2.3.0-x86_64-linux-gnu/lib/odb/x86_64-linux-gnu/bin/gcc
And it does this because you have added its directory to your PATH:
PATH: /opt/odb-2.3.0-x86_64-linux-gnu/lib/odb/x86_64-linux-gnu/bin
This should not be necessary and is generally a bad idea since it "hides" your system GCC. Any reason why you went to the trouble of finding and adding this directory to PATH?
Boris
More information about the odb-users
mailing list