*BSD News Article 45583


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.kei.com!news.mathworks.com!news.alpha.net!uwm.edu!vixen.cso.uiuc.edu!news.ecn.bgu.edu!newspump.wustl.edu!news.miami.edu!ivan
From: ivan@nauplius.rsmas.miami.edu (Ivan Lima)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Help installing netCDF on FreeBSD machine
Date: 19 Jun 1995 14:40:55 GMT
Organization: Univ of Miami - RSMAS
Lines: 31
Message-ID: <3s429n$s3p@umigw.miami.edu>
NNTP-Posting-Host: nauplius.rsmas.miami.edu
Keywords: netcdf
Originator: ivan@nauplius.rsmas.miami.edu


	Has anybody installed netCDF in a FreeBSD system? I'm trying to do that
but it its crashing every time I do a 'make all'. I'm pretty sure it has to do
with the absence of a Fortran compiler (I only have f2c). The README and the 
INSTALL files say that you don't need a Fortran compiler to install netcdf, but
when I did a make -n I see this:

if [ -r ncdump.f -o -r ncdump.F ]; then  ld='f77 ';  else  ld='cc -O -O';  fi; 
cmd="$ld ncdump.o vardata.o dumplib.o ../libsrc/libnetcdf.a  -lm -o ncdump";  
echo $cmd;  $cmd  || (rm -f ncdump; exit 1)

and the 'make all' gives me:

making `all' in directory /usr/local/netcdf/ncdump
*** Error code 1
Stop.
*** Error code 1
Stop.

	So, it sees something wrong and goes to "(rm -f ncdump; exit 1)" and
gives me this "*** Error code 1". I think it has to do with the absence of f77.

Anybody, anyone can give me some help with that?
MAny thanks,

-Ivan-