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

960731: netCDF for Linux?



Peter,

> To: address@hidden
> cc: Peter S Galbraith <address@hidden>
> From: Peter S Galbraith <address@hidden>
> Subject: netCDF for Linux?
> Organization: Maurice-Lamontagne Institute, Department of Fisheries and 
> Oceans Canada
> Keywords: 199607311506.AA15990

In the above message you wrote:

> I have sources for netCDF-232pl4, and Linux is not mentionned on the
> supported hardware.
> 
> Nevertheless, in CUSTOMIZE, I set:
> 
>  FC=""
>  OS="Linux"
> 
> I successfully run:
> 
>  ./configure --prefix=/usr/local  
> 
> I get a segmentation fault running `make all'
> 
>  making `all' in directory /opt/src/netcdf-232pl4/libsrc
> 
>  make[1]: Entering directory `/opt/src/netcdf-232pl4/libsrc'
>  make: *** [libsrc/all] Error 1  
> 
> If I cd into that directory, and do `make all', I get:
> 
> incdir=`echo /usr/local/include | sed s',/,\\\/,g'`; \
> cc -M -DSWAP  -DNDEBUG *.c 2> /dev/null | \
>     awk '{ \
>         if ($0 ~ /:/) { \
>             target      = $1; \
>             if (target ~ /:/) { \
>                 target  = substr(target,1,length(target)-1); \
>                 start   = 2; \
>             } else { \
>                 start   = 3; \
>             } \
>         } else { \
>             start       = 1; \
>         } \
>         for (i = start; i <= NF; ++i) { \
>             if ($i !~ /^\\/ && \
>                 $i !~ /port\// && \
>                 $i !~ /^\//) \
>                 print target ": " $i \
>         } \
>     }' > depend
> Segmentation fault
> 
> I could make the required depend file by putting the script file in a 
> separate file, so it looks like gawk is seg faulting on that... 
> 
> Any pointers?  (I'm not a C programmer, so that's a problem.)

I suggest that you get the file

    ftp://ftp.unidata.ucar.edu/pub/netcdf/alpha.tar.Z

It contains an alpha-test version of the netCDF package -- one that,
hopefully, solves your problem.  Note, however, that it doesn't have
a user's guide -- you'll have to use the one in your existing doc/
subdirectory.

> Are there any Linux users who could help,

There are many entries containing the word `Linux' in the netCDF 
support-email database.  You could look there.  The URL is

    http://www.unidata.ucar.edu/glimpsedocs/ghnetcdf.html

> or provide compiled ELF binaries?
> Should I subscribe to the mailing list and ask there?

If you don't get satisfaction from here, then, yes.

Please let me know when you've retieved the file so that I can dispose
of it (I don't like supporting multiple versions).

--------
Steve Emmerson   <address@hidden>