help-octave
[Top][All Lists]
Advanced

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

install netcdf package


From: Clinton Winant
Subject: install netcdf package
Date: Sat, 21 Nov 2015 16:58:43 -0800

I have tried to install netcdf package following

http://modb.oce.ulg.ac.be/mediawiki/index.php/Octave-netcdf

I already have the netcdf installed and running on my machine:
ls /usr/local/netcdf/lib
libnetcdf.a  libnetcdff.a  libnetcdff.la  libnetcdf.la  libnetcdf.settings  pkgconfig

ls /usr/local/netcdf/include
netcdf_f03.mod                  netcdf_meta.h             netcdf_nf_data.mod
netcdf_fortv2_c_interfaces.mod  netcdf.mod                netcdf_nf_interfaces.mod
netcdf.h                        netcdf_nc_data.mod        typesizes.mod
netcdf.inc                      netcdf_nc_interfaces.mod

ls /usr/local/netcdf/bin
nc-config  nccopy  ncdump  ncgen  ncgen3  nf-config

I have set the PATH:

echo "$PATH"
/usr/local/netcdf/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games


if within octave (4.0.0) Itype:

pkg install -verbose -forge -auto netcdf

the output ends with:

/usr/local/netcdf/lib/libnetcdf.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
Makefile:24: recipe for target '__netcdf__.oct' failed
make: *** [__netcdf__.oct] Error 1
make: Leaving directory '/tmp/oct-ghQtMn/netcdf/src'

pkg: error running `make' for the netcdf package.
error: called from 'configure_make' in file /usr/share/octave/4.0.0/m/pkg/private/configure_make.m near line 96, column 9


reply via email to

[Prev in Thread] Current Thread [Next in Thread]