Hide Forgot
From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030703 Description of problem: octave help system does not work Version-Release number of selected component (if applicable): octave-2.1.49-4 How reproducible: Always Steps to Reproduce: 1. run octave 2. type: help sin you get: warning: help: Texinfo formatting filter exited abnormally warning: help: raw Texinfo source of help text follows... and then you get unintelligeble raw texinfo documentation. 3. type: help -i sin you get: info: /usr/local/info/octave.info: No such file or directory help: sorry, `sin' is not indexed in the manual octave info files are in /usr/share/info/ and not in /usr/local/info/
Packages addressing this problem are available from: http://people.redhat.com/lhh/octave-2.1.50-2.i386.rpm http://people.redhat.com/lhh/octave-2.1.50-2.src.rpm And will appear in rawhide soon.
(Updating time-spent)
octave-2.1.50-2.i386.rpm gives the following error: octave:2> help -i sin info: /usr/info/octave.info: No such file or directory help: sorry, `sin' is not indexed in the manual
Ok, I actually tested and verified both cases this time ;) Packages addressing this problem are available from: http://people.redhat.com/lhh/octave-2.1.50-3.i386.rpm http://people.redhat.com/lhh/octave-2.1.50-3.src.rpm And will appear in rawhide soon.
octave-2.1.50-3 "help -i sin" works now. but "help sin" still does not work properly: octave:1> help sin sin is a built-in mapper function warning: help: Texinfo formatting filter exited abnormally warning: help: raw Texinfo source of help text follows... -*- texinfo -*- @deftypefn {Mapping Function} {} sin (@var{x}) Compute the sin of each element of @var{x}. @end deftypefn ........
Unfortunately, I couldn't reproduce this on 9, Severn, or Taroon... What version of info are you running?
$ rpm -q info octave info-4.5-2 octave-2.1.50-3 --------------------------------- $ octave GNU Octave, version 2.1.50 (i686-pc-linux-gnu). Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 John W. Eaton. This is free software; see the source code for copying conditions. There is ABSOLUTELY NO WARRANTY; not even for MERCHANTIBILITY or FITNESS FOR A PARTICULAR PURPOSE. For details, type `warranty'. Please contribute if you find this software useful. For more information, visit http://www.octave.org/help-wanted.html Report bugs to <bug-octave@bevo.che.wisc.edu>. octave:1> help sin sin is a built-in mapper function warning: help: Texinfo formatting filter exited abnormally warning: help: raw Texinfo source of help text follows... -*- texinfo -*- @deftypefn {Mapping Function} {} sin (@var{x}) Compute the sin of each element of @var{x}. @end deftypefn Additional help for built-in functions, operators, and variables is available in the on-line version of the manual. Use the command `help -i <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@bevo.che.wisc.edu mailing list. octave:2>
help -i sin works correctly
I have found what the problem is: octave rpm does not depend on texinfo rpm, but it need texinfo rpm for its online help system. In 'Personal Desktop' installation mode texinfo rpm did not get installed and octave was giving errors while formatting its online system. octave should require texinfo rpm in its dependencies
Ah! Makes sense; I was wondering why I couldn't get it to fail - yet you couldn't get it to work... ;)
That's the correct solution. Building packages.
Added texinfo to "Requires" field. Packages addressing this problem are available from: http://people.redhat.com/lhh/octave-2.1.50-7.i386.rpm http://people.redhat.com/lhh/octave-2.1.50-7.src.rpm These will appear in rawhide soon.
Re-closing due to bugzilla outage earlier today.