bugGNU Octave - Bugs: bug #32161, Octave 3.3.55 package installation...

 
 

bug #32161: Octave 3.3.55 package installation issues

Submitter:  Lukas Reichlin <paramaniac>
Submitted:  Mon 17 Jan 2011 10:29:28 PM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Assigned to:  None
Originator Name:  Paramaniac Open/Closed:  * Closed
Release:  * dev Operating System:  * Mac OS
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Tue 22 Feb 2011 11:56:07 AM UTC, comment #7: 

The problem described in #32161 is solved now. IIRC it was caused by an "outdated" patch from MacPorts. Sorry for the confusion.

Lukas

Anonymous
Mon 21 Feb 2011 11:40:38 PM UTC, comment #6: 

This issue was reported against version 3.3.55 and reportedly fixed with changes in 3.3.90.  Can you verify that the latest release, 3.4.0, does not have this package installation bug so we can close this report?

Rik <rik5>
Group administrator
Thu 27 Jan 2011 08:04:00 AM UTC, comment #5: 

After applying the changes which Jarno suggested on the maintainers list for the octave 3.3.90 portfile, the problem seems to be a thing of the past.

Lukas Reichlin <paramaniac>
Thu 20 Jan 2011 11:22:44 PM UTC, comment #4: 

The issue on both my desktop and laptop is that packages are not properly "registered"; i.e., "pkg list" won't show them. Package installation works unless one package depends on another one. (without the "-nodeps" option)

After installation, all m- and oct-files seem to be in place. "-rebuild" doesn't help.

Lukas Reichlin <paramaniac>
Thu 20 Jan 2011 08:33:37 AM UTC, comment #3: 

I don't understand your last comment.  So there is a bug or not?

John W. Eaton <jwe>
Group administrator
Wed 19 Jan 2011 12:20:04 AM UTC, comment #2: 

I have tried the optim, miscellaneous, struct, odepkg and generate_html packages. There were a couple of warnings, but they look quite familiar to me, nothing special.


octave:1> pkg install -forge odepkg
warning: /Users/lukas/octave/odepkg-0.6.10/odebwe.m: possible Matlab-style short-circuit operator at line 344, column 17
warning: /Users/lukas/octave/odepkg-0.6.10/odepkg_examples_ode.m: possible Matlab-style short-circuit operator at line 44, column 23
warning: gen_doc_cache: unusable help text in 'dldsolver'. Ignoring function.
octave:2> pkg list
no packages installed.
octave:3> ode45
`ode45' is a function from the file /Users/lukas/octave/odepkg-0.6.10/ode45.m

 -- Function File: [] = ode45 (@FUN, SLOT, INIT, [OPT], [PAR1, PAR2,
          ...])
 -- Command: [SOL] = ode45 (@FUN, SLOT, INIT, [OPT], [PAR1, PAR2, ...])
 -- Command: [T, Y, [XE, YE, IE]] = ode45 (@FUN, SLOT, INIT, [OPT],
          [PAR1, PAR2, ...])
     This function file can be used to solve a set of non-stiff
     ordinary differential equations (non-stiff ODEs) or non-stiff
     differential algebraic equations (non-stiff DAEs) with the well
     known explicit Runge-Kutta method of order (4,5).

     If this function is called with no return argument then plot the
     solution over time in a figure window while solving the set of
     ODEs that are defined in a function and specified by the function
     handle @FUN. The second input argument SLOT is a double vector
     that defines the time slot, INIT is a double vector that defines
     the initial values of the states, OPT can optionally be a
     structure array that keeps the options created with the command
     `odeset' and PAR1, PAR2, ... can optionally be other input
     arguments of any type that have to be passed to the function
     defined by @FUN.

     If this function is called with one return argument then return
     the solution SOL of type structure array after solving the set of
     ODEs. The solution SOL has the fields X of type double column
     vector for the steps chosen by the solver, Y of type double column
     vector for the solutions at each time step of X, SOLVER of type
     string for the solver name and optionally the extended time stamp
     information XE, the extended solution information YE and the
     extended index information IE all of type double column vector
     that keep the informations of the event function if an event
     function handle is set in the option argument OPT.

     If this function is called with more than one return argument then
     return the time stamps T, the solution values Y and optionally the
     extended time stamp information XE, the extended solution
     information YE and the extended index information IE all of type
     double column vector.

     For example, solve an anonymous implementation of the Van der Pol
     equation

          fvdb = @(vt,vy) [vy(2); (1 - vy(1)^2) * vy(2) - vy(1)];

          vopt = odeset ("RelTol", 1e-3, "AbsTol", 1e-3, \
                   "NormControl", "on", "OutputFcn", @odeplot);
          ode45 (fvdb, [0 20], [2 0], vopt);

   See also: odepkg


Additional help for built-in functions and operators is
available in the on-line version of the manual.  Use the command
`doc <topic>' to search the manual index.

Help and information about Octave is also available on the WWW
at http://www.octave.org and via the help@octave.org
mailing list.
error: Number of input arguments must be greater than zero
error: called from:
error:   /Users/lukas/octave/odepkg-0.6.10/ode45.m at line 55, column 5
octave:3> help ode45
`ode45' is a function from the file /Users/lukas/octave/odepkg-0.6.10/ode45.m

 -- Function File: [] = ode45 (@FUN, SLOT, INIT, [OPT], [PAR1, PAR2,
          ...])
 -- Command: [SOL] = ode45 (@FUN, SLOT, INIT, [OPT], [PAR1, PAR2, ...])
 -- Command: [T, Y, [XE, YE, IE]] = ode45 (@FUN, SLOT, INIT, [OPT],
          [PAR1, PAR2, ...])
     This function file can be used to solve a set of non-stiff
     ordinary differential equations (non-stiff ODEs) or non-stiff
     differential algebraic equations (non-stiff DAEs) with the well
     known explicit Runge-Kutta method of order (4,5).

     If this function is called with no return argument then plot the
     solution over time in a figure window while solving the set of
     ODEs that are defined in a function and specified by the function
     handle @FUN. The second input argument SLOT is a double vector
     that defines the time slot, INIT is a double vector that defines
     the initial values of the states, OPT can optionally be a
     structure array that keeps the options created with the command
     `odeset' and PAR1, PAR2, ... can optionally be other input
     arguments of any type that have to be passed to the function
     defined by @FUN.

     If this function is called with one return argument then return
     the solution SOL of type structure array after solving the set of
     ODEs. The solution SOL has the fields X of type double column
     vector for the steps chosen by the solver, Y of type double column
     vector for the solutions at each time step of X, SOLVER of type
     string for the solver name and optionally the extended time stamp
     information XE, the extended solution information YE and the
     extended index information IE all of type double column vector
     that keep the informations of the event function if an event
     function handle is set in the option argument OPT.

     If this function is called with more than one return argument then
     return the time stamps T, the solution values Y and optionally the
     extended time stamp information XE, the extended solution
     information YE and the extended index information IE all of type
     double column vector.

     For example, solve an anonymous implementation of the Van der Pol
     equation

          fvdb = @(vt,vy) [vy(2); (1 - vy(1)^2) * vy(2) - vy(1)];

          vopt = odeset ("RelTol", 1e-3, "AbsTol", 1e-3, \
                   "NormControl", "on", "OutputFcn", @odeplot);
          ode45 (fvdb, [0 20], [2 0], vopt);

   See also: odepkg


Additional help for built-in functions and operators is
available in the on-line version of the manual.  Use the command
`doc <topic>' to search the manual index.

Help and information about Octave is also available on the WWW
at http://www.octave.org and via the help@octave.org
mailing list.
octave:4> pkg install -forge generate_html
octave:5> pkg install -forge optim
error: the following dependencies where unsatisfied:
   optim needs miscellaneous >= 1.0.10
 optim needs struct >= 1.0.8
octave:5> pkg install -forge struct
mkoctfile: stripping disabled on this platform
mkoctfile: stripping disabled on this platform
mkoctfile: stripping disabled on this platform
mkoctfile: stripping disabled on this platform
mkoctfile: stripping disabled on this platform
octave:6> pkg install -forge miscellaneous
waitbar.cc: In function 'octave_value_list Fwaitbar(const octave_value_list&, int)':
waitbar.cc:126: warning: deprecated conversion from string constant to 'char*'
waitbar.cc:147: warning: deprecated conversion from string constant to 'char*'
waitbar.cc:148: warning: deprecated conversion from string constant to 'char*'
octave:7> pkg install -forge optim
error: the following dependencies where unsatisfied:
   optim needs miscellaneous >= 1.0.10
 optim needs struct >= 1.0.8
octave:7> pkg list
no packages installed.
octave:8>


Lukas Reichlin <paramaniac>
Tue 18 Jan 2011 08:37:19 AM UTC, comment #1: 

I just tried


pkg install -forge control


and the package seems to have been installed properly and pkg list shows that it is installed.

Specifically which package(s) did you try?

Did you see any errors during the install step?

John W. Eaton <jwe>
Group administrator
Mon 17 Jan 2011 10:29:28 PM UTC, original submission:  

Hello,

I managed to build Octave 3.3.55 with MacPorts on Mac OS X 10.6.6. When installing packages by

pkg install <package>

or

pkg install -forge <package>

everything works as expected. The packages are installed in ~/octave/.

However,

pkg list

shows "no packages installed." and the packages actually don't work.

Best Regards,
Lukas

Lukas Reichlin <paramaniac>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by paramaniac (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-02-22 rik5 StatusNeed Info Fixed
        Open/ClosedOpen Closed
    2011-02-21 rik5 StatusWorks For Me Need Info
    2011-01-18 jwe StatusNone Works For Me

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code