help-octave
[Top][All Lists]
Advanced

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

Re:compile error with 2.1.40: arith.texi


From: daniel heiserer
Subject: Re:compile error with 2.1.40: arith.texi
Date: Wed, 27 Nov 2002 15:41:03 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826

My comments are "==>"

| Hi,
| I have an error compiling octave-2.1.40:
| Can anybody help me?
| ------------------------------------------------------....
| making gendoc.cc
| gendoc.cc is unchanged
| ./gendoc > DOCSTRINGS-t
| mv DOCSTRINGS-t DOCSTRINGS
| make[4]: Leaving directory `/tmp/octave-2.1.40/src'
| make -C ../../scripts DOCSTRINGS
| make[4]: Entering directory `/tmp/octave-2.1.40/scripts'
| make[4]: `DOCSTRINGS' is up to date.
| make[4]: Leaving directory `/tmp/octave-2.1.40/scripts'
| making arith.texi from arith.txi
| invalid doc file format

What are in the two DOCSTRING files in the src and scripts
directories?

They should be a series of entries like this:

=1Fis_struct
=2D*- texinfo -*-
@deftypefn {Function File} {} is_struct (@var{a})
This function has been deprecated.  Use isstruct instead.
@end deftypefn
=1Fis_symmetric
=2D*- texinfo -*-
@deftypefn {Function File} {} issymmetric (@var{x}, @var{tol})
This function has been deprecated.  Use issymmetric instead.
@end deftypefn

The separator between entries is ASCII 31.  A function name should
appear immediately after the separator, then any number of lines of
Texinfo documentation until the next separator.
------------------------------------------------------------------
==> find /tmp/octave-2.1.40/ -name "DOCSTR*"`
-rw-r----- 1 q127038 ek-21 0 Nov 25 17:00 /tmp/octave-2.1.40/scripts/DOCSTRINGS -rw-r----- 1 q127038 ek-21 203250 Nov 27 09:57 /tmp/octave-2.1.40/src/DOCSTRINGS

more /tmp/octave-2.1.40/src/DOCSTRINGS
^_balance
-*- texinfo -*-
@deftypefn {Loadable Function} address@hidden =} balance (@var{a}, @var{opt})
...........................
==> There is no "=1....\n =2....\n"
man ascii:
       037   31    1F    US
==> ascii-31 is \037
==> od -c /tmp/octave-2.1.40/src/DOCSTRINGS | more
0000000 037   b   a   l   a   n   c   e  \n   -   *   -       t   e   x
0000020   i   n   f   o       -   *   -  \n   @   d   e   f   t   y   p
0000040   e   f   n       {   L   o   a   d   a   b   l   e       F   u
0000060   n   c   t   i   o   n   }       {   @   v   a   r   {   a   a
==> the separator seems to be OK.

==> My problem seems to be that /tmp/octave-2.1.40/scripts/DOCSTRINGS
is empty.

What can cause that?


best regards, daniel



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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