Hello again Nands,

On re-reading your email, it appears you really need  the libnc-dap-devel 
package!

> make: ncdap-config: Command not found

libnc-dap-devel is the package that provides the ncdap-config binary on RHEL5. 
I'm not sure for what reasons octcdf depends on libnc-dap, but rpm.pbone says:

The libnc-dap library is a call-for-call replacement for netcdf. It can
read and write to and from netcdf files on the local machine and it can
read from DAP2 compatible data servers running on local or remote
machines.

The octcdf author(s)/user(s) might be able to tell you why it uses libnc-dap 
instead of just netcdf.

Regards,
Imran

________________________________________
From: n...@itimes.com [n...@itimes.com]
Sent: Friday, 5 March 2010 2:29 PM
To: Ron Goldman
Cc: octave-dev@lists.sourceforge.net
Subject: Re: [OctDev] Error installing octcdf-1.0.17 for octave 3.2.3

Hi Ron.

The description of libnc-dap says it is an alternative implementation of 
Unidata's netCDF API.
I am already having libnetcdf installed.
Won't installing libnc-dap create conflict?

Thanks.

Nands

----- Original Message -----
From: Ron Goldman <wrong.old....@gmail.com>
To: n...@itimes.com
Cc: octave-dev@lists.sourceforge.net
Sent: Thu, 4 Mar 2010 13:41:32 +0530 (IST)
Subject: Re: [OctDev] Error installing octcdf-1.0.17 for octave 3.2.3

I think you need the libnc-dap-devel rpm installed

Ron


n...@itimes.com wrote:

> Hi all.
>
> I am having Octave (3.2.3) with octcdf-1.0.13 on 64-bit x86_64 Redhat 
> enterprise edition 5. When I try to install octcdf-1.0.17 with "pkg install 
> octcdf-1.0.17.tar.gz", I get the following error:
>
> make: ncdap-config: Command not found
> make: Entering directory `/tmp/oct-j7vbF6/octcdf/src'
> In file included from ov-netcdf.cc:20:
> ov-netcdf.h:34:20: error: netcdf.h: No such file or directory
> ov-netcdf.h:90: error: 'nc_type' has not been declared
> ov-netcdf.h:92: error: 'nc_type' has not been declared
> ov-netcdf.h:93: error: 'nc_type' has not been declared
> ov-netcdf.h:94: error: 'nc_type' has not been declared
> ov-netcdf.h:99: error: 'nc_type' does not name a type
> ov-netcdf.h:100: error: 'nc_type' does not name a type
> ov-netcdf.h:101: error: 'nc_type' was not declared in this scope
> ov-ncvar.h:26: error: 'NC_MAX_VAR_DIMS' was not declared in this scope
> ov-ncvar.h:29: error: 'nc_type' does not name a type
> ov-ncvar.h:56: error: expected `)' before 'nctypep'
> ov-ncvar.h:124: error: 'nc_type' does not name a type
> ov-ncvar.h:134: error: expected ',' or '...' before 't'
> ov-ncvar.h:134: error: ISO C++ forbids declaration of 'nc_type' with no type
> ov-ncvar.h: In member function 'int octave_ncvar::get_dimid(int) const':
> ov-ncvar.h:130: error: 'struct ncvar_t' has no member named 'dimids'
> ov-ncvar.h: In member function 'void octave_ncvar::set_nctype(int)':
> ov-ncvar.h:134: error: 'struct ncvar_t' has no member named 'nctype'
> ov-ncvar.h:134: error: 't' was not declared in this scope
> ov-ncvar.h: In member function 'void octave_ncvar::set_dimid(int, int) const':
> ov-ncvar.h:146: error: 'struct ncvar_t' has no member named 'dimids'
> ov-ncatt.h: At global scope:
> ov-ncatt.h:25: error: 'nc_type' does not name a type
> ov-ncatt.h:110: error: 'nc_type' does not name a type
> ov-ncatt.h:118: error: expected ',' or '...' before '&' token
> ov-ncatt.h:118: error: ISO C++ forbids declaration of 'nc_type' with no type
> ov-ncatt.h: In member function 'void octave_ncatt::set_nctype(int)':
> ov-ncatt.h:118: error: 'struct ncatt_t' has no member named 'nctype'
> ov-ncatt.h:118: error: 't' was not declared in this scope
> ov-netcdf.cc: In function 'octave_value_list Fncdatatype(const 
> octave_value_list&, int)':
> ov-netcdf.cc:441: error: 'nc_type' was not declared in this scope
> ov-netcdf.cc:441: error: expected `;' before 'type'
> ov-netcdf.cc:450: error: 'type' was not declared in this scope
> ov-netcdf.cc:450: error: 'class octave_ncvar' has no member named 'get_nctype'
> ov-netcdf.cc:454: error: 'type' was not declared in this scope
> ov-netcdf.cc:454: error: 'class octave_ncatt' has no member named 'get_nctype'
> ov-netcdf.cc:461: error: 'type' was not declared in this scope
> ov-netcdf.cc: In function 'octave_value ov_nc_get_att(int, int, std::string)':
> ov-netcdf.cc:570: error: 'nc_type' was not declared in this scope
> ov-netcdf.cc:570: error: expected `;' before 'xtypep'
> ov-netcdf.cc:573: error: 'xtypep' was not declared in this scope
> ov-netcdf.cc:573: error: 'nc_inq_att' was not declared in this scope
> ov-netcdf.cc:575: error: 'NC_NOERR' was not declared in this scope
> ov-netcdf.cc:582: error: 'NC_CHAR' was not declared in this scope
> ov-netcdf.cc:587: error: 'nc_get_att_text' was not declared in this scope
> ov-netcdf.cc:588: error: 'NC_NOERR' was not declared in this scope
> ov-netcdf.cc:590: error: 'nc_strerror' was not declared in this scope
> ov-netcdf.cc:624: error: 'NC_BYTE' was not declared in this scope
> ov-netcdf.cc:624: error: 'nc_get_att_schar' was not declared in this scope
> ov-netcdf.cc:624: error: 'NC_NOERR' was not declared in this scope
> ov-netcdf.cc:624: error: 'nc_strerror' was not declared in this scope
> ov-netcdf.cc:625: error: 'NC_SHORT' was not declared in this scope
> ov-netcdf.cc:625: error: 'nc_get_att_short' was not declared in this scope
> ov-netcdf.cc:625: error: 'NC_NOERR' was not declared in this scope
> ov-netcdf.cc:625: error: 'nc_strerror' was not declared in this scope
> ov-netcdf.cc:626: error: 'NC_INT' was not declared in this scope
> ov-netcdf.cc:626: error: 'nc_get_att_int' was not declared in this scope
> ov-netcdf.cc:626: error: 'NC_NOERR' was not declared in this scope
> ov-netcdf.cc:626: error: 'nc_strerror' was not declared in this scope
> ov-netcdf.cc:627: error: 'NC_FLOAT' was not declared in this scope
> ov-netcdf.cc:627: error: 'nc_get_att_float' was not declared in this scope
> ov-netcdf.cc:627: error: 'NC_NOERR' was not declared in this scope
> ov-netcdf.cc:627: error: 'nc_strerror' was not declared in this scope
> ov-netcdf.cc:628: error: 'NC_DOUBLE' was not declared in this scope
> ov-netcdf.cc:628: error: 'nc_get_att_double' was not declared in this scope
> ov-netcdf.cc:628: error: 'NC_NOERR' was not declared in this scope
> ov-netcdf.cc:628: error: 'nc_strerror' was not declared in this scope
> ov-netcdf.cc: At global scope:
> ov-netcdf.cc:650: error: 'nc_type' has not been declared
> ov-netcdf.cc: In function 'void ov_nc_put_att(int, int, std::string, int, 
> octave_value)':
> ov-netcdf.cc:657: error: 'NC_CHAR' was not declared in this scope
> ov-netcdf.cc:662: error: 'nc_put_att_text' was not declared in this scope
> ov-netcdf.cc:674: error: 'NC_BYTE' was not declared in this scope
> ov-netcdf.cc:674: error: 'nc_put_att_schar' was not declared in this scope
> ov-netcdf.cc:675: error: 'NC_SHORT' was not declared in this scope
> ov-netcdf.cc:675: error: 'nc_put_att_short' was not declared in this scope
> ov-netcdf.cc:676: error: 'NC_INT' was not declared in this scope
> ov-netcdf.cc:676: error: 'nc_put_att_int' was not declared in this scope
> ov-netcdf.cc:677: error: 'NC_FLOAT' was not declared in this scope
> ov-netcdf.cc:677: error: 'nc_put_att_float' was not declared in this scope
> ov-netcdf.cc:678: error: 'NC_DOUBLE' was not declared in this scope
> ov-netcdf.cc:678: error: 'nc_put_att_double' was not declared in this scope
> ov-netcdf.cc:685: error: 'NC_NOERR' was not declared in this scope
> ov-netcdf.cc: At global scope:
> ov-netcdf.cc:694: error: 'nc_type' has not been declared
> ov-netcdf.cc: In function 'octave_value ov_nc_get_vars(int, int, 
> std::list<Range, std::allocator<Range> >, int)':
> ov-netcdf.cc:772: error: 'NC_BYTE' was not declared in this scope
> ov-netcdf.cc:772: error: 'nc_get_vars_schar' was not declared in this scope
> ov-netcdf.cc:772: error: 'NC_NOERR' was not declared in this scope
> ov-netcdf.cc:772: error: 'nc_strerror' was not declared in this scope
> ov-netcdf.cc:773: error: 'NC_SHORT' was not declared in this scope
> ov-netcdf.cc:773: error: 'nc_get_vars_short' was not declared in this scope
> ov-netcdf.cc:773: error: 'NC_NOERR' was not declared in this scope
> ov-netcdf.cc:773: error: 'nc_strerror' was not declared in this scope
> ov-netcdf.cc:774: error: 'NC_INT' was not declared in this scope
> ov-netcdf.cc:774: error: 'nc_get_vars_int' was not declared in this scope
> ov-netcdf.cc:774: error: 'NC_NOERR' was not declared in this scope
> ov-netcdf.cc:774: error: 'nc_strerror' was not declared in this scope
> ov-netcdf.cc:775: error: 'NC_FLOAT' was not declared in this scope
> ov-netcdf.cc:775: error: 'nc_get_vars_float' was not declared in this scope
> ov-netcdf.cc:775: error: 'NC_NOERR' was not declared in this scope
> ov-netcdf.cc:775: error: 'nc_strerror' was not declared in this scope
> ov-netcdf.cc:776: error: 'NC_DOUBLE' was not declared in this scope
> ov-netcdf.cc:776: error: 'nc_get_vars_double' was not declared in this scope
> ov-netcdf.cc:776: error: 'NC_NOERR' was not declared in this scope
> ov-netcdf.cc:776: error: 'nc_strerror' was not declared in this scope
> ov-netcdf.cc:778: error: 'NC_CHAR' was not declared in this scope
> ov-netcdf.cc:784: error: 'nc_get_vars_text' was not declared in this scope
> ov-netcdf.cc:786: error: 'NC_NOERR' was not declared in this scope
> ov-netcdf.cc:787: error: 'nc_strerror' was not declared in this scope
> ov-netcdf.cc: At global scope:
> ov-netcdf.cc:821: error: 'nc_type' has not been declared
> ov-netcdf.cc: In function 'void ov_nc_put_vars(int, int, std::list<Range, 
> std::allocator<Range> >, int, octave_value)':
> ov-netcdf.cc:865: error: 'NC_CHAR' was not declared in this scope
> ov-netcdf.cc:889: error: 'nc_put_vars_text' was not declared in this scope
> ov-netcdf.cc:931: error: 'NC_BYTE' was not declared in this scope
> ov-netcdf.cc:931: error: 'nc_put_vars_schar' was not declared in this scope
> ov-netcdf.cc:932: error: 'NC_SHORT' was not declared in this scope
> ov-netcdf.cc:932: error: 'nc_put_vars_short' was not declared in this scope
> ov-netcdf.cc:933: error: 'NC_INT' was not declared in this scope
> ov-netcdf.cc:933: error: 'nc_put_vars_int' was not declared in this scope
> ov-netcdf.cc:934: error: 'NC_FLOAT' was not declared in this scope
> ov-netcdf.cc:934: error: 'nc_put_vars_float' was not declared in this scope
> ov-netcdf.cc:935: error: 'NC_DOUBLE' was not declared in this scope
> ov-netcdf.cc:935: error: 'nc_put_vars_double' was not declared in this scope
> ov-netcdf.cc:944: error: 'NC_NOERR' was not declared in this scope
> ov-netcdf.cc:950: error: 'NC_NOERR' was not declared in this scope
> ov-netcdf.cc:951: error: 'nc_strerror' was not declared in this scope
> ov-netcdf.cc: At global scope:
> ov-netcdf.cc:962: error: 'nc_type' has not been declared
> ov-netcdf.cc: In function 'void ov_nc_def_var(int, std::string, int, 
> std::list<std::basic_string<char, std::char_traits<char>, 
> std::allocator<char> >, std::allocator<std::basic_string<char, 
> std::char_traits<char>, std::allocator<char> > > >)':
> ov-netcdf.cc:967: error: 'NC_MAX_VAR_DIMS' was not declared in this scope
> ov-netcdf.cc:974: error: 'dimids' was not declared in this scope
> ov-netcdf.cc:974: error: 'nc_inq_dimid' was not declared in this scope
> ov-netcdf.cc:976: error: 'NC_NOERR' was not declared in this scope
> ov-netcdf.cc:978: error: 'nc_strerror' was not declared in this scope
> ov-netcdf.cc:987: error: 'dimids' was not declared in this scope
> ov-netcdf.cc:987: error: 'nc_def_var' was not declared in this scope
> ov-netcdf.cc:989: error: 'NC_ENAMEINUSE' was not declared in this scope
> ov-netcdf.cc:992: error: 'NC_NOERR' was not declared in this scope
> ov-netcdf.cc:994: error: 'nc_strerror' was not declared in this scope
> ov-netcdf.cc: At global scope:
> ov-netcdf.cc:1007: error: 'nc_type' does not name a type
> ov-netcdf.cc:1029: error: redefinition of 'std::string nctype2ncname'
> ov-netcdf.h:101: error: 'std::string nctype2ncname' previously declared here
> ov-netcdf.cc:1029: error: 'nc_type' was not declared in this scope
> make: *** [ov-netcdf.o] Error 1
> 'make' returned the following error: mkoctfile -c ov-netcdf.cc   
> -DHAVE_OCTAVE_INT
> make: Leaving directory `/tmp/oct-j7vbF6/octcdf/src'
> error: called from `pkg>configure_make' in file 
> /usr/share/octave/3.2.3/m/pkg/pkg.m near line 1253, column 2
> error: called from:
> error:   /usr/share/octave/3.2.3/m/pkg/pkg.m at line 714, column 5
> error:   /usr/share/octave/3.2.3/m/pkg/pkg.m at line 287, column 7
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Octave-dev mailing list
> Octave-dev@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/octave-dev
>
>

***********************************************************
This outgoing email was scanned for viruses and other malicious content by the 
IT Department of Israel Oceanographic & Limnological Research.
AntiVirus system managed by Eli W. Tel. 972-4-8565267
IMPORTANT: Do not open attachments from unrecognized senders.
Never open attached files with extensions: *.pif, *.scr, *.vbs, *.exe.
***********************************************************

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to