Re: Can't install netcdf-3.4

Francisco,

>Date: Tue, 12 Dec 2000 13:02:47 +0100
>From: Francisco Pastor <paco@xxxxxxx>
>Organization: Fundacion CEAM, Spain
>To: Netcdf group <netcdfgroup@xxxxxxxxxxxxxxxx>
>Subject: Can't install netcdf-3.4
>Keywords: 200012121204.eBCC4qo03395

The above message contained the following:

> ... How can I force configure to use gcc avoiding cc?

There are many examples of using the GNU C compiler (gcc) in the INSTALL
file.  I would include something like the following in the pre-configure
environment variable settings:

    CC=gcc
    CPPFLAGS="-DNDEBUG -DhpuxFortran"
    CFLAGS=-O
    CXX=g++

Remember to do a "make distclean" before executing the configure script.

Regards,
Steve Emmerson   <http://www.unidata.ucar.edu>
>From owner-netcdfgroup@xxxxxxxxxxxxxxxx 24 2001 Jan IST 12:42:12 
Message-ID: <20010124071212.6244.qmail@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: 24 Jan 2001 12:42:12 IST
From: chetan RAO <chetanrao77@xxxxxxx>
To: netcdfgroup@xxxxxxxxxxxxxxxx
Subject: missing files netcdf 3.4
Received: (from majordo@localhost)
        by unidata.ucar.edu (UCAR/Unidata) id f0O7CFB17176
        for netcdfgroup-out; Wed, 24 Jan 2001 00:12:15 -0700 (MST)
Organization: UCAR/Unidata
Keywords: 200101240712.f0O7CDX17172
X-Mailer: USANET web-mailer (34FM.0700.15B.01)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by unidata.ucar.edu id 
f0O7CEX17173
Sender: owner-netcdfgroup@xxxxxxxxxxxxxxxx
Precedence: bulk
Reply-To: chetan RAO <chetanrao77@xxxxxxx>

sir/madam,
          I have downloaded netcdf 3.4 package from the following link
provided at 
       www.unidata.ucar.edu\packages\netcdf
sir i tried to compile the example.cc with ffio.c provided in the package in
ms vc++ 6.0, And i got the following error.
 
 ffio.c
c:\sbmsitproject\netcdf\src\libsrc\ffio.c(16) : fatal error C1083: Cannot open
include file: 'ffio.h': No such file or directory
Error executing cl.exe.


i searched in netcdf-3.4 package this file is missing.


sir  i have another problem with ncdump provided in the package of 
netcdf 3.4.i tried to compile the ncdump.c file with the files given below.

   attr.c
   dim.c
   dumplib.c
   error.c
    libvers.c
   nc.c
   ncx.c
   posixio.c
   string.c
   putget.c
   v2i.c
   v1hpg.c 
   var.c   
   vardata.c
and i got the following errors.i am not able to fix it.i think some files
are missing in netcdf 3.4 package.


--------------------Configuration: pNetdump - Win32 Debug--------------------
Linking...
ncdump.obj : error LNK2001: unresolved external symbol _optind
ncdump.obj : error LNK2001: unresolved external symbol _optarg
ncdump.obj : error LNK2001: unresolved external symbol _getopt
ncdump.obj : error LNK2001: unresolved external symbol _opterr
Debug/pNetdump.exe : fatal error LNK1120: 4 unresolved externals
Error executing link.exe.

pNetdump.exe - 5 error(s), 0 warning(s)

i am working on 
pc with cyrix 2 processor and 32mb ram.
with windows 98se
i am using ms vc++ 6.0 to compile the code.

sir i will be grateful if you can just help me out.

with regards
chetan 




____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1
>From owner-netcdfgroup@xxxxxxxxxxxxxxxx    4 Wed, Mar
Date:    Wed, 4 Mar 1992 13:32:47 EST
From: GUMLEY@xxxxxxxxxxxxxxxxx (Liam E. Gumley)
To: netcdfgroup@xxxxxxxxxxxxxxxx
Subject: netCDF library for Microsoft Fortran anybody?
Received: by unidata.ucar.edu id AA10796
  (5.65c/IDA-1.4.4 for netcdfgroup-send); Wed, 4 Mar 1992 11:39:29 -0700
Received: from ltp.gsfc.nasa.gov by unidata.ucar.edu with SMTP id AA10792
  (5.65c/IDA-1.4.4 for <netcdfgroup@xxxxxxxxxxxxxxxx>); Wed, 4 Mar 1992 
11:39:27 -0700
Message-Id: <920304133247.20604830@xxxxxxxxxxxxxxxxx>
X-Vmsmail-To: SMTP%"netcdfgroup@xxxxxxxxxxxxxxxx"

G'day folks.

I have a favour to ask of the group.  I have developed some
Fortran code to manipulate netCDF files which contain
remotely sensed image data.  Currently I am using netCDF v2.02 on
VAX/VMS and Silicon Graphics Iris, and I have no trouble porting
code and/or data between these.  

However, someone asked 'Would it work on a PC'? (Don't they always?)

The problem is, I don't have a Microsoft C compiler right now, and it's
not really critical to the project to have one.   I would however like
to ensure that my code ports to and runs on a PC system correctly.

So I was wondering if anybody would be able to provide me with a compiled
netCDF library (v1.17 or higher) for the PC which has the FORTRAN jackets
included - I do have Microsoft FORTRAN 5.10.  FTP or uuencoded email would
be fine.

Cheers,
Liam.

--
Liam E. Gumley                            | Phone    : (301) 982-3700
NASA/GSFC MODIS Science Data Support Team | Fax      : (301) 982-3749
Research and Data Systems Corporation     | Internet : gumley@xxxxxxxxxxxxxxxxx
Greenbelt MD 20770, USA                   |


  • 2000 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: