[hdf-forum] Build problem HDF5 1.8.2 on Solaris 2.8

Robert Latham robl at mcs.anl.gov
Mon Mar 23 10:00:40 EDT 2009


On Mon, Mar 23, 2009 at 12:39:06PM +0100, Richard Corden wrote:
> Running "../hdf-1.8.2/configure" from build results in the following:
...
> checking for gcc... cc
> checking for C compiler default output file name...
> configure: error: C compiler cannot create executables
> See `config.log' for more details.
> 
> The above error occurs even though gcc is directly in the path.  To get
> round this, I set the environment variables CC=gcc and CXX=g++.  The
> configure step now appears to pass successfully with the following "STATUS"
> at the end:

OK, so what if you don't set CC and CXX?  What did config.log say?
Sometimes config.log shows that it is trying to link in additional
libraries or do something else unexpected.

==rob

-- 
Rob Latham
Mathematics and Computer Science Division    A215 0178 EA2D B059 8CDF
Argonne National Lab, IL USA                 B29D F333 664A 4280 315B

----------------------------------------------------------------------
This mailing list is for HDF software users discussion.
To subscribe to this list, send a message to hdf-forum-subscribe at hdfgroup.org.
To unsubscribe, send a message to hdf-forum-unsubscribe at hdfgroup.org.





More information about the Hdf-forum mailing list