[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #KDK-935507]: C version installation issues on Ubuntu Linux



Hello,

When I look at the config.log file you provided, I see the following:

````
configure:4745: checking for gcc
configure:4772: result: h5pcc
configure:5001: checking for C compiler version
configure:5010: h5pcc --version >&5
./configure: line 5012: h5pcc: command not found
````

Make sure that h5pcc is installed and on your system path; this should correct 
the issue.

Thanks!

-Ward

> Hello,
> 
> I am attempting to do download and compile the newest C version by
> running the following commands:
> 
> tar -xaf netcdf-c-4.7.1.tar.gz
> cd netcdf-c-4.7.1
> CFLAGS="-fPIC ${CFLAGS}" CC=h5pcc ./configure --enable-shared=no
> --prefix=$HOME
> 
> I get the following error:
> 
> checking whether the C compiler works... no
> configure: error: in `/home/toby/netcdf-c-4.7.1':
> configure: error: C compiler cannot create executables
> See `config.log' for more details
> 
> I am unsure of how to proceed, and couldn't get any more info for the
> config log.
> Attached is the config log.
> Any help would be much appreciated.
> 
> Toby
> 


Ticket Details
===================
Ticket ID: KDK-935507
Department: Support netCDF
Priority: Normal
Status: Closed
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.