help-octave
[Top][All Lists]
Advanced

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

Help installing miscellaneous-1.2.0


From: Engineero
Subject: Help installing miscellaneous-1.2.0
Date: Tue, 4 Jun 2013 20:50:31 -0700 (PDT)

Hello,

I am trying to install miscellaneous-1.2.0 for my Octave-3.6.4 on Mac OSX
10.7.5. I have C-compilers (plural) installed, Octave is installed and
running just fine, and I am having no issues installing other packages so it
does not seem to be a mkoctfile issue.

I am getting a few errors that look like they are in the sources for the
components within miscellaneous-1.2.0, specifically in declarations of
Array<octave_idx_type> objects. I cannot tell whether this is a source issue
or a compiler issue or something else, and I am not sure how to figure this
out. Any help would be greatly appreciated.

The full screen dump is below.

>> pkg install miscellaneous-1.2.0.tar.gz 
In file included from cell2cell.cc:16:
In file included from /sw/include/octave-3.6.4/octave/../octave/oct.h:36:
In file included from /sw/include/octave-3.6.4/octave/defun-dld.h:30:
In file included from /sw/include/octave-3.6.4/octave/defun-int.h:28:
In file included from /sw/include/octave-3.6.4/octave/ov-builtin.h:28:
In file included from /sw/include/octave-3.6.4/octave/ov-fcn.h:35:
In file included from /sw/include/octave-3.6.4/octave/symtab.h:34:
/sw/include/octave-3.6.4/octave/regexp.h:90:3: warning: 'opts' defined as a
struct here but previously declared as a class [-Wmismatched-tags]
  struct opts
  ^
/sw/include/octave-3.6.4/octave/regexp.h:40:3: note: did you mean struct
here?
  class opts;
  ^~~~~
  struct
1 warning generated.
In file included from partarray.cc:16:
In file included from /sw/include/octave-3.6.4/octave/../octave/oct.h:36:
In file included from /sw/include/octave-3.6.4/octave/defun-dld.h:30:
In file included from /sw/include/octave-3.6.4/octave/defun-int.h:28:
In file included from /sw/include/octave-3.6.4/octave/ov-builtin.h:28:
In file included from /sw/include/octave-3.6.4/octave/ov-fcn.h:35:
In file included from /sw/include/octave-3.6.4/octave/symtab.h:34:
/sw/include/octave-3.6.4/octave/regexp.h:90:3: warning: 'opts' defined as a
struct here but previously declared as a class [-Wmismatched-tags]
  struct opts
  ^
/sw/include/octave-3.6.4/octave/regexp.h:40:3: note: did you mean struct
here?
  class opts;
  ^~~~~
  struct
partarray.cc:42:31: error: variable length array of non-POD element type
'Array<octave_idx_type>'
  Array<octave_idx_type> bidc [maxdims], eidc [maxdims];
                              ^
partarray.cc:55:11: error: use of undeclared identifier 'eidc'
          eidc[i] = eidx;
          ^
partarray.cc:70:11: error: use of undeclared identifier 'eidc'
          eidc[i] = octave_value (arg.matrix_value ().column (1)).
          ^
partarray.cc:74:37: error: use of undeclared identifier 'eidc'
              if (bidc[i](j) < 1 || eidc[i](j) > alldims(i))
                                    ^
partarray.cc:77:32: error: use of undeclared identifier 'eidc'
              if (bidc[i](j) > eidc[i](j))
                               ^
partarray.cc:79:17: error: use of undeclared identifier 'eidc'
                eidc[i](j) = bidc[i](j) - 1;
                ^
partarray.cc:106:33: error: use of undeclared identifier 'eidc'
          octave_idx_type end = eidc[j](cidx(j));
                                ^
1 warning and 7 errors generated.
make: *** [partarray.oct] Error 1
'make' returned the following error: mkoctfile -Wall cell2cell.cc
mkoctfile -Wall partarray.cc
error: called from 'pkg>configure_make' in file
/sw/share/octave/3.6.4/m/pkg/pkg.m near line 1385, column 9
error: called from:
error:   /sw/share/octave/3.6.4/m/pkg/pkg.m at line 827, column 5
error:   /sw/share/octave/3.6.4/m/pkg/pkg.m at line 383, column 9

Thanks a lot!



--
View this message in context: 
http://octave.1599824.n4.nabble.com/Help-installing-miscellaneous-1-2-0-tp4653721.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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