odepkg install error on development version

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

odepkg install error on development version

Richard Crozier-4
Hello,

I have built and installed the development sources (i can't do hg id  
right now, but it is a tip cloned freshly on Friday). When attempting  
to install odepkg from forge, i.e. running

pkg install odepkg -forge

I get errors, beginning with:

>> pkg install odepkg -forge
warning: creating installation directory /home/richard/octave
warning: called from
     install at line 30 column 5
     pkg at line 384 column 9
In file included from odepkg_octsolver_mebdfdae.cc:47:0:
odepkg_auxiliary_functions.h:23:22: error: ?Octave_map? has not been declared
    (std::string vnam, Octave_map vmap);
                       ^
odepkg_octsolver_mebdfdae.cc: In function ?octave_value_list  
Fodebda(const octave_value_list&, int)?:
odepkg_octsolver_mebdfdae.cc:277:3: error: ?Octave_map? was not  
declared in this scope
    Octave_map vodeopt;


The full output is below. Is this something I should expect with the  
dev sources?


-------------------------
>> pkg install odepkg -forge
warning: creating installation directory /home/richard/octave
warning: called from
     install at line 30 column 5
     pkg at line 384 column 9
In file included from odepkg_octsolver_mebdfdae.cc:47:0:
odepkg_auxiliary_functions.h:23:22: error: ?Octave_map? has not been declared
    (std::string vnam, Octave_map vmap);
                       ^
odepkg_octsolver_mebdfdae.cc: In function ?octave_value_list  
Fodebda(const octave_value_list&, int)?:
odepkg_octsolver_mebdfdae.cc:277:3: error: ?Octave_map? was not  
declared in this scope
    Octave_map vodeopt;                      // The OdePkg options structure
    ^
odepkg_octsolver_mebdfdae.cc:277:14: error: expected ?;? before ?vodeopt?
    Octave_map vodeopt;                      // The OdePkg options structure
               ^
odepkg_octsolver_mebdfdae.cc:319:7: error: ?vodeopt? was not declared  
in this scope
        vodeopt = tmp(0).map_value ();       // Create a default structure
        ^
odepkg_octsolver_mebdfdae.cc:330:7: error: ?vodeopt? was not declared  
in this scope
        vodeopt = tmp(0).map_value ();       // Create structure from args(4)
        ^
odepkg_octsolver_mebdfdae.cc:341:7: error: ?vodeopt? was not declared  
in this scope
        vodeopt = tmp(0).map_value (); // Create a default structure
        ^
odepkg_octsolver_mebdfdae.cc:348:5: error: ?vodeopt? was not declared  
in this scope
      vodeopt = tmp(0).map_value (); // Create a default structure
      ^
odepkg_octsolver_mebdfdae.cc:358:66: error: ?vodeopt? was not declared  
in this scope
    octave_value vreltol = odepkg_auxiliary_getmapvalue ("RelTol", vodeopt);
                                                                   ^
odepkg_octsolver_mebdfdae.cc:755:16: error: expected ?;? before ?vretmap?
      Octave_map vretmap;
                 ^
odepkg_octsolver_mebdfdae.cc:756:5: error: ?vretmap? was not declared  
in this scope
      vretmap.assign ("x", vtres);
      ^
In file included from odepkg_octsolver_mebdfi.cc:43:0:
odepkg_auxiliary_functions.h:23:22: error: ?Octave_map? has not been declared
    (std::string vnam, Octave_map vmap);
                       ^
odepkg_octsolver_mebdfi.cc: In function ?octave_value_list  
Fodebdi(const octave_value_list&, int)?:
odepkg_octsolver_mebdfi.cc:353:3: error: ?Octave_map? was not declared  
in this scope
    Octave_map vodeopt;                      // The OdePkg options structure
    ^
odepkg_octsolver_mebdfi.cc:353:14: error: expected ?;? before ?vodeopt?
    Octave_map vodeopt;                      // The OdePkg options structure
               ^
odepkg_octsolver_mebdfi.cc:411:7: error: ?vodeopt? was not declared in  
this scope
        vodeopt = tmp(0).map_value ();        // Create a default structure
        ^
odepkg_octsolver_mebdfi.cc:422:7: error: ?vodeopt? was not declared in  
this scope
        vodeopt = tmp(0).map_value ();        // Create structure of args(4)
        ^
odepkg_octsolver_mebdfi.cc:433:7: error: ?vodeopt? was not declared in  
this scope
        vodeopt = tmp(0).map_value (); // Create a default structure
        ^
odepkg_octsolver_mebdfi.cc:440:5: error: ?vodeopt? was not declared in  
this scope
      vodeopt = tmp(0).map_value (); // Create a default structure
      ^
odepkg_octsolver_mebdfi.cc:450:66: error: ?vodeopt? was not declared  
in this scope
    octave_value vreltol = odepkg_auxiliary_getmapvalue ("RelTol", vodeopt);
                                                                   ^
odepkg_octsolver_mebdfi.cc:860:16: error: expected ?;? before ?vretmap?
      Octave_map vretmap;
                 ^
odepkg_octsolver_mebdfi.cc:861:5: error: ?vretmap? was not declared in  
this scope
      vretmap.assign ("x", vtres);
      ^
In file included from odepkg_octsolver_ddaskr.cc:43:0:
odepkg_auxiliary_functions.h:23:22: error: ?Octave_map? has not been declared
    (std::string vnam, Octave_map vmap);
                       ^
odepkg_octsolver_ddaskr.cc: In function ?octave_value_list  
Fodekdi(const octave_value_list&, int)?:
odepkg_octsolver_ddaskr.cc:231:3: error: ?Octave_map? was not declared  
in this scope
    Octave_map vodeopt;                      // The OdePkg options structure
    ^
odepkg_octsolver_ddaskr.cc:231:14: error: expected ?;? before ?vodeopt?
    Octave_map vodeopt;                      // The OdePkg options structure
               ^
odepkg_octsolver_ddaskr.cc:289:7: error: ?vodeopt? was not declared in  
this scope
        vodeopt = tmp(0).map_value ();        // Create a default structure
        ^
odepkg_octsolver_ddaskr.cc:300:7: error: ?vodeopt? was not declared in  
this scope
        vodeopt = tmp(0).map_value ();        // Create structure of args(4)
        ^
odepkg_octsolver_ddaskr.cc:311:7: error: ?vodeopt? was not declared in  
this scope
        vodeopt = tmp(0).map_value (); // Create a default structure
        ^
odepkg_octsolver_ddaskr.cc:318:5: error: ?vodeopt? was not declared in  
this scope
      vodeopt = tmp(0).map_value (); // Create a default structure
      ^
odepkg_octsolver_ddaskr.cc:328:66: error: ?vodeopt? was not declared  
in this scope
    octave_value vreltol = odepkg_auxiliary_getmapvalue ("RelTol", vodeopt);
                                                                   ^
odepkg_octsolver_ddaskr.cc:689:16: error: expected ?;? before ?vretmap?
      Octave_map vretmap;
                 ^
odepkg_octsolver_ddaskr.cc:690:5: error: ?vretmap? was not declared in  
this scope
      vretmap.assign ("x", vtres);
      ^
In file included from odepkg_octsolver_radau.cc:38:0:
odepkg_auxiliary_functions.h:23:22: error: ?Octave_map? has not been declared
    (std::string vnam, Octave_map vmap);
                       ^
odepkg_octsolver_radau.cc: In function ?octave_value_list Fode2r(const  
octave_value_list&, int)?:
odepkg_octsolver_radau.cc:280:3: error: ?Octave_map? was not declared  
in this scope
    Octave_map vodeopt;                      // The OdePkg options structure
    ^
odepkg_octsolver_radau.cc:280:14: error: expected ?;? before ?vodeopt?
    Octave_map vodeopt;                      // The OdePkg options structure
               ^
odepkg_octsolver_radau.cc:322:7: error: ?vodeopt? was not declared in  
this scope
        vodeopt = tmp(0).map_value ();       // Create a default structure
        ^
odepkg_octsolver_radau.cc:333:7: error: ?vodeopt? was not declared in  
this scope
        vodeopt = tmp(0).map_value ();       // Create structure from args(4)
        ^
odepkg_octsolver_radau.cc:344:7: error: ?vodeopt? was not declared in  
this scope
        vodeopt = tmp(0).map_value (); // Create a default structure
        ^
odepkg_octsolver_radau.cc:351:5: error: ?vodeopt? was not declared in  
this scope
      vodeopt = tmp(0).map_value (); // Create a default structure
      ^
odepkg_octsolver_radau.cc:361:66: error: ?vodeopt? was not declared in  
this scope
    octave_value vreltol = odepkg_auxiliary_getmapvalue ("RelTol", vodeopt);
                                                                   ^
odepkg_octsolver_radau.cc:663:16: error: expected ?;? before ?vretmap?
      Octave_map vretmap;
                 ^
odepkg_octsolver_radau.cc:664:5: error: ?vretmap? was not declared in  
this scope
      vretmap.assign ("x", vtres);
      ^
In file included from odepkg_octsolver_radau5.cc:38:0:
odepkg_auxiliary_functions.h:23:22: error: ?Octave_map? has not been declared
    (std::string vnam, Octave_map vmap);
                       ^
odepkg_octsolver_radau5.cc: In function ?octave_value_list  
Fode5r(const octave_value_list&, int)?:
odepkg_octsolver_radau5.cc:280:3: error: ?Octave_map? was not declared  
in this scope
    Octave_map vodeopt;                      // The OdePkg options structure
    ^
odepkg_octsolver_radau5.cc:280:14: error: expected ?;? before ?vodeopt?
    Octave_map vodeopt;                      // The OdePkg options structure
               ^
odepkg_octsolver_radau5.cc:322:7: error: ?vodeopt? was not declared in  
this scope
        vodeopt = tmp(0).map_value ();       // Create a default structure
        ^
odepkg_octsolver_radau5.cc:333:7: error: ?vodeopt? was not declared in  
this scope
        vodeopt = tmp(0).map_value ();       // Create structure from args(4)
        ^
odepkg_octsolver_radau5.cc:344:7: error: ?vodeopt? was not declared in  
this scope
        vodeopt = tmp(0).map_value (); // Create a default structure
        ^
odepkg_octsolver_radau5.cc:351:5: error: ?vodeopt? was not declared in  
this scope
      vodeopt = tmp(0).map_value (); // Create a default structure
      ^
odepkg_octsolver_radau5.cc:361:66: error: ?vodeopt? was not declared  
in this scope
    octave_value vreltol = odepkg_auxiliary_getmapvalue ("RelTol", vodeopt);
                                                                   ^
odepkg_octsolver_radau5.cc:675:16: error: expected ?;? before ?vretmap?
      Octave_map vretmap;
                 ^
odepkg_octsolver_radau5.cc:676:5: error: ?vretmap? was not declared in  
this scope
      vretmap.assign ("x", vtres);
      ^
In file included from odepkg_octsolver_rodas.cc:34:0:
odepkg_auxiliary_functions.h:23:22: error: ?Octave_map? has not been declared
    (std::string vnam, Octave_map vmap);
                       ^
odepkg_octsolver_rodas.cc: In function ?octave_value_list Foders(const  
octave_value_list&, int)?:
odepkg_octsolver_rodas.cc:494:3: error: ?Octave_map? was not declared  
in this scope
    Octave_map vodeopt;                      // The OdePkg options structure
    ^
odepkg_octsolver_rodas.cc:494:14: error: expected ?;? before ?vodeopt?
    Octave_map vodeopt;                      // The OdePkg options structure
               ^
odepkg_octsolver_rodas.cc:536:7: error: ?vodeopt? was not declared in  
this scope
        vodeopt = tmp(0).map_value ();       // Create a default structure
        ^
odepkg_octsolver_rodas.cc:547:7: error: ?vodeopt? was not declared in  
this scope
        vodeopt = tmp(0).map_value ();       // Create structure from args(4)
        ^
odepkg_octsolver_rodas.cc:558:7: error: ?vodeopt? was not declared in  
this scope
        vodeopt = tmp(0).map_value (); // Create a default structure
        ^
odepkg_octsolver_rodas.cc:565:5: error: ?vodeopt? was not declared in  
this scope
      vodeopt = tmp(0).map_value (); // Create a default structure
      ^
odepkg_octsolver_rodas.cc:575:66: error: ?vodeopt? was not declared in  
this scope
    octave_value vreltol = odepkg_auxiliary_getmapvalue ("RelTol", vodeopt);
                                                                   ^
odepkg_octsolver_rodas.cc:875:16: error: expected ?;? before ?vretmap?
      Octave_map vretmap;
                 ^
odepkg_octsolver_rodas.cc:876:5: error: ?vretmap? was not declared in  
this scope
      vretmap.assign ("x", vtres);
      ^
In file included from odepkg_octsolver_seulex.cc:38:0:
odepkg_auxiliary_functions.h:23:22: error: ?Octave_map? has not been declared
    (std::string vnam, Octave_map vmap);
                       ^
odepkg_octsolver_seulex.cc: In function ?octave_value_list  
Fodesx(const octave_value_list&, int)?:
odepkg_octsolver_seulex.cc:288:3: error: ?Octave_map? was not declared  
in this scope
    Octave_map vodeopt;                      // The OdePkg options structure
    ^
odepkg_octsolver_seulex.cc:288:14: error: expected ?;? before ?vodeopt?
    Octave_map vodeopt;                      // The OdePkg options structure
               ^
odepkg_octsolver_seulex.cc:330:7: error: ?vodeopt? was not declared in  
this scope
        vodeopt = tmp(0).map_value ();       // Create a default structure
        ^
odepkg_octsolver_seulex.cc:341:7: error: ?vodeopt? was not declared in  
this scope
        vodeopt = tmp(0).map_value ();       // Create structure from args(4)
        ^
odepkg_octsolver_seulex.cc:352:7: error: ?vodeopt? was not declared in  
this scope
        vodeopt = tmp(0).map_value (); // Create a default structure
        ^
odepkg_octsolver_seulex.cc:359:5: error: ?vodeopt? was not declared in  
this scope
      vodeopt = tmp(0).map_value (); // Create a default structure
      ^
odepkg_octsolver_seulex.cc:369:66: error: ?vodeopt? was not declared  
in this scope
    octave_value vreltol = odepkg_auxiliary_getmapvalue ("RelTol", vodeopt);
                                                                   ^
odepkg_octsolver_seulex.cc:674:16: error: expected ?;? before ?vretmap?
      Octave_map vretmap;
                 ^
odepkg_octsolver_seulex.cc:675:5: error: ?vretmap? was not declared in  
this scope
      vretmap.assign ("x", vtres);
      ^
In file included from odepkg_auxiliary_functions.cc:23:0:
odepkg_auxiliary_functions.h:23:22: error: ?Octave_map? has not been declared
    (std::string vnam, Octave_map vmap);
                       ^
odepkg_auxiliary_functions.cc:38:62: error: ?Octave_map? has not been declared
  octave_value odepkg_auxiliary_getmapvalue (std::string vnam,  
Octave_map vmap) {
                                                               ^
odepkg_auxiliary_functions.cc: In function ?octave_value  
odepkg_auxiliary_getmapvalue(std::string, int)?:
odepkg_auxiliary_functions.cc:39:3: error: ?Octave_map? has not been declared
    Octave_map::const_iterator viter;
    ^
odepkg_auxiliary_functions.cc:39:30: error: expected ?;? before ?viter?
    Octave_map::const_iterator viter;
                               ^
odepkg_auxiliary_functions.cc:40:3: error: ?viter? was not declared in  
this scope
    viter = vmap.seek (vnam);
    ^
odepkg_auxiliary_functions.cc:40:16: error: request for member ?seek?  
in ?vmap?, which is of non-class type ?int?
    viter = vmap.seek (vnam);
                 ^
odepkg_auxiliary_functions.cc:41:16: error: request for member  
?contents? in ?vmap?, which is of non-class type ?int?
    return (vmap.contents(viter)(0));
                 ^
odepkg_auxiliary_functions.cc: In function ?octave_value  
odepkg_auxiliary_makestats(octave_value_list, octave_idx_type)?:
odepkg_auxiliary_functions.cc:374:3: error: ?Octave_map? was not  
declared in this scope
    Octave_map vretval;
    ^
odepkg_auxiliary_functions.cc:374:14: error: expected ?;? before ?vretval?
    Octave_map vretval;
               ^
odepkg_auxiliary_functions.cc:380:5: error: ?vretval? was not declared  
in this scope
      vretval.assign ("nsteps",   vstats(0));
      ^
odepkg_auxiliary_functions.cc:397:25: error: ?vretval? was not  
declared in this scope
    return (octave_value (vretval));
                          ^
cash/mebdfi.f:2932.46:

             CALL I_INTERP(N,JSTART,H,T,Y,TOUT,Y0)
                                               1
Warning: Rank mismatch in argument 'y0' at (1) (rank-1 and scalar)
daskr/ddaskr.f:1931.20:

      *   RWORK(LRX),JROOT,IRT,RWORK(LROUND),INFO(3),
                     1
Warning: Rank mismatch in argument 'jroot' at (1) (rank-1 and scalar)
daskr/ddaskr.f:1954.20:

      *   RWORK(LRX),JROOT,IRT,RWORK(LROUND),INFO(3),
                     1
Warning: Rank mismatch in argument 'jroot' at (1) (rank-1 and scalar)
daskr/ddaskr.f:2182.20:

      *   RWORK(LRX),JROOT,IRT,RWORK(LROUND),INFO(3),
                     1
Warning: Rank mismatch in argument 'jroot' at (1) (rank-1 and scalar)
g++: error: odepkg_octsolver_mebdfdae.o: No such file or directory
g++: error: odepkg_octsolver_mebdfi.o: No such file or directory
g++: error: odepkg_octsolver_ddaskr.o: No such file or directory
g++: error: odepkg_octsolver_radau.o: No such file or directory
g++: error: odepkg_octsolver_radau5.o: No such file or directory
g++: error: odepkg_octsolver_rodas.o: No such file or directory
g++: error: odepkg_octsolver_seulex.o: No such file or directory
g++: error: odepkg_auxiliary_functions.o: No such file or directory
warning: autoload: 'dldsolver.oct' is not an absolute file name
warning: autoload: 'dldsolver.oct' is not an absolute file name
warning: autoload: 'dldsolver.oct' is not an absolute file name
warning: autoload: 'dldsolver.oct' is not an absolute file name
warning: autoload: 'dldsolver.oct' is not an absolute file name
warning: autoload: 'dldsolver.oct' is not an absolute file name
warning: autoload: 'dldsolver.oct' is not an absolute file name
For information about changes from previous versions of the odepkg  
package, run 'news odepkg'.
>>
--------------------------------






--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.



Reply | Threaded
Open this post in threaded view
|

Re: odepkg install error on development version

Carnë Draug
On 28 April 2014 09:37, Richard Crozier <[hidden email]> wrote:

> Hello,
>
> I have built and installed the development sources (i can't do hg id right
> now, but it is a tip cloned freshly on Friday). When attempting to install
> odepkg from forge, i.e. running
>
> pkg install odepkg -forge
>
> I get errors, beginning with:
>
>>> pkg install odepkg -forge
>
> warning: creating installation directory /home/richard/octave
> warning: called from
>     install at line 30 column 5
>     pkg at line 384 column 9
> In file included from odepkg_octsolver_mebdfdae.cc:47:0:
> odepkg_auxiliary_functions.h:23:22: error: ?Octave_map? has not been
> declared
>    (std::string vnam, Octave_map vmap);
>                       ^
> odepkg_octsolver_mebdfdae.cc: In function ?octave_value_list Fodebda(const
> octave_value_list&, int)?:
> odepkg_octsolver_mebdfdae.cc:277:3: error: ?Octave_map? was not declared in
> this scope
>    Octave_map vodeopt;
>
>
> The full output is below. Is this something I should expect with the dev
> sources?

Yes. The Octave_map class has been deprecated in 3.8 and will be
removed in 4.2. If you install odepkg on 3.8 you should at least be
getting warnings about this.

Replacement classes are <octave_map> (struct array) or
<octave_scalar_map> for a single structure in case someone wants to
fix this after reading this.

Carnë

Reply | Threaded
Open this post in threaded view
|

Re: odepkg install error on development version

Juan Pablo Carbajal-2
On Mon, Apr 28, 2014 at 1:19 PM, Carnë Draug <[hidden email]> wrote:

> On 28 April 2014 09:37, Richard Crozier <[hidden email]> wrote:
>> Hello,
>>
>> I have built and installed the development sources (i can't do hg id right
>> now, but it is a tip cloned freshly on Friday). When attempting to install
>> odepkg from forge, i.e. running
>>
>> pkg install odepkg -forge
>>
>> I get errors, beginning with:
>>
>>>> pkg install odepkg -forge
>>
>> warning: creating installation directory /home/richard/octave
>> warning: called from
>>     install at line 30 column 5
>>     pkg at line 384 column 9
>> In file included from odepkg_octsolver_mebdfdae.cc:47:0:
>> odepkg_auxiliary_functions.h:23:22: error: ?Octave_map? has not been
>> declared
>>    (std::string vnam, Octave_map vmap);
>>                       ^
>> odepkg_octsolver_mebdfdae.cc: In function ?octave_value_list Fodebda(const
>> octave_value_list&, int)?:
>> odepkg_octsolver_mebdfdae.cc:277:3: error: ?Octave_map? was not declared in
>> this scope
>>    Octave_map vodeopt;
>>
>>
>> The full output is below. Is this something I should expect with the dev
>> sources?
>
> Yes. The Octave_map class has been deprecated in 3.8 and will be
> removed in 4.2. If you install odepkg on 3.8 you should at least be
> getting warnings about this.
>
> Replacement classes are <octave_map> (struct array) or
> <octave_scalar_map> for a single structure in case someone wants to
> fix this after reading this.
>
> Carnë
>
This should be fixed in the developer version!
We did it with Mike not more than a month ago.

Reply | Threaded
Open this post in threaded view
|

Re: odepkg install error on development version

Richard Crozier
On 28/04/2014 12:41, Juan Pablo Carbajal wrote:
> On Mon, Apr 28, 2014 at 1:19 PM, Carnë Draug <[hidden email]> wrote:
>> On 28 April 2014 09:37, Richard Crozier <[hidden email]> wrote:

>>>
>>> The full output is below. Is this something I should expect with the dev
>>> sources?
>> Yes. The Octave_map class has been deprecated in 3.8 and will be
>> removed in 4.2. If you install odepkg on 3.8 you should at least be
>> getting warnings about this.
>>
>> Replacement classes are <octave_map> (struct array) or
>> <octave_scalar_map> for a single structure in case someone wants to
>> fix this after reading this.
>>
>> Carnë
>>
> This should be fixed in the developer version!
> We did it with Mike not more than a month ago.
>
>

Thanks,

I would really like to test odepkg with some other code which uses
classdef, is it as simple as tarring up the mercurial repo here:

http://sourceforge.net/p/octave/odepkg/ci/default/tree/

and providing it to pkg, or are there other steps required to create a
release of odepkg?

Richard




--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.