octave-maintainers
[Top][All Lists]
Advanced

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

Re: octave forge packages on a mac


From: Lazy_Tom
Subject: Re: octave forge packages on a mac
Date: Sat, 22 Oct 2016 08:31:56 -0700 (PDT)

Sebastian Schöps wrote
> Dear Marco, 
> 
> I made a new dmg (recent octave 4.2.0rc2, qt5) that should have better
> compatibility with recent xcode versions. Do you want to try?
> 
> https://dl.dropboxusercontent.com/u/2079838/octave_gui_420rc2_appleblas.dmg
> 
> Sebastian

Dear Sebastian,

Thanks a lot! I've tried your new build and I have to say Octave is more
stable now (no weird terminal popup anymore) but I sill have some problems
with packages. In detail, I installed control package with

pkg install control -forge

and, with some warning which I assume should not be a problem, it worked
(see details below).

However, trying

pkg install odepkg -forge gave errors (see below). Let me know if you need
more details. 

Cheers,

Marco

pkg install control -forge
In file included from __control_helper_functions__.cc:7:
./lti_input_idx.cc:65:48: warning: 'nelem' is deprecated
[-Wdeprecated-declarations]
    octave_idx_type len = args(0).cell_value().nelem();
                                               ^
/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.2.0-rc2_1/include/octave-4.2.0-rc2/octave/Array.h:360:19:
note:
      'nelem' has been explicitly marked deprecated here
  octave_idx_type nelem (void) const { return numel (); }
                  ^
1 warning generated.
clang: warning: argument unused during compilation: '-pthread'
In file included from __control_slicot_functions__.cc:24:
./sl_tg04bx.cc:79:33: warning: 'length' is deprecated
[-Wdeprecated-declarations]
        octave_idx_type ip = pr.length ();  // ip: number of finite poles
                                ^
/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.2.0-rc2_1/include/octave-4.2.0-rc2/octave/Array.h:354:19:
note:
      'length' has been explicitly marked deprecated here
  octave_idx_type length (void) const { return numel (); }
                  ^
In file included from __control_slicot_functions__.cc:24:
./sl_tg04bx.cc:80:33: warning: 'length' is deprecated
[-Wdeprecated-declarations]
        octave_idx_type iz = zr.length ();  // iz: number of zeros
                                ^
/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.2.0-rc2_1/include/octave-4.2.0-rc2/octave/Array.h:354:19:
note:
      'length' has been explicitly marked deprecated here
  octave_idx_type length (void) const { return numel (); }
                  ^
In file included from __control_slicot_functions__.cc:42:
./sl_ident.cc:184:40: warning: 'nelem' is deprecated
[-Wdeprecated-declarations]
        octave_idx_type n_exp = y_cell.nelem ();            // number of
experiments
                                       ^
/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.2.0-rc2_1/include/octave-4.2.0-rc2/octave/Array.h:360:19:
note:
      'nelem' has been explicitly marked deprecated here
  octave_idx_type nelem (void) const { return numel (); }
                  ^
In file included from __control_slicot_functions__.cc:43:
./sl_ib01cd.cc:97:40: warning: 'nelem' is deprecated
[-Wdeprecated-declarations]
        octave_idx_type n_exp = y_cell.nelem ();            // number of
experiments
                                       ^
/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.2.0-rc2_1/include/octave-4.2.0-rc2/octave/Array.h:360:19:
note:
      'nelem' has been explicitly marked deprecated here
  octave_idx_type nelem (void) const { return numel (); }
                  ^
In file included from __control_slicot_functions__.cc:44:
./sl_ib01ad.cc:148:40: warning: 'nelem' is deprecated
[-Wdeprecated-declarations]
        octave_idx_type n_exp = y_cell.nelem ();            // number of
experiments
                                       ^
/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.2.0-rc2_1/include/octave-4.2.0-rc2/octave/Array.h:360:19:
note:
      'nelem' has been explicitly marked deprecated here
  octave_idx_type nelem (void) const { return numel (); }
                  ^
5 warnings generated.
clang: warning: argument unused during compilation: '-pthread'
ld: warning: could not create compact unwind for _sb10yd_: stack subq
instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _mb03xp_: stack subq
instruction is too different from dwarf stack size
/var/folders/gd/5pzpr3s979vbtdwyb0sy2rd00000gn/T/octave-help-xQ1cXz:146:
Unknown command `guillemetleft'.
/var/folders/gd/5pzpr3s979vbtdwyb0sy2rd00000gn/T/octave-help-xQ1cXz:146:
Misplaced {.
/var/folders/gd/5pzpr3s979vbtdwyb0sy2rd00000gn/T/octave-help-xQ1cXz:146:
Misplaced }.
/var/folders/gd/5pzpr3s979vbtdwyb0sy2rd00000gn/T/octave-help-xQ1cXz:146:
Unknown command `guillemetright'.
/var/folders/gd/5pzpr3s979vbtdwyb0sy2rd00000gn/T/octave-help-xQ1cXz:146:
Misplaced {.
/var/folders/gd/5pzpr3s979vbtdwyb0sy2rd00000gn/T/octave-help-xQ1cXz:146:
Misplaced }.
warning: doc_cache_create: unusable help text found in file 'margin'
/var/folders/gd/5pzpr3s979vbtdwyb0sy2rd00000gn/T/octave-help-HFjJgC:252:
Unknown command `guillemetleft'.
/var/folders/gd/5pzpr3s979vbtdwyb0sy2rd00000gn/T/octave-help-HFjJgC:252:
Misplaced {.
/var/folders/gd/5pzpr3s979vbtdwyb0sy2rd00000gn/T/octave-help-HFjJgC:252:
Misplaced }.
/var/folders/gd/5pzpr3s979vbtdwyb0sy2rd00000gn/T/octave-help-HFjJgC:252:
Unknown command `guillemetright'.
/var/folders/gd/5pzpr3s979vbtdwyb0sy2rd00000gn/T/octave-help-HFjJgC:252:
Misplaced {.
/var/folders/gd/5pzpr3s979vbtdwyb0sy2rd00000gn/T/octave-help-HFjJgC:252:
Misplaced }.
warning: doc_cache_create: unusable help text found in file 'optiPID'
For information about changes from previous versions of the control package,
run 'news control'.


pkg install odepkg -forge
In file included from odepkg_octsolver_mebdfdae.cc:42:
/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.2.0-rc2_1/include/octave-4.2.0-rc2/octave/config.h:28:2:
warning:
      "config.h has been deprecated; there is no need to include it
directly" [-W#warnings]
#warning "config.h has been deprecated; there is no need to include it
directly"
 ^
odepkg_octsolver_mebdfdae.cc:85:18: error: unknown type name
'GCC_ATTR_UNUSED'
   double* YDOT, GCC_ATTR_UNUSED const octave_idx_type* IPAR,
                 ^
odepkg_octsolver_mebdfdae.cc:85:34: error: expected ')'
   double* YDOT, GCC_ATTR_UNUSED const octave_idx_type* IPAR,
                                 ^
odepkg_octsolver_mebdfdae.cc:84:3: note: to match this '('
  (const octave_idx_type& N, const double& T, const double* Y,
  ^
odepkg_octsolver_mebdfdae.cc:113:4: error: unknown type name
'GCC_ATTR_UNUSED'
   GCC_ATTR_UNUSED const octave_idx_type& MEBAND, GCC_ATTR_UNUSED const
octave_idx_type* IPAR,
   ^
odepkg_octsolver_mebdfdae.cc:113:20: error: expected ')'
   GCC_ATTR_UNUSED const octave_idx_type& MEBAND, GCC_ATTR_UNUSED const
octave_idx_type* IPAR,
                   ^
odepkg_octsolver_mebdfdae.cc:112:3: note: to match this '('
  (const double& T, const double* Y, double* PD, const octave_idx_type& N,
  ^
odepkg_octsolver_mebdfdae.cc:145:4: error: unknown type name
'GCC_ATTR_UNUSED'
   GCC_ATTR_UNUSED const octave_idx_type* MASBND, GCC_ATTR_UNUSED const
double* RPAR,
   ^
odepkg_octsolver_mebdfdae.cc:145:20: error: expected ')'
   GCC_ATTR_UNUSED const octave_idx_type* MASBND, GCC_ATTR_UNUSED const
double* RPAR,
                   ^
odepkg_octsolver_mebdfdae.cc:144:3: note: to match this '('
  (const octave_idx_type& N, double* AM,
  ^
odepkg_octsolver_mebdfdae.cc:563:29: warning: 'length' is deprecated
[-Wdeprecated-declarations]
  double TEND = vTIME(vTIME.length ()-1);
                            ^
/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.2.0-rc2_1/include/octave-4.2.0-rc2/octave/Array.h:354:19:
note:
      'length' has been explicitly marked deprecated here
  octave_idx_type length (void) const { return numel (); }
                  ^
odepkg_octsolver_mebdfdae.cc:618:13: warning: 'length' is deprecated
[-Wdeprecated-declarations]
  if (vTIME.length () == 2) {
            ^
/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.2.0-rc2_1/include/octave-4.2.0-rc2/octave/Array.h:354:19:
note:
      'length' has been explicitly marked deprecated here
  octave_idx_type length (void) const { return numel (); }
                  ^
odepkg_octsolver_mebdfdae.cc:655:41: warning: 'length' is deprecated
[-Wdeprecated-declarations]
            vtim = vttmp.extract (vttmp.length () - 1, vttmp.length () - 1);
                                        ^
/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.2.0-rc2_1/include/octave-4.2.0-rc2/octave/Array.h:354:19:
note:
      'length' has been explicitly marked deprecated here
  octave_idx_type length (void) const { return numel (); }
                  ^
odepkg_octsolver_mebdfdae.cc:655:62: warning: 'length' is deprecated
[-Wdeprecated-declarations]
            vtim = vttmp.extract (vttmp.length () - 1, vttmp.length () - 1);
                                                             ^
/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.2.0-rc2_1/include/octave-4.2.0-rc2/octave/Array.h:354:19:
note:
      'length' has been explicitly marked deprecated here
  octave_idx_type length (void) const { return numel (); }
                  ^
odepkg_octsolver_mebdfdae.cc:671:38: warning: 'length' is deprecated
[-Wdeprecated-declarations]
    octave_idx_type vtimelen = vTIME.length ();
                                     ^
/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.2.0-rc2_1/include/octave-4.2.0-rc2/octave/Array.h:354:19:
note:
      'length' has been explicitly marked deprecated here
  octave_idx_type length (void) const { return numel (); }
                  ^
odepkg_octsolver_mebdfdae.cc:702:41: warning: 'length' is deprecated
[-Wdeprecated-declarations]
            vtim = vttmp.extract (vttmp.length () - 1, vttmp.length () - 1);
                                        ^
/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.2.0-rc2_1/include/octave-4.2.0-rc2/octave/Array.h:354:19:
note:
      'length' has been explicitly marked deprecated here
  octave_idx_type length (void) const { return numel (); }
                  ^
odepkg_octsolver_mebdfdae.cc:702:62: warning: 'length' is deprecated
[-Wdeprecated-declarations]
            vtim = vttmp.extract (vttmp.length () - 1, vttmp.length () - 1);
                                                             ^
/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.2.0-rc2_1/include/octave-4.2.0-rc2/octave/Array.h:354:19:
note:
      'length' has been explicitly marked deprecated here
  octave_idx_type length (void) const { return numel (); }
                  ^
8 warnings and 6 errors generated.
make: *** [odepkg_octsolver_mebdfdae.o] Error 1
Unpacking external packages: hairer.tgz
Unpacking external packages: cash.tgz
Unpacking external packages: daskr.tgz
Applying patches from file: hairer.diff
Applying patches from file: cash.diff
(Stripping trailing CRs from patch.)
patching file cash/mebdfdae.f
(Stripping trailing CRs from patch.)
patching file cash/mebdfi.f
Applying patches from file: daskr.diff
(Stripping trailing CRs from patch.)
patching file daskr/ddaskr.f
(Stripping trailing CRs from patch.)
patching file daskr/dlinpk.f
/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.2.0-rc2_1/bin/mkoctfile-4.2.0-rc2
-c odepkg_octsolver_mebdfdae.cc -o odepkg_octsolver_mebdfdae.o

pkg: error running `make' for the odepkg package.
error: called from
    install at line 200 column 5
    pkg at line 392 column 9




--
View this message in context: 
http://octave.1599824.n4.nabble.com/octave-forge-packages-on-a-mac-tp4679771p4680303.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.



reply via email to

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