help-octave
[Top][All Lists]
Advanced

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

Installing octave-forge packages


From: Marius Schamschula
Subject: Installing octave-forge packages
Date: Tue, 23 Oct 2007 05:36:01 -0500

Hi all,

I'm (re)installing octave-forge on my Macs (tested under 10.4.10:PPC). octave 2.9.15; octave-forge-bundle 20071014.

Two packages give me the following error:

error: value on right hand side of assignment is undefined
error: called from `pkg:configure_make' in file /usr/local/share/octave/2.9.15/m/pkg/pkg.m near line 1098, column 9

The packages are:

audio-1.0.2.tar.gz
macosx-1.0.3.tar.gz

earlier combinations of octave and these two packages built correctly.

Also java-1.2.1.tar.gz bails with (I've never gotten this to build):

__java__.cc: In function 'void initialize_jvm()':
__java__.cc:358: error: 'JAVA_HOME' was not declared in this scope
__java__.cc:358: error: 'JAVA_ARCH' was not declared in this scope
make: *** [__java__.oct] Error 1
error: 'make' returned the following error: if [ "XX" = "XX" ]; then \
        mkoctfile -DHAVE_OCTAVE_29 -v -I/Library/Java/Home/include -o __java__.oct __java__.cc ; \
else \
        mkoctfile -DHAVE_OCTAVE_29 -v -DJAVA_ARCH=\\\"\\\" -DJAVA_HOME=\\\"\\\" -I/Library/Java/Home/include -o __java__.oct __java__.cc ; \
fi
g++ -c -I/usr/local/include/octave-2.9.15 -I/usr/local/include/octave-2.9.15/octave -I/usr/local/include -g -O2 -I/Library/Java/Home/include -DHAVE_OCTAVE_29 __java__.cc -o __java__.o
error: called from `pkg:configure_make' in file /usr/local/share/octave/2.9.15/m/pkg/pkg.m near line 1044, column 2

octcdf-1.0.6 when built against netcdf 3.6.2 gave me the following error (again this used to work):

ov-ncvar.h:27: error: 'NC_MAX_VAR_DIMS' was not declared in this scope
ov-ncvar.h: In member function 'int octave_ncvar::get_dimid(int) const':
ov-ncvar.h:126: error: 'struct ncvar_t' has no member named 'dimids'
ov-ncvar.h: In member function 'void octave_ncvar::set_dimid(int, int) const':
ov-ncvar.h:142: error: 'struct ncvar_t' has no member named 'dimids'
ov-netcdf.cc: In function 'octave_value ov_nc_get_att(int, int, std::string)':
ov-netcdf.cc:566: error: 'nc_inq_att' was not declared in this scope
ov-netcdf.cc:580: error: 'nc_get_att_text' was not declared in this scope
ov-netcdf.cc:583: error: 'nc_strerror' was not declared in this scope
ov-netcdf.cc:617: error: 'nc_get_att_schar' was not declared in this scope
ov-netcdf.cc:617: error: 'nc_strerror' was not declared in this scope
ov-netcdf.cc:618: error: 'nc_get_att_short' was not declared in this scope
ov-netcdf.cc:618: error: 'nc_strerror' was not declared in this scope
ov-netcdf.cc:619: error: 'NC_INT' was not declared in this scope
ov-netcdf.cc:619: error: 'nc_get_att_int' was not declared in this scope
ov-netcdf.cc:619: error: 'nc_strerror' was not declared in this scope
ov-netcdf.cc:620: error: 'nc_get_att_float' was not declared in this scope
ov-netcdf.cc:620: error: 'nc_strerror' was not declared in this scope
ov-netcdf.cc:621: error: 'nc_get_att_double' was not declared in this scope
ov-netcdf.cc:621: error: 'nc_strerror' was not declared in this scope
ov-netcdf.cc: In function 'void ov_nc_put_att(int, int, std::string, nc_type, octave_value)':
ov-netcdf.cc:655: error: 'nc_put_att_text' was not declared in this scope
ov-netcdf.cc:667: error: 'nc_put_att_schar' was not declared in this scope
ov-netcdf.cc:668: error: 'nc_put_att_short' was not declared in this scope
ov-netcdf.cc:669: error: 'NC_INT' was not declared in this scope
ov-netcdf.cc:669: error: 'nc_put_att_int' was not declared in this scope
ov-netcdf.cc:670: error: 'nc_put_att_float' was not declared in this scope
ov-netcdf.cc:671: error: 'nc_put_att_double' was not declared in this scope
ov-netcdf.cc: In function 'octave_value ov_nc_get_vars(int, int, std::list<Range, std::allocator<Range> >, nc_type)':
ov-netcdf.cc:765: error: 'nc_get_vars_schar' was not declared in this scope
ov-netcdf.cc:765: error: 'nc_strerror' was not declared in this scope
ov-netcdf.cc:766: error: 'nc_get_vars_short' was not declared in this scope
ov-netcdf.cc:766: error: 'nc_strerror' was not declared in this scope
ov-netcdf.cc:767: error: 'NC_INT' was not declared in this scope
ov-netcdf.cc:767: error: 'nc_get_vars_int' was not declared in this scope
ov-netcdf.cc:767: error: 'nc_strerror' was not declared in this scope
ov-netcdf.cc:768: error: 'nc_get_vars_float' was not declared in this scope
ov-netcdf.cc:768: error: 'nc_strerror' was not declared in this scope
ov-netcdf.cc:769: error: 'nc_get_vars_double' was not declared in this scope
ov-netcdf.cc:769: error: 'nc_strerror' was not declared in this scope
ov-netcdf.cc:777: error: 'nc_get_vars_text' was not declared in this scope
ov-netcdf.cc:780: error: 'nc_strerror' was not declared in this scope
ov-netcdf.cc: In function 'void ov_nc_put_vars(int, int, std::list<Range, std::allocator<Range> >, nc_type, octave_value)':
ov-netcdf.cc:882: error: 'nc_put_vars_text' was not declared in this scope
ov-netcdf.cc:924: error: 'nc_put_vars_schar' was not declared in this scope
ov-netcdf.cc:925: error: 'nc_put_vars_short' was not declared in this scope
ov-netcdf.cc:926: error: 'NC_INT' was not declared in this scope
ov-netcdf.cc:926: error: 'nc_put_vars_int' was not declared in this scope
ov-netcdf.cc:927: error: 'nc_put_vars_float' was not declared in this scope
ov-netcdf.cc:928: error: 'nc_put_vars_double' was not declared in this scope
ov-netcdf.cc:944: error: 'nc_strerror' was not declared in this scope
ov-netcdf.cc: In function 'void ov_nc_def_var(int, std::string, nc_type, std::list<std::string, std::allocator<std::string> >)':
ov-netcdf.cc:960: error: 'NC_MAX_VAR_DIMS' was not declared in this scope
ov-netcdf.cc:967: error: 'dimids' was not declared in this scope
ov-netcdf.cc:967: error: 'nc_inq_dimid' was not declared in this scope
ov-netcdf.cc:971: error: 'nc_strerror' was not declared in this scope
ov-netcdf.cc:980: error: 'dimids' was not declared in this scope
ov-netcdf.cc:980: error: 'nc_def_var' was not declared in this scope
ov-netcdf.cc:987: error: 'nc_strerror' was not declared in this scope
ov-netcdf.cc: In function 'nc_type ncname2nctype(std::string)':
ov-netcdf.cc:1009: error: 'NC_INT' was not declared in this scope
ov-netcdf.cc:1018: error: 'NC_NAT' was not declared in this scope
ov-netcdf.cc: In function 'std::string nctype2ncname(nc_type)':
ov-netcdf.cc:1037: error: 'NC_INT' was not declared in this scope
ov-netcdf.cc: In function 'nc_type ovtype2nctype(const octave_value&)':
ov-netcdf.cc:1079: error: 'NC_INT' was not declared in this scope
make: *** [ov-netcdf.o] Error 1
error: 'make' returned the following error: mkoctfile -DHAVE_OCTAVE_ -v -c ov-netcdf.cc  -DHAVE_OCTAVE_INT
g++ -c -I/usr/local/include/octave-2.9.15 -I/usr/local/include/octave-2.9.15/octave -I/usr/local/include -g -O2 -DHAVE_OCTAVE_ -DHAVE_OCTAVE_INT ov-netcdf.cc -o ov-netcdf.o
error: called from `pkg:configure_make' in file /usr/local/share/octave/2.9.15/m/pkg/pkg.m near line 1044, column 2

Marius

--

Marius Schamschula

Webmaster


The Huntsville Macintosh Users Group

www.hmug.org


webmaster at hmug dot org

marius at schamschula dot com





reply via email to

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