Diego
2018-12-03 14:12:05 UTC
Hi all,
I've tried installing the signal package in Octave 4.4.1 running Windows 10
and I had several problems.
The first time I tried with *pkg install -forge signal* and I received this
answer:
*error: pkg: could not download file signal-1.4.0.tar.gz from url
https://packages.octave.org/down
load/signal-1.4.0.tar.gz
error: called from
pkg at line 410 column 13*
So, I downloaded the file and saved it in the folder where Octave is
running. Then I tried again to install with this command *pkg install
signal-1.4.0.tar.gz*. and I obtained this answer:
*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-cvB47o/signal-1.4.0/src'
C:/Octave/OCTAVE~1.1/bin/mkoctfile-4.4.1.exe -Wall
-Wno-deprecated-declarations __fwht__.cc -o _
_fwht__.oct
C:/Octave/OCTAVE~1.1/bin/mkoctfile-4.4.1.exe -Wall
-Wno-deprecated-declarations __ultrwin__.cc -
o __ultrwin__.oct
C:/Octave/OCTAVE~1.1/bin/mkoctfile-4.4.1.exe -Wall
-Wno-deprecated-declarations -c cl2bp.cc -o c
l2bp.o
C:/Octave/OCTAVE~1.1/bin/mkoctfile-4.4.1.exe -Wall
-Wno-deprecated-declarations -c cl2bp_lib.cc
-o cl2bp_lib.o
C:/Octave/OCTAVE~1.1/bin/mkoctfile-4.4.1.exe -Wall
-Wno-deprecated-declarations cl2bp.o cl2bp_li
b.o -o cl2bp.oct
C:/Octave/OCTAVE~1.1/bin/mkoctfile-4.4.1.exe -Wall
-Wno-deprecated-declarations medfilt1.cc -o m
edfilt1.oct
make: Leaving directory `/tmp/oct-cvB47o/signal-1.4.0/src'
pkg: error running `make' for the signal package.
error: called from
configure_make at line 99 column 9
install at line 184 column 7
pkg at line 437 column 9*
I don't understand what the problem is so if anybody knows how to help me it
would be amazing. Thank you so much.
Diego.
--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html
I've tried installing the signal package in Octave 4.4.1 running Windows 10
and I had several problems.
The first time I tried with *pkg install -forge signal* and I received this
answer:
*error: pkg: could not download file signal-1.4.0.tar.gz from url
https://packages.octave.org/down
load/signal-1.4.0.tar.gz
error: called from
pkg at line 410 column 13*
So, I downloaded the file and saved it in the folder where Octave is
running. Then I tried again to install with this command *pkg install
signal-1.4.0.tar.gz*. and I obtained this answer:
*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-cvB47o/signal-1.4.0/src'
C:/Octave/OCTAVE~1.1/bin/mkoctfile-4.4.1.exe -Wall
-Wno-deprecated-declarations __fwht__.cc -o _
_fwht__.oct
C:/Octave/OCTAVE~1.1/bin/mkoctfile-4.4.1.exe -Wall
-Wno-deprecated-declarations __ultrwin__.cc -
o __ultrwin__.oct
C:/Octave/OCTAVE~1.1/bin/mkoctfile-4.4.1.exe -Wall
-Wno-deprecated-declarations -c cl2bp.cc -o c
l2bp.o
C:/Octave/OCTAVE~1.1/bin/mkoctfile-4.4.1.exe -Wall
-Wno-deprecated-declarations -c cl2bp_lib.cc
-o cl2bp_lib.o
C:/Octave/OCTAVE~1.1/bin/mkoctfile-4.4.1.exe -Wall
-Wno-deprecated-declarations cl2bp.o cl2bp_li
b.o -o cl2bp.oct
C:/Octave/OCTAVE~1.1/bin/mkoctfile-4.4.1.exe -Wall
-Wno-deprecated-declarations medfilt1.cc -o m
edfilt1.oct
make: Leaving directory `/tmp/oct-cvB47o/signal-1.4.0/src'
pkg: error running `make' for the signal package.
error: called from
configure_make at line 99 column 9
install at line 184 column 7
pkg at line 437 column 9*
I don't understand what the problem is so if anybody knows how to help me it
would be amazing. Thank you so much.
Diego.
--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html