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

20020322: Linux netCDF build: make.log; setting environment variables

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: 20020322: Linux netCDF build: make.log; setting environment variables
  • Date: Fri, 22 Mar 2002 08:43:39 -0700

L. Wen,

> From: =?GB2312?Q?=C0=B5=CE=C4=D5=E4?= <address@hidden>
> Organization: ?
> Keywords: 200203220217.g2M2H8a03545 netCDF 3.5 configure Linux 7.1

The above message contained the following:

> We have some difficulty in installing Netcdf-3.5.0.
> 
> After we run "make" ,there is no make.log.

The file "make.log" is created by your redirection of standard output
and standard input into it when you execute the "make" command.  For
example:

    % make >&! make.log

or

    $ make >make.log 2>&1

depending on your user shell

> The error lies in
> "cfortran.h", the computer said "can't find your enviornment". We
> haven't set environmental variables. In the first step we execute
> "configure" and let it find reasonable values.
> 
> Our platform is Linux-7.1-i686, and there are no f90 compiler in our
> system.    would you like to help us? Thanks.
> 
> Yours Sincerely
> L. Wen 

The file INSTALL.html contains examples of environment variable settings
for building on a Linux system.  You should ensure that the CPPFLAGS
variable contains the string "-Df2cFortran".

Regards,
Steve Emmerson   <http://www.unidata.ucar.edu>