Package Install Problems

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

Package Install Problems

Thomas D. Dean-2
I have a problem with the linear-algebra, general, and miscellaneous
packages.

Octave 4.3.0+ as of September 2, 2017.

I have installed these packages on another system. (see below)

The general package fails

octave:3> pkg install -forge general
unpackfields.cc: In function ‘octave_value_list Funpackfields(const
octave_value_list&, int)’:
unpackfields.cc:78:37: error: ‘symbol_table’ has not been declared
            octave_value struct_val = symbol_table::varval (struct_name);


I think I must have some setup missing, etc.

Any ideas?

Tom Dean

=================================================================================
On a different Ubuntu 16.04 system:

P9X79> /usr/local/bin/octave
GNU Octave, version 4.3.0+
Copyright (C) 2016 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type 'warranty'.

Octave was configured for "x86_64-pc-linux-gnu".

Additional information about Octave is available at http://www.octave.org.

Please contribute if you find this software useful.
For more information, visit http://www.octave.org/get-involved.html

Read http://www.octave.org/bugs.html to learn how to submit bug reports.
For information about changes from previous versions, type 'news'.

octave:1> pkg list
Package Name        | Version | Installation directory
--------------------+---------+-----------------------
        complex_pkg  |   1.0.0 | /home/tomdean/octave/complex_pkg-1.0.0
            control  |   3.0.0 | /home/tomdean/octave/control-3.0.0
     data-smoothing  |   1.3.0 | /home/tomdean/octave/data-smoothing-1.3.0
            general  |   2.0.0 | /home/tomdean/octave/general-2.0.0
           geometry  |   3.0.0 | /home/tomdean/octave/geometry-3.0.0
              image  |   2.6.1 | /home/tomdean/octave/image-2.6.1
  image-acquisition  |   0.2.2 |
/home/tomdean/octave/image-acquisition-0.2.2
instrument-control  |   0.3.0 |
/home/tomdean/octave/instrument-control-0.3.0
                 io  |   2.4.7 | /home/tomdean/octave/io-2.4.7
     linear-algebra  |   2.2.2 | /home/tomdean/octave/linear-algebra-2.2.2
            mapping  |   1.2.1 | /home/tomdean/octave/mapping-1.2.1
      miscellaneous  |   1.2.1 | /home/tomdean/octave/miscellaneous-1.2.1
                ocs  |   0.1.5 | /home/tomdean/octave/ocs-0.1.5
             odebvp  |   1.0.6 | /home/tomdean/octave/odebvp-1.0.6
             odepkg  |   0.9.1 | /home/tomdean/octave/odepkg-0.9.1
              optim  |   1.5.2 | /home/tomdean/octave/optim-1.5.2
         quaternion  |   2.4.0 | /home/tomdean/octave/quaternion-2.4.0
             signal  |   1.3.2 | /home/tomdean/octave/signal-1.3.2
            sockets  |   1.2.0 | /home/tomdean/octave/sockets-1.2.0
            specfun  |   1.1.0 | /home/tomdean/octave/specfun-1.1.0
         statistics  |   1.3.0 | /home/tomdean/octave/statistics-1.3.0
             struct  |  1.0.14 | /home/tomdean/octave/struct-1.0.14
           symbolic  |   2.6.0 | /home/tomdean/octave/symbolic-2.6.0
            tomdean  |   1.0.0 | /home/tomdean/octave/tomdean-1.0.0

_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|

Re: Package Install Problems

siko1056
Thomas D. Dean-2 wrote

> I have a problem with the linear-algebra, general, and miscellaneous
> packages.
>
> Octave 4.3.0+ as of September 2, 2017.
>
> I have installed these packages on another system. (see below)
>
> The general package fails
>
> octave:3> pkg install -forge general
> unpackfields.cc: In function ‘octave_value_list Funpackfields(const
> octave_value_list&, int)’:
> unpackfields.cc:78:37: error: ‘symbol_table’ has not been declared
>             octave_value struct_val = symbol_table::varval (struct_name);
>
>
> I think I must have some setup missing, etc.
>
> Any ideas?
>
> Tom Dean
>
> =================================================================================
> On a different Ubuntu 16.04 system:
>
> P9X79> /usr/local/bin/octave
> GNU Octave, version 4.3.0+
> [...]

There have been API breaking changes related to the symbolic table in the
passed weeks [1] and the general package makes heavy use of Octave-internals
[2].  Before the next official release this package might need some
attention.  Until that I am afraid, that there is: "Dependencies: Octave >=
4.0.0 && <= 4.2.1".

If you want to fix these issues, you can modify [2] by prefixing "octave::"
before each symbol_table [3] as it was moved to that namespace.

HTH, Kai


[1]: https://hg.savannah.gnu.org/hgweb/octave/log?rev=symbol_table
[2]:
https://sourceforge.net/p/octave/general/ci/default/tree/src/packfields.cc
[3]:
https://octave.space/doxygen/dev/d6/d84/classoctave_1_1symbol__table.html#a1680fb7df9551f0ad85827e0a8a3b79b



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

_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave