control-3.1.0 released

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

control-3.1.0 released

Doug Stewart-4
A new version of the control-3.1.0 package has been uploaded to octave-forge web site.

Please test it, and report any problems. I would like it to be well tested before we package it with the next release of octave for windows.
 The major fix is that the impulse response now works.

Doug Stewart



-----------------------------------------
Join us March 12-15 at CERN near Geneva
Switzerland for OctConf 2018.  More info:
https://wiki.octave.org/OctConf_2018
-----------------------------------------
Reply | Threaded
Open this post in threaded view
|

Re: control-3.1.0 released

sshah
I am using homebrew octave version 4.2.1_11, on mac os 10.13.3.

I have control 3.0.0 installed.  

So to upgrade to 3.1.0 I used

pkg uninstall control

pkg install -forge control

It fails with
------------------------------
...

8 warnings generated.
clang: warning: argument unused during compilation: '-pthread'
[-Wunused-command-line-argument]
ld: warning: directory not found for option
'-L/usr/local/Cellar/gcc/7.3.0/lib/gcc/7/gcc/x86_64-apple-darwin17.3.0/7.3.0'
ld: warning: directory not found for option
'-L/usr/local/Cellar/gcc/7.3.0/lib/gcc/7/gcc/x86_64-apple-darwin17.3.0/7.3.0/../../..'
ld: library not found for -lgfortran
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make: *** [__control_slicot_functions__.oct] Error 1
...

pkg: error running `make' for the control package.
error: called from
    configure_make at line 95 column 9
    install at line 192 column 7
    pkg at line 394 column 9
-----------------------------
This turns out to be an issue reported on homebrew-science

 ld: library not found -lgfortran, during pkg install -forge control in
octave 4.2.0_2 (#4972)

Workaround (thanks to schoeps)

brew uninstall octave
brew install --build-from-source octave

This fails with

--------------------------
...
==> ./configure --prefix=/usr/local/Cellar/octave/4.2.1_11
--disable-silent-rules --enable-link-all-dependencies --enable-shared
--disable-static --d
==> make all
Last 15 lines from /Users/sunil/Library/Logs/Homebrew/octave/02.make:
all

preserving existing HG-ID file
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh
/private/tmp/octave-20180312-56717-h1391w/octave-4.2.1/build-aux/missing
aclocal-1.15 -I m4
/private/tmp/octave-20180312-56717-h1391w/octave-4.2.1/build-aux/missing:
line 81: aclocal-1.15: command not found
WARNING: 'aclocal-1.15' is missing on your system.
         You should only need it if you modified 'acinclude.m4' or
         'configure.ac' or m4 files included by 'configure.ac'.
         The 'aclocal' program is part of the GNU Automake package:
         <http://www.gnu.org/software/automake>
         It also requires GNU Autoconf, GNU m4 and Perl in order to run:
         <http://www.gnu.org/software/autoconf>
         <http://www.gnu.org/software/m4/>
         <http://www.perl.org/>
make: *** [aclocal.m4] Error 127

READ THIS: https://docs.brew.sh/Troubleshooting
-----------------------------

I have filed a new issue on homebew-core #29167, though, it is not clear to
me if this is a problem with homebrew-core.

I did check that in the homebrew bottled version octave 4.2.1_11,  (a
slightly modified) fortrandemo.f  from octave documentation does run.  



--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html


-----------------------------------------
Join us March 12-15 at CERN near Geneva
Switzerland for OctConf 2018.  More info:
https://wiki.octave.org/OctConf_2018
-----------------------------------------
Reply | Threaded
Open this post in threaded view
|

Re: control-3.1.0 released

Dildar Sk
In reply to this post by Doug Stewart-4
On following command I get some error and it's not get installed.
>>pkg install -forge control-3.0.0.tar.gz

error: get_forge_pkg: package not found: "control-3.0.0.tar.gz".  Maybe you
meant "fuzzy-logic-toolkit?"
error: called from
    get_forge_pkg at line 84 column 5
    get_forge_download at line 26 column 12
    pkg at line 382 column 29

but doing,
>>pkg install control-3.0.0.tar.gz
I got it installed and a hell lot errors come.

....
,
                 from __control_slicot_functions__.cc:1:
/usr/local/include/octave-4.3.0+/octave/f77-fcn.h:49:18: note: declared here
 static const int f77_exception_encountered = 0;
                  ^
In file included from __control_slicot_functions__.cc:43:0:
sl_ib01cd.cc: In function ‘octave_value_list F__sl_ib01cd__(const
octave_value_list&, int)’:
sl_ib01cd.cc:97:47: warning: ‘octave_idx_type Array<T>::nelem() const [with
T = octave_value; octave_idx_type = long int]’ is deprecated: [4.4]: use
'numel' instead [-Wdeprecated-declarations]
         octave_idx_type n_exp = y_cell.nelem ();            // number of
experiments
                                               ^
In file included from
/usr/local/include/octave-4.3.0+/octave/../octave/Array-util.h:28:0,
                 from
/usr/local/include/octave-4.3.0+/octave/../octave/MSparse.h:29,
                 from
/usr/local/include/octave-4.3.0+/octave/../octave/MatrixType.h:29,
                 from
/usr/local/include/octave-4.3.0+/octave/../octave/mx-base.h:30,
                 from
/usr/local/include/octave-4.3.0+/octave/../octave/Matrix.h:31,
                 from
/usr/local/include/octave-4.3.0+/octave/../octave/oct.h:30,
                 from sl_ab08nd.cc:30,
                 from __control_slicot_functions__.cc:1:
/usr/local/include/octave-4.3.0+/octave/../octave/Array.h:363:19: note:
declared here
   octave_idx_type nelem (void) const { return numel (); }
                   ^
In file included from __control_slicot_functions__.cc:43:0:
sl_ib01cd.cc:163:17: warning: ‘f77_exception_encountered’ is deprecated:
[4.4]: this variable is obsolete and should not be needed
[-Wdeprecated-declarations]
             if (f77_exception_encountered)
                 ^
In file included from sl_ab08nd.cc:31:0,
                 from __control_slicot_functions__.cc:1:
/usr/local/include/octave-4.3.0+/octave/f77-fcn.h:49:18: note: declared here
 static const int f77_exception_encountered = 0;
                  ^
In file included from __control_slicot_functions__.cc:43:0:
sl_ib01cd.cc:163:17: warning: ‘f77_exception_encountered’ is deprecated:
[4.4]: this variable is obsolete and should not be needed
[-Wdeprecated-declarations]
             if (f77_exception_encountered)
                 ^
In file included from sl_ab08nd.cc:31:0,
                 from __control_slicot_functions__.cc:1:
/usr/local/include/octave-4.3.0+/octave/f77-fcn.h:49:18: note: declared here
 static const int f77_exception_encountered = 0;
                  ^
In file included from __control_slicot_functions__.cc:43:0:
sl_ib01cd.cc:163:42: warning: ‘f77_exception_encountered’ is deprecated:
[4.4]: this variable is obsolete and should not be needed
[-Wdeprecated-declarations]
             if (f77_exception_encountered)
                                          ^
In file included from sl_ab08nd.cc:31:0,
                 from __control_slicot_functions__.cc:1:
/usr/local/include/octave-4.3.0+/octave/f77-fcn.h:49:18: note: declared here
 static const int f77_exception_encountered = 0;
                  ^
In file included from __control_slicot_functions__.cc:43:0:
sl_ib01cd.cc:163:42: warning: ‘f77_exception_encountered’ is deprecated:
[4.4]: this variable is obsolete and should not be needed
[-Wdeprecated-declarations]
             if (f77_exception_encountered)
                                          ^
In file included from sl_ab08nd.cc:31:0,
                 from __control_slicot_functions__.cc:1:
/usr/local/include/octave-4.3.0+/octave/f77-fcn.h:49:18: note: declared here
 static const int f77_exception_encountered = 0;
                  ^
In file included from __control_slicot_functions__.cc:44:0:
sl_ib01ad.cc: In function ‘octave_value_list F__sl_ib01ad__(const
octave_value_list&, int)’:
sl_ib01ad.cc:148:47: warning: ‘octave_idx_type Array<T>::nelem() const [with
T = octave_value; octave_idx_type = long int]’ is deprecated: [4.4]: use
'numel' instead [-Wdeprecated-declarations]
         octave_idx_type n_exp = y_cell.nelem ();            // number of
experiments
                                               ^
In file included from
/usr/local/include/octave-4.3.0+/octave/../octave/Array-util.h:28:0,
                 from
/usr/local/include/octave-4.3.0+/octave/../octave/MSparse.h:29,
                 from
/usr/local/include/octave-4.3.0+/octave/../octave/MatrixType.h:29,
                 from
/usr/local/include/octave-4.3.0+/octave/../octave/mx-base.h:30,
                 from
/usr/local/include/octave-4.3.0+/octave/../octave/Matrix.h:31,
                 from
/usr/local/include/octave-4.3.0+/octave/../octave/oct.h:30,
                 from sl_ab08nd.cc:30,
                 from __control_slicot_functions__.cc:1:
/usr/local/include/octave-4.3.0+/octave/../octave/Array.h:363:19: note:
declared here
   octave_idx_type nelem (void) const { return numel (); }
                   ^
In file included from __control_slicot_functions__.cc:44:0:
sl_ib01ad.cc:334:17: warning: ‘f77_exception_encountered’ is deprecated:
[4.4]: this variable is obsolete and should not be needed
[-Wdeprecated-declarations]
             if (f77_exception_encountered)
                 ^
In file included from sl_ab08nd.cc:31:0,
                 from __control_slicot_functions__.cc:1:
/usr/local/include/octave-4.3.0+/octave/f77-fcn.h:49:18: note: declared here
 static const int f77_exception_encountered = 0;
                  ^
In file included from __control_slicot_functions__.cc:44:0:
sl_ib01ad.cc:334:17: warning: ‘f77_exception_encountered’ is deprecated:
[4.4]: this variable is obsolete and should not be needed
[-Wdeprecated-declarations]
             if (f77_exception_encountered)
                 ^
In file included from sl_ab08nd.cc:31:0,
                 from __control_slicot_functions__.cc:1:
/usr/local/include/octave-4.3.0+/octave/f77-fcn.h:49:18: note: declared here
 static const int f77_exception_encountered = 0;
                  ^
In file included from __control_slicot_functions__.cc:44:0:
sl_ib01ad.cc:334:42: warning: ‘f77_exception_encountered’ is deprecated:
[4.4]: this variable is obsolete and should not be needed
[-Wdeprecated-declarations]
             if (f77_exception_encountered)
                                          ^
In file included from sl_ab08nd.cc:31:0,
                 from __control_slicot_functions__.cc:1:
/usr/local/include/octave-4.3.0+/octave/f77-fcn.h:49:18: note: declared here
 static const int f77_exception_encountered = 0;
                  ^
In file included from __control_slicot_functions__.cc:44:0:
sl_ib01ad.cc:334:42: warning: ‘f77_exception_encountered’ is deprecated:
[4.4]: this variable is obsolete and should not be needed
[-Wdeprecated-declarations]
             if (f77_exception_encountered)
                                          ^
In file included from sl_ab08nd.cc:31:0,
                 from __control_slicot_functions__.cc:1:
/usr/local/include/octave-4.3.0+/octave/f77-fcn.h:49:18: note: declared here
 static const int f77_exception_encountered = 0;
                  ^
In file included from __control_slicot_functions__.cc:46:0:
sl_tg01fd.cc: In function ‘octave_value_list F__sl_tg01fd__(const
octave_value_list&, int)’:
sl_tg01fd.cc:134:13: warning: ‘f77_exception_encountered’ is deprecated:
[4.4]: this variable is obsolete and should not be needed
[-Wdeprecated-declarations]
         if (f77_exception_encountered)
             ^
In file included from sl_ab08nd.cc:31:0,
                 from __control_slicot_functions__.cc:1:
/usr/local/include/octave-4.3.0+/octave/f77-fcn.h:49:18: note: declared here
 static const int f77_exception_encountered = 0;
                  ^
In file included from __control_slicot_functions__.cc:46:0:
sl_tg01fd.cc:134:13: warning: ‘f77_exception_encountered’ is deprecated:
[4.4]: this variable is obsolete and should not be needed
[-Wdeprecated-declarations]
         if (f77_exception_encountered)
             ^
In file included from sl_ab08nd.cc:31:0,
                 from __control_slicot_functions__.cc:1:
/usr/local/include/octave-4.3.0+/octave/f77-fcn.h:49:18: note: declared here
 static const int f77_exception_encountered = 0;
                  ^
In file included from __control_slicot_functions__.cc:46:0:
sl_tg01fd.cc:134:38: warning: ‘f77_exception_encountered’ is deprecated:
[4.4]: this variable is obsolete and should not be needed
[-Wdeprecated-declarations]
         if (f77_exception_encountered)
                                      ^
In file included from sl_ab08nd.cc:31:0,
                 from __control_slicot_functions__.cc:1:
/usr/local/include/octave-4.3.0+/octave/f77-fcn.h:49:18: note: declared here
 static const int f77_exception_encountered = 0;
                  ^
In file included from __control_slicot_functions__.cc:46:0:
sl_tg01fd.cc:134:38: warning: ‘f77_exception_encountered’ is deprecated:
[4.4]: this variable is obsolete and should not be needed
[-Wdeprecated-declarations]
         if (f77_exception_encountered)
                                      ^
In file included from sl_ab08nd.cc:31:0,
                 from __control_slicot_functions__.cc:1:
/usr/local/include/octave-4.3.0+/octave/f77-fcn.h:49:18: note: declared here
 static const int f77_exception_encountered = 0;
                  ^
In file included from __control_slicot_functions__.cc:47:0:
sl_sb10ad.cc: In function ‘octave_value_list F__sl_sb10ad__(const
octave_value_list&, int)’:
sl_sb10ad.cc:193:13: warning: ‘f77_exception_encountered’ is deprecated:
[4.4]: this variable is obsolete and should not be needed
[-Wdeprecated-declarations]
         if (f77_exception_encountered)
             ^
In file included from sl_ab08nd.cc:31:0,
                 from __control_slicot_functions__.cc:1:
/usr/local/include/octave-4.3.0+/octave/f77-fcn.h:49:18: note: declared here
 static const int f77_exception_encountered = 0;
                  ^
In file included from __control_slicot_functions__.cc:47:0:
sl_sb10ad.cc:193:13: warning: ‘f77_exception_encountered’ is deprecated:
[4.4]: this variable is obsolete and should not be needed
[-Wdeprecated-declarations]
         if (f77_exception_encountered)
             ^
In file included from sl_ab08nd.cc:31:0,
                 from __control_slicot_functions__.cc:1:
/usr/local/include/octave-4.3.0+/octave/f77-fcn.h:49:18: note: declared here
 static const int f77_exception_encountered = 0;
                  ^
In file included from __control_slicot_functions__.cc:47:0:
sl_sb10ad.cc:193:38: warning: ‘f77_exception_encountered’ is deprecated:
[4.4]: this variable is obsolete and should not be needed
[-Wdeprecated-declarations]
         if (f77_exception_encountered)
                                      ^
In file included from sl_ab08nd.cc:31:0,
                 from __control_slicot_functions__.cc:1:
/usr/local/include/octave-4.3.0+/octave/f77-fcn.h:49:18: note: declared here
 static const int f77_exception_encountered = 0;
                  ^
In file included from __control_slicot_functions__.cc:47:0:
sl_sb10ad.cc:193:38: warning: ‘f77_exception_encountered’ is deprecated:
[4.4]: this variable is obsolete and should not be needed
[-Wdeprecated-declarations]
         if (f77_exception_encountered)
                                      ^
In file included from sl_ab08nd.cc:31:0,
                 from __control_slicot_functions__.cc:1:
/usr/local/include/octave-4.3.0+/octave/f77-fcn.h:49:18: note: declared here
 static const int f77_exception_encountered = 0;
                  ^
In file included from __control_slicot_functions__.cc:48:0:
sl_mb05nd.cc: In function ‘octave_value_list F__sl_mb05nd__(const
octave_value_list&, int)’:
sl_mb05nd.cc:97:13: warning: ‘f77_exception_encountered’ is deprecated:
[4.4]: this variable is obsolete and should not be needed
[-Wdeprecated-declarations]
         if (f77_exception_encountered)
             ^
In file included from sl_ab08nd.cc:31:0,
                 from __control_slicot_functions__.cc:1:
/usr/local/include/octave-4.3.0+/octave/f77-fcn.h:49:18: note: declared here
 static const int f77_exception_encountered = 0;
                  ^
In file included from __control_slicot_functions__.cc:48:0:
sl_mb05nd.cc:97:13: warning: ‘f77_exception_encountered’ is deprecated:
[4.4]: this variable is obsolete and should not be needed
[-Wdeprecated-declarations]
         if (f77_exception_encountered)
             ^
In file included from sl_ab08nd.cc:31:0,
                 from __control_slicot_functions__.cc:1:
/usr/local/include/octave-4.3.0+/octave/f77-fcn.h:49:18: note: declared here
 static const int f77_exception_encountered = 0;
                  ^
In file included from __control_slicot_functions__.cc:48:0:
sl_mb05nd.cc:97:38: warning: ‘f77_exception_encountered’ is deprecated:
[4.4]: this variable is obsolete and should not be needed
[-Wdeprecated-declarations]
         if (f77_exception_encountered)
                                      ^
In file included from sl_ab08nd.cc:31:0,
                 from __control_slicot_functions__.cc:1:
/usr/local/include/octave-4.3.0+/octave/f77-fcn.h:49:18: note: declared here
 static const int f77_exception_encountered = 0;
                  ^
In file included from __control_slicot_functions__.cc:48:0:
sl_mb05nd.cc:97:38: warning: ‘f77_exception_encountered’ is deprecated:
[4.4]: this variable is obsolete and should not be needed
[-Wdeprecated-declarations]
         if (f77_exception_encountered)
                                      ^
In file included from sl_ab08nd.cc:31:0,
                 from __control_slicot_functions__.cc:1:
/usr/local/include/octave-4.3.0+/octave/f77-fcn.h:49:18: note: declared here
 static const int f77_exception_encountered = 0;
                  ^




--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html


-----------------------------------------
Join us March 12-15 at CERN near Geneva
Switzerland for OctConf 2018.  More info:
https://wiki.octave.org/OctConf_2018
-----------------------------------------
Reply | Threaded
Open this post in threaded view
|

Re: control-3.1.0 released

Mike Miller-4
On Mon, Mar 12, 2018 at 18:46:44 -0700, Dildar Sk wrote:
> On following command I get some error and it's not get installed.
> >>pkg install -forge control-3.0.0.tar.gz

The "-forge" and "filename-with.tar.gz" are not compatible. You should
use either

    pkg install /path/to/control-x.y.z.tar.gz

if you already downloaded the package release, or

    pkg install -forge control

if you want Octave to download it.

> but doing,
> >>pkg install control-3.0.0.tar.gz
> I got it installed and a hell lot errors come.

These are all warnings, and they only occur because you are installing
the package in the development version of Octave. The package should be
installed successfully by the end.

Also you are installing 3.0.0, not the latest release 3.1.0.

--
mike


-----------------------------------------
Join us March 12-15 at CERN near Geneva
Switzerland for OctConf 2018.  More info:
https://wiki.octave.org/OctConf_2018
-----------------------------------------

signature.asc (849 bytes) Download Attachment