help-octave
[Top][All Lists]
Advanced

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

Trouble installing miscellaneous package in Mac OS X


From: jnorato
Subject: Trouble installing miscellaneous package in Mac OS X
Date: Fri, 15 Feb 2013 03:59:06 -0800 (PST)

Hello,

I am new to Octave and I am having some problems installing the
miscellaneous package in my Mac.  I used fink to install octave-alpha
(3.6.3) as well as control-atlas-oct363.  I am using the XCode c compiler. 
This is my system/installation information:

####

GNU Octave Version 3.6.3
GNU Octave License: GNU General Public License
Operating System: Darwin 12.2.0 Darwin Kernel Version 12.2.0: Sat Aug 25
00:48:52 PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64 x86_64
----------------------------------------------------------------------
Package Name  | Version | Installation directory
--------------+---------+-----------------------
     control *|   2.4.1 | /sw/share/octave/3.6.3/packages/control-2.4.1
     general  |   1.3.2 | /Users/juliannorato/octave/general-1.3.2
      struct  |  1.0.10 | /Users/juliannorato/octave/struct-1.0.10

####

I can install successfully the general and struct packages as seen above. 
However, when I try to install miscellaneous, I get the following errors:

####

octave:1> pkg install -forge miscellaneous
In file included from cell2cell.cc:16:
In file included from /sw/include/octave-3.6.3/octave/../octave/oct.h:36:
In file included from /sw/include/octave-3.6.3/octave/defun-dld.h:30:
In file included from /sw/include/octave-3.6.3/octave/defun-int.h:28:
In file included from /sw/include/octave-3.6.3/octave/ov-builtin.h:28:
In file included from /sw/include/octave-3.6.3/octave/ov-fcn.h:35:
In file included from /sw/include/octave-3.6.3/octave/symtab.h:34:
/sw/include/octave-3.6.3/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.3/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.3/octave/../octave/oct.h:36:
In file included from /sw/include/octave-3.6.3/octave/defun-dld.h:30:
In file included from /sw/include/octave-3.6.3/octave/defun-int.h:28:
In file included from /sw/include/octave-3.6.3/octave/ov-builtin.h:28:
In file included from /sw/include/octave-3.6.3/octave/ov-fcn.h:35:
In file included from /sw/include/octave-3.6.3/octave/symtab.h:34:
/sw/include/octave-3.6.3/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.3/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.3/m/pkg/pkg.m near line 1385, column 9
error: called from:
error:   /sw/share/octave/3.6.3/m/pkg/pkg.m at line 827, column 5
error:   /sw/share/octave/3.6.3/m/pkg/pkg.m at line 383, column 9

####

Does this have to do with the -Wall flag for mkoctfile? Any ideas?

Thanks!

-Julian



--
View this message in context: 
http://octave.1599824.n4.nabble.com/Trouble-installing-miscellaneous-package-in-Mac-OS-X-tp4649881.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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