Signal 1.4.0 install failed

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

Signal 1.4.0 install failed

bobpic
Hello.

I'm trying to install the latest signal package, which is 1.4.0.
I still getting those errors (which might come from an older issue):

My OS is Win10-64bits.
GNU Octave 4.2.2

------------------------------------------------------------------------------
>> pkg install signal-1.4.0.tar.gz

medfilt1.cc: In member function 'void sorted_window::init(const double*,
octave_idx_type, octave_idx_type, octave_idx_type)':
medfilt1.cc:91:7: error: 'bzero' was not declared in this scope
       bzero (buf, zeros * sizeof (double));
       ^~~~~
medfilt1.cc:91:7: note: suggested alternative: 'zeros'
       bzero (buf, zeros * sizeof (double));
       ^~~~~
       zeros
make: *** [medfilt1.oct] Error 1
make: Entering directory `/tmp/oct-gQyAbK/signal-1.4.0/src'
C:/Octave/OCTAVE~1.2/bin/mkoctfile-4.2.2.exe -Wall
-Wno-deprecated-declarations  __fwht__.cc -o __fwht__.oct
C:/Octave/OCTAVE~1.2/bin/mkoctfile-4.2.2.exe -Wall
-Wno-deprecated-declarations  __ultrwin__.cc -o __ultrwin__.oct
C:/Octave/OCTAVE~1.2/bin/mkoctfile-4.2.2.exe -Wall
-Wno-deprecated-declarations  -c cl2bp.cc -o cl2bp.o
C:/Octave/OCTAVE~1.2/bin/mkoctfile-4.2.2.exe -Wall
-Wno-deprecated-declarations  -c cl2bp_lib.cc -o cl2bp_lib.o
C:/Octave/OCTAVE~1.2/bin/mkoctfile-4.2.2.exe -Wall
-Wno-deprecated-declarations  cl2bp.o cl2bp_lib.o -o cl2bp.oct
C:/Octave/OCTAVE~1.2/bin/mkoctfile-4.2.2.exe -Wall
-Wno-deprecated-declarations  medfilt1.cc -o medfilt1.oct
make: Leaving directory `/tmp/oct-gQyAbK/signal-1.4.0/src'

pkg: error running `make' for the signal package.
error: called from
    configure_make at line 95 column 9
    install at line 192 column 7
    pkg at line 394 column 9
>>
------------------------------------------------------------------------------


Any Clue???

Otherwise to download an older version...

Thanks,





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


Reply | Threaded
Open this post in threaded view
|

Re: Signal 1.4.0 install failed

karl
Am 25.09.2018 um 00:16 schrieb bobpic:

> Hello.
>
> I'm trying to install the latest signal package, which is 1.4.0.
> I still getting those errors (which might come from an older issue):
>
> My OS is Win10-64bits.
> GNU Octave 4.2.2
>
> ------------------------------------------------------------------------------
>>> pkg install signal-1.4.0.tar.gz
> medfilt1.cc: In member function 'void sorted_window::init(const double*,
> octave_idx_type, octave_idx_type, octave_idx_type)':
> medfilt1.cc:91:7: error: 'bzero' was not declared in this scope
>         bzero (buf, zeros * sizeof (double));
>         ^~~~~
> medfilt1.cc:91:7: note: suggested alternative: 'zeros'
>         bzero (buf, zeros * sizeof (double));
>         ^~~~~
>         zeros
> make: *** [medfilt1.oct] Error 1
> make: Entering directory `/tmp/oct-gQyAbK/signal-1.4.0/src'
> C:/Octave/OCTAVE~1.2/bin/mkoctfile-4.2.2.exe -Wall
> -Wno-deprecated-declarations  __fwht__.cc -o __fwht__.oct
> C:/Octave/OCTAVE~1.2/bin/mkoctfile-4.2.2.exe -Wall
> -Wno-deprecated-declarations  __ultrwin__.cc -o __ultrwin__.oct
> C:/Octave/OCTAVE~1.2/bin/mkoctfile-4.2.2.exe -Wall
> -Wno-deprecated-declarations  -c cl2bp.cc -o cl2bp.o
> C:/Octave/OCTAVE~1.2/bin/mkoctfile-4.2.2.exe -Wall
> -Wno-deprecated-declarations  -c cl2bp_lib.cc -o cl2bp_lib.o
> C:/Octave/OCTAVE~1.2/bin/mkoctfile-4.2.2.exe -Wall
> -Wno-deprecated-declarations  cl2bp.o cl2bp_lib.o -o cl2bp.oct
> C:/Octave/OCTAVE~1.2/bin/mkoctfile-4.2.2.exe -Wall
> -Wno-deprecated-declarations  medfilt1.cc -o medfilt1.oct
> make: Leaving directory `/tmp/oct-gQyAbK/signal-1.4.0/src'
>
> pkg: error running `make' for the signal package.
> error: called from
>      configure_make at line 95 column 9
>      install at line 192 column 7
>      pkg at line 394 column 9
> ------------------------------------------------------------------------------
>
>
> Any Clue???
>
> Otherwise to download an older version...
>
> Thanks,
>
>
>
>
>
> --
> Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html
>
>
What about using forge?

https://octave.sourceforge.io/

Karl



Reply | Threaded
Open this post in threaded view
|

Re: Signal 1.4.0 install failed

tmacchant
In reply to this post by bobpic
----- Original Message -----

> From: bobpic 
> To: help-octave
> Cc:
> Date: 2018/9/25, Tue 07:16
> Subject: Signal 1.4.0 install failed
>
> Hello.
>
> I'm trying to install the latest signal package, which is 1.4.0.
> I still getting those errors (which might come from an older issue):
>
> My OS is Win10-64bits.
> GNU Octave 4.2.2
>
> ------------------------------------------------------------------------------
>>>  pkg install signal-1.4.0.tar.gz
>
> medfilt1.cc: In member function 'void sorted_window::init(const double*,
> octave_idx_type, octave_idx_type, octave_idx_type)':
> medfilt1.cc:91:7: error: 'bzero' was not declared in this scope
>        bzero (buf, zeros * sizeof (double));
>        ^~~~~
> medfilt1.cc:91:7: note: suggested alternative: 'zeros'
>        bzero (buf, zeros * sizeof (double));
>        ^~~~~
>        zeros
> make: *** [medfilt1.oct] Error 1
> make: Entering directory `/tmp/oct-gQyAbK/signal-1.4.0/src'
> C:/Octave/OCTAVE~1.2/bin/mkoctfile-4.2.2.exe -Wall
> -Wno-deprecated-declarations  __fwht__.cc -o __fwht__.oct
> C:/Octave/OCTAVE~1.2/bin/mkoctfile-4.2.2.exe -Wall
> -Wno-deprecated-declarations  __ultrwin__.cc -o __ultrwin__.oct
> C:/Octave/OCTAVE~1.2/bin/mkoctfile-4.2.2.exe -Wall
> -Wno-deprecated-declarations  -c cl2bp.cc -o cl2bp.o
> C:/Octave/OCTAVE~1.2/bin/mkoctfile-4.2.2.exe -Wall
> -Wno-deprecated-declarations  -c cl2bp_lib.cc -o cl2bp_lib.o
> C:/Octave/OCTAVE~1.2/bin/mkoctfile-4.2.2.exe -Wall
> -Wno-deprecated-declarations  cl2bp.o cl2bp_lib.o -o cl2bp.oct
> C:/Octave/OCTAVE~1.2/bin/mkoctfile-4.2.2.exe -Wall
> -Wno-deprecated-declarations  medfilt1.cc -o medfilt1.oct
> make: Leaving directory `/tmp/oct-gQyAbK/signal-1.4.0/src'
>
> pkg: error running `make' for the signal package.
> error: called from
>     configure_make at line 95 column 9
>     install at line 192 column 7
>     pkg at line 394 column 9
>>>
> ------------------------------------------------------------------------------
>
>
> Any Clue???
>
> Otherwise to download an older version...
>
> Thanks,

Octave-4.2.2 windows binary ships signal-1.3.2.
Perhaps you want to update signal package. Right?

The easiest way to update signal package is to install the most recent windows binary (4.4.1).
Windows binary for octave 4.4.1 ships signal-1.4.0.

You can confirm 
>> pkg list signal

If you want use signal package, 
>> pkg load signal
before use (signal and control packages are activated. 
The control package is also activated because the signal package depends on the control package.

HTH

Tatsuro



Reply | Threaded
Open this post in threaded view
|

Re: Signal 1.4.0 install failed

bobpic
Thanks Tatsuro.

It's working when I re-install the Windows version with octave 4.4.1. Now, I
can see the latest signal package version.

And yes, I need the signal-1.4.0 instead of the signal-1.3.2 which was the
previous version. I need some windows for fft like "hann()", which is only
available with 1.4.0.

Note: The other way to update the package with the command line "pkg install
-forge package_name" doesn't work for me, since it can reach the web link
(even if I can download manually the package).

Thanks for the help,

Regards!





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