[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 20040625: NetCDF installation on Mac OS X
- Subject: Re: 20040625: NetCDF installation on Mac OS X
- Date: Wed, 30 Jun 2004 11:33:15 -0600
>To: address@hidden
>From: Joseph Shacat <address@hidden>
>Subject: NetCDF installation on Mac OS X
>Organization: University of Hawaii
>Keywords: 200406250124.i5P1O0Wb001517 netCDF 3.5.1 MacOS-X
Hi Joseph,
> thanks for the detailed reply. I unzipped the NetCDF-3.5.1 again and went
> through the installation steps. I switched to ~/netcdf-3.5.1/src and ran:
>
> % ./configure >& configure.log
>
> Below is the print-out to configure.log. It seems pretty close to what
> you suggested it should look like:
...
> I then ran "make" and this seemed to go without a hitch. "make test" also
> seemed to go ok, except that one part gave me some warning messages that
> may interest you:
>
> Making `test' in directory /Users/jshacat/netcdf-3.5.1/src/ncgen
>
> Warning: ncgentab.c is out-of-date with respect to ncgen.y
> Warning: It should be recreated via yacc on an OSF/1 system
This is nothing to worry about, it's an unfortunate artifact of how we
created the tar file.
> cc -o ncgen -O main.o load.o ncgentab.o escapes.o getfill.o init.o
> genlib.o ../libsrc/libnetcdf.a
> ./ncgen -b -o c0.nc c0.cdl
> ../ncdump/ncdump -n c1 c0.nc > c1.cdl
> *** ncgen -b test successful ***
> ./ncgen -c -o ctest0.nc c0.cdl > ctest.c && \
> cc -o ctest -O -I../libsrc -I. -DNDEBUG ctest.c ../libsrc/libnetcdf.a
> && \
> ./ctest && \
> ../ncdump/ncdump -n c1 ctest0.nc > ctest1.cdl
> *** ncgen -c test successful ***
> `f-test' not made because no FORTRAN compiler
>
> Returning to directory /Users/jshacat/netcdf-3.5.1/src
>
>
> I don't really know much about this, whether the out-of-date ncgen.c is a
> serious issue, but I thought you might find it interesting.
>
> When I ran "make install" everything is ok except for this:
>
> catman -w -M /Users/jshacat/netcdf-3.5.1/man
> mkdir /Users/jshacat/netcdf-3.5.1/man/cat1
> catman: can't open /Users/jshacat/netcdf-3.5.1/man/man2: No such file or
> directory
> mkdir /Users/jshacat/netcdf-3.5.1/man/cat3
> catman: can't open /Users/jshacat/netcdf-3.5.1/man/man4: No such file or
> directory
> catman: can't open /Users/jshacat/netcdf-3.5.1/man/man5: No such file or
> directory
> catman: can't open /Users/jshacat/netcdf-3.5.1/man/man6: No such file or
> directory
> catman: can't open /Users/jshacat/netcdf-3.5.1/man/man7: No such file or
> directory
> catman: can't open /Users/jshacat/netcdf-3.5.1/man/man8: No such file or
> directory
> catman: can't open /Users/jshacat/netcdf-3.5.1/man/man9: No such file or
> directory
> /usr/libexec/makewhatis /Users/jshacat/netcdf-3.5.1/man
>
>
> Again, I'm not sure about this. Otherwise everything else seemed ok. I
Also nothing to worry about.
> don't manually compile the unix code very often at all, so this is all
> kind of new to me. Your assistance is really appreciated.
>
> at this point, is the installation a success? should i add
> ~/netcdf-3.5.1/bin to the path in my .tcshrc file? similarly, should i
> add ~/netcdf-3.5.1/man to my manpath?
>
> Probably my only use for NetCDF is with GMT.
Yes, your installation looks fine. Let us know if you have any other
problems with it.
--Russ