help-octave
[Top][All Lists]
Advanced

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

Re: PKG octave 3.4 install problems


From: Juan Pablo Carbajal
Subject: Re: PKG octave 3.4 install problems
Date: Wed, 23 Mar 2011 10:44:00 +0100

2011/3/22 Jordi Gutiérrez Hermoso <address@hidden>:
> On 22 March 2011 09:21, Juan Pablo Carbajal <address@hidden> wrote:
>> 1. The command backend was replaced by graphics_toolkit. There is a
>> comment in the "news" but this is not explicitly said.
>
> It is not explicitly said in NEWS? Or what do you mean, what sort of
> explicitness were you expecting?
>
>> Installing those packages I get
>> [lots of warnings snipped out]
>
> Right, so it looks like several Octave-Forge packages need some
> updates to correspond with recent Octave changes. Most of those
> warnings can probably be ignored. Specifically,
>
>> erfcx is listed as a new function in the "news", maybe it should be
>> reomved form hte package?
>
> Yes, it probably should be. Can you do it?
>
>> warning: /home/juanpi/octave/optiminterp-0.3.2/optiminterpn.m:
>> possible Matlab-style short-circuit operator at line 47, column 15
>
> Octave recently implemented the Matlab bug to optionally short circuit
> & and | when they are not used as a condition (or the other way
> around, I can never remember which way the bug goes). If Octave-Forge
> packages are relying on this behvaiour, they need to be modified.
>
>> dbleGSVD.cc:194: warning: ‘Array<T>::Array(octave_idx_type, const T&)
>> [with T = double]’ is deprecated
>
> This ctor has been deprecated. The package should be modified
> accordingly.
>
>> 5. pkg install -forge communications
>> Fails to compile, tons of errors. It ends with
>> error: called from `pkg>configure_make' in file
>> /usr/local/share/octave/3.4.0/m/pkg/pkg.m near line 1332, column 9
>
> You cut off before the actual error message. Can you give us a few
> lines above it?
>
> HTH,
> - Jordi G. H.
>

Jordi,

Thank you very much for your answer.

1. I would expect: "backend has been erased from Octave, therefore ALL
code using the command backend will not work anymore."
2. erfcx.m, I am not a developer, but I could try contact the owner of
the package and either ask for instructions on how to erase it, or
kindly ask him to remove the function.
5. Sorry, there is a lot of violence printed in the screen. Maybe this
gives you more clues...
[lots of warnings]
cyclpoly.cc: In function ‘Array<int> filter_gf2(const Array<int>&,
const Array<int>&, const Array<int>&, const int&)’:
cyclpoly.cc:45: warning: ‘Array<T>::Array(octave_idx_type, const T&)
[with T = int]’ is deprecated (declared at
/usr/local/include/octave-3.4.0/octave/../octave/Array.h:179)
cyclpoly.cc:46: warning: ‘Array<T>::Array(octave_idx_type, const T&)
[with T = int]’ is deprecated (declared at
/usr/local/include/octave-3.4.0/octave/../octave/Array.h:179)
cyclpoly.cc: In function ‘bool do_is_cyclic_polynomial(const long long
unsigned int&, const int&, const int&)’:
cyclpoly.cc:76: warning: ‘Array<T>::Array(octave_idx_type, const T&)
[with T = int]’ is deprecated (declared at
/usr/local/include/octave-3.4.0/octave/../octave/Array.h:179)
cyclpoly.cc:77: warning: ‘Array<T>::Array(octave_idx_type, const T&)
[with T = int]’ is deprecated (declared at
/usr/local/include/octave-3.4.0/octave/../octave/Array.h:179)
cyclpoly.cc:78: warning: ‘Array<T>::Array(octave_idx_type, const T&)
[with T = int]’ is deprecated (declared at
/usr/local/include/octave-3.4.0/octave/../octave/Array.h:179)
cyclpoly.cc:86: warning: ‘void Array<T>::resize(octave_idx_type,
octave_idx_type, const T&) [with T = int]’ is deprecated (declared at
/usr/local/include/octave-3.4.0/octave/../octave/Array.h:456)
cyclpoly.cc:87: warning: ‘Array<T>::Array(octave_idx_type, const T&)
[with T = int]’ is deprecated (declared at
/usr/local/include/octave-3.4.0/octave/../octave/Array.h:179)
cyclgen.cc: In function ‘Array<int> filter_gf2(const Array<int>&,
const Array<int>&, const Array<int>&, const int&)’:
cyclgen.cc:37: warning: ‘Array<T>::Array(octave_idx_type, const T&)
[with T = int]’ is deprecated (declared at
/usr/local/include/octave-3.4.0/octave/../octave/Array.h:179)
cyclgen.cc:38: warning: ‘Array<T>::Array(octave_idx_type, const T&)
[with T = int]’ is deprecated (declared at
/usr/local/include/octave-3.4.0/octave/../octave/Array.h:179)
cyclgen.cc: In function ‘bool do_is_cyclic_polynomial(const
Array<int>&, const int&, const int&)’:
cyclgen.cc:68: warning: ‘Array<T>::Array(octave_idx_type, const T&)
[with T = int]’ is deprecated (declared at
/usr/local/include/octave-3.4.0/octave/../octave/Array.h:179)
cyclgen.cc:69: warning: ‘Array<T>::Array(octave_idx_type, const T&)
[with T = int]’ is deprecated (declared at
/usr/local/include/octave-3.4.0/octave/../octave/Array.h:179)
cyclgen.cc:75: warning: ‘void Array<T>::resize(octave_idx_type,
octave_idx_type, const T&) [with T = int]’ is deprecated (declared at
/usr/local/include/octave-3.4.0/octave/../octave/Array.h:456)
cyclgen.cc:76: warning: ‘Array<T>::Array(octave_idx_type, const T&)
[with T = int]’ is deprecated (declared at
/usr/local/include/octave-3.4.0/octave/../octave/Array.h:179)
cyclgen.cc: In function ‘octave_value_list Fcyclgen(const
octave_value_list&, int)’:
cyclgen.cc:144: warning: ‘void Array<T>::resize(octave_idx_type,
octave_idx_type, const T&) [with T = int]’ is deprecated (declared at
/usr/local/include/octave-3.4.0/octave/../octave/Array.h:456)
syndtable.cc:34: error: expected constructor, destructor, or type
conversion before ‘<’ token
make: *** [syndtable.oct] Error 1
'make' returned the following error: make: Entering directory
`/tmp/oct-sz0pzd/communications-1.0.10/src'

Thank you very much


-- 
M. Sc. Juan Pablo Carbajal
-----
PhD Student
University of Zürich
www.ailab.ch/carbajal


reply via email to

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