help-octave
[Top][All Lists]
Advanced

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

Error during octcdf install


From: Matthias Brennwald
Subject: Error during octcdf install
Date: Mon, 20 Oct 2008 11:59:33 +0200

Dear all

I tried to install the octcdf package from Octave forge. This is on
Ubuntu Linux 8.04 with the netcdf library installed. Here's what I did,
and what happened:

----------------------------
octave:2> pkg install octcdf-1.0.11.tar.gz 
/usr/local/include/octave-3.1.51+/octave/variables.h: In function ‘void
load_netcdf_type()’:
/usr/local/include/octave-3.1.51+/octave/variables.h:133: error: too
many arguments to function ‘void mlock()’
ov-netcdf.cc:57: error: at this point in file
/usr/local/include/octave-3.1.51+/octave/variables.h:133: error: too
many arguments to function ‘void mlock()’
ov-netcdf.cc:58: error: at this point in file
/usr/local/include/octave-3.1.51+/octave/variables.h:133: error: too
many arguments to function ‘void mlock()’
ov-netcdf.cc:59: error: at this point in file
/usr/local/include/octave-3.1.51+/octave/variables.h:133: error: too
many arguments to function ‘void mlock()’
ov-netcdf.cc:60: error: at this point in file
make: *** [ov-netcdf.o] Error 1
'make' returned the following error: make: Entering directory
`/tmp/oct-lllz4A/octcdf-1.0.11/src'
mkoctfile -DHAVE_OCTAVE_ -v -c ov-netcdf.cc  -DHAVE_OCTAVE_INT 
g++ -c -fPIC -I/usr/local/include/octave-3.1.51+
-I/usr/local/include/octave-3.1.51+/octave -I/usr/local/include
-I/usr/include/freetype2 -g -O2 -DHAVE_OCTAVE_ -DHAVE_OCTAVE_INT
ov-netcdf.cc -o ov-netcdf.o
make: Leaving directory `/tmp/oct-lllz4A/octcdf-1.0.11/src'
error: called from `configure_make' in
file /usr/local/share/octave/3.1.51+/m/pkg/pkg.m near line 1251, column
2
error: called from:
error:   /usr/local/share/octave/3.1.51+/m/pkg/pkg.m at line 719, column
5
error:   /usr/local/share/octave/3.1.51+/m/pkg/pkg.m at line 292, column
7
----------------------------

Any hints or ideas on what I did wrong?

Matthias


-- 
Matthias Brennwald
Project Manager Safety Analysis
Nagra, 5430 Wettingen, Switzerland
+41 56 437 13 32




reply via email to

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