octave-maintainers
[Top][All Lists]
Advanced

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

Re: [OctDev] munge-texi problem with static library build


From: Rob Frohne
Subject: Re: [OctDev] munge-texi problem with static library build
Date: Wed, 16 Mar 2011 17:51:17 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.14) Gecko/20110223 Lightning/1.0b2 Thunderbird/3.1.8

Hi Rik,

Thanks for the reply. I think you might have Dan and me mixed up. I'm Rob, and Dan was looking at the C code. I did as you suggested. Before I removed the old .DOCSTRINGS and DOCSTRINGS I looked at them. The ones in the /src directory were empty. DOCSTRINGS in the script directory was not, but .DOCSTRINGS was. I saved the ones in the script directory if you would like to see them. Here is the tail of the output of make all. It looks like it contains some clues. Perhaps all those "No such file or directory" are problems.

mv doc-files-t doc-files
./mkgendoc doc-files > gendoc.cc-t
cat: bitfcns.df: No such file or directory
cat: data.df: No such file or directory
cat: debug.df: No such file or directory
cat: defaults.df: No such file or directory
cat: dirfns.df: No such file or directory
cat: error.df: No such file or directory
cat: file-io.df: No such file or directory
cat: graphics.df: No such file or directory
cat: help.df: No such file or directory
cat: input.df: No such file or directory
cat: lex.df: No such file or directory
cat: load-path.df: No such file or directory
cat: load-save.df: No such file or directory
cat: ls-oct-ascii.df: No such file or directory
cat: mappers.df: No such file or directory
cat: oct-hist.df: No such file or directory
cat: oct-parse.df: No such file or directory
cat: octave.df: No such file or directory
cat: pager.df: No such file or directory
cat: pr-output.df: No such file or directory
cat: sighandlers.df: No such file or directory
cat: sparse.df: No such file or directory
cat: strfns.df: No such file or directory
cat: symtab.df: No such file or directory
cat: syscalls.df: No such file or directory
cat: sysdep.df: No such file or directory
cat: toplev.df: No such file or directory
cat: utils.df: No such file or directory
cat: variables.df: No such file or directory
cat: ov-base.df: No such file or directory
cat: ov-bool-mat.df: No such file or directory
cat: ov-cell.df: No such file or directory
cat: ov-class.df: No such file or directory
cat: ov-fcn-handle.df: No such file or directory
cat: ov-fcn-inline.df: No such file or directory
cat: ov-flt-re-mat.df: No such file or directory
cat: ov-null-mat.df: No such file or directory
cat: ov-range.df: No such file or directory
cat: ov-re-mat.df: No such file or directory
cat: ov-struct.df: No such file or directory
cat: ov-typeinfo.df: No such file or directory
cat: ov-usr-fcn.df: No such file or directory
cat: ov.df: No such file or directory
cat: ov-int16.df: No such file or directory
cat: ov-int32.df: No such file or directory
cat: ov-int64.df: No such file or directory
cat: ov-int8.df: No such file or directory
cat: ov-uint16.df: No such file or directory
cat: ov-uint32.df: No such file or directory
cat: ov-uint64.df: No such file or directory
cat: ov-uint8.df: No such file or directory
cat: pt-arg-list.df: No such file or directory
cat: pt-binop.df: No such file or directory
cat: pt-eval.df: No such file or directory
cat: pt-mat.df: No such file or directory
cat: DLD-FUNCTIONS/__contourc__.df: No such file or directory
cat: DLD-FUNCTIONS/__delaunayn__.df: No such file or directory
cat: DLD-FUNCTIONS/__dispatch__.df: No such file or directory
cat: DLD-FUNCTIONS/__dsearchn__.df: No such file or directory
cat: DLD-FUNCTIONS/__fltk_uigetfile__.df: No such file or directory
cat: DLD-FUNCTIONS/__glpk__.df: No such file or directory
cat: DLD-FUNCTIONS/__init_fltk__.df: No such file or directory
cat: DLD-FUNCTIONS/__lin_interpn__.df: No such file or directory
cat: DLD-FUNCTIONS/__magick_read__.df: No such file or directory
cat: DLD-FUNCTIONS/__pchip_deriv__.df: No such file or directory
cat: DLD-FUNCTIONS/__qp__.df: No such file or directory
cat: DLD-FUNCTIONS/__voronoi__.df: No such file or directory
cat: DLD-FUNCTIONS/amd.df: No such file or directory
cat: DLD-FUNCTIONS/balance.df: No such file or directory
cat: DLD-FUNCTIONS/besselj.df: No such file or directory
cat: DLD-FUNCTIONS/betainc.df: No such file or directory
cat: DLD-FUNCTIONS/bsxfun.df: No such file or directory
cat: DLD-FUNCTIONS/ccolamd.df: No such file or directory
cat: DLD-FUNCTIONS/cellfun.df: No such file or directory
cat: DLD-FUNCTIONS/chol.df: No such file or directory
cat: DLD-FUNCTIONS/colamd.df: No such file or directory
cat: DLD-FUNCTIONS/colloc.df: No such file or directory
cat: DLD-FUNCTIONS/conv2.df: No such file or directory
cat: DLD-FUNCTIONS/convhulln.df: No such file or directory
cat: DLD-FUNCTIONS/daspk.df: No such file or directory
cat: DLD-FUNCTIONS/dasrt.df: No such file or directory
cat: DLD-FUNCTIONS/dassl.df: No such file or directory
cat: DLD-FUNCTIONS/det.df: No such file or directory
cat: DLD-FUNCTIONS/dlmread.df: No such file or directory
cat: DLD-FUNCTIONS/dmperm.df: No such file or directory
cat: DLD-FUNCTIONS/dot.df: No such file or directory
cat: DLD-FUNCTIONS/eig.df: No such file or directory
cat: DLD-FUNCTIONS/eigs.df: No such file or directory
cat: DLD-FUNCTIONS/fft.df: No such file or directory
cat: DLD-FUNCTIONS/fft2.df: No such file or directory
cat: DLD-FUNCTIONS/fftn.df: No such file or directory
cat: DLD-FUNCTIONS/fftw.df: No such file or directory
cat: DLD-FUNCTIONS/filter.df: No such file or directory
cat: DLD-FUNCTIONS/find.df: No such file or directory
cat: DLD-FUNCTIONS/gammainc.df: No such file or directory
cat: DLD-FUNCTIONS/gcd.df: No such file or directory
cat: DLD-FUNCTIONS/getgrent.df: No such file or directory
cat: DLD-FUNCTIONS/getpwent.df: No such file or directory
cat: DLD-FUNCTIONS/getrusage.df: No such file or directory
cat: DLD-FUNCTIONS/givens.df: No such file or directory
cat: DLD-FUNCTIONS/hess.df: No such file or directory
cat: DLD-FUNCTIONS/hex2num.df: No such file or directory
cat: DLD-FUNCTIONS/inv.df: No such file or directory
cat: DLD-FUNCTIONS/kron.df: No such file or directory
cat: DLD-FUNCTIONS/lookup.df: No such file or directory
cat: DLD-FUNCTIONS/lsode.df: No such file or directory
cat: DLD-FUNCTIONS/lu.df: No such file or directory
cat: DLD-FUNCTIONS/luinc.df: No such file or directory
cat: DLD-FUNCTIONS/matrix_type.df: No such file or directory
cat: DLD-FUNCTIONS/max.df: No such file or directory
cat: DLD-FUNCTIONS/md5sum.df: No such file or directory
cat: DLD-FUNCTIONS/onCleanup.df: No such file or directory
cat: DLD-FUNCTIONS/pinv.df: No such file or directory
cat: DLD-FUNCTIONS/qr.df: No such file or directory
cat: DLD-FUNCTIONS/quad.df: No such file or directory
cat: DLD-FUNCTIONS/quadcc.df: No such file or directory
cat: DLD-FUNCTIONS/qz.df: No such file or directory
cat: DLD-FUNCTIONS/rand.df: No such file or directory
cat: DLD-FUNCTIONS/rcond.df: No such file or directory
cat: DLD-FUNCTIONS/regexp.df: No such file or directory
cat: DLD-FUNCTIONS/schur.df: No such file or directory
cat: DLD-FUNCTIONS/spparms.df: No such file or directory
cat: DLD-FUNCTIONS/sqrtm.df: No such file or directory
cat: DLD-FUNCTIONS/strfind.df: No such file or directory
cat: DLD-FUNCTIONS/str2double.df: No such file or directory
cat: DLD-FUNCTIONS/sub2ind.df: No such file or directory
cat: DLD-FUNCTIONS/svd.df: No such file or directory
cat: DLD-FUNCTIONS/syl.df: No such file or directory
cat: DLD-FUNCTIONS/symbfact.df: No such file or directory
cat: DLD-FUNCTIONS/symrcm.df: No such file or directory
cat: DLD-FUNCTIONS/time.df: No such file or directory
cat: DLD-FUNCTIONS/tril.df: No such file or directory
cat: DLD-FUNCTIONS/tsearch.df: No such file or directory
cat: DLD-FUNCTIONS/typecast.df: No such file or directory
cat: DLD-FUNCTIONS/urlwrite.df: No such file or directory
mv gendoc.cc-t gendoc.cc
g++ -g -O2 -o gendoc gendoc.cc
if [ "x." != "x." ] && [ -f ./DOCSTRINGS ] && [ ! -f DOCSTRINGS ]; then \
        cp ./DOCSTRINGS DOCSTRINGS; \
        touch -r ./DOCSTRINGS DOCSTRINGS; \
    fi
creating .DOCSTRINGS from .cc source files
../move-if-change .DOCSTRINGS DOCSTRINGS
touch .DOCSTRINGS
make[3]: Leaving directory `/home/frohro/Desktop/octave-3.4.0/src'
make[2]: Leaving directory `/home/frohro/Desktop/octave-3.4.0/src'
Making all in scripts
make[2]: Entering directory `/home/frohro/Desktop/octave-3.4.0/scripts'
making plot/gnuplot_binary.m from plot/gnuplot_binary.in
plot/gnuplot_binary.m is unchanged
make[3]: Entering directory `/home/frohro/Desktop/octave-3.4.0/scripts'
make[3]: `gethelp' is up to date.
make[3]: Leaving directory `/home/frohro/Desktop/octave-3.4.0/scripts'
if [ "x." != "x." ] && [ -f ./DOCSTRINGS ] && [ ! -f DOCSTRINGS ]; then \
        cp ./DOCSTRINGS DOCSTRINGS; \
        touch -r ./DOCSTRINGS DOCSTRINGS; \
    fi
creating .DOCSTRINGS from .m script files
../move-if-change .DOCSTRINGS DOCSTRINGS
touch .DOCSTRINGS
make[2]: Leaving directory `/home/frohro/Desktop/octave-3.4.0/scripts'
Making all in doc
make[2]: Entering directory `/home/frohro/Desktop/octave-3.4.0/doc'
Making all in faq
make[3]: Entering directory `/home/frohro/Desktop/octave-3.4.0/doc/faq'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/frohro/Desktop/octave-3.4.0/doc/faq'
Making all in icons
make[3]: Entering directory `/home/frohro/Desktop/octave-3.4.0/doc/icons'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/frohro/Desktop/octave-3.4.0/doc/icons'
Making all in interpreter
make[3]: Entering directory `/home/frohro/Desktop/octave-3.4.0/doc/interpreter' make[4]: Entering directory `/home/frohro/Desktop/octave-3.4.0/doc/interpreter'
make[4]: `munge-texi' is up to date.
make[4]: Leaving directory `/home/frohro/Desktop/octave-3.4.0/doc/interpreter' ./munge-texi ../.. ../../scripts/DOCSTRINGS ../../src/DOCSTRINGS < arith.txi > arith.texi-t
invalid doc file format
make[3]: *** [arith.texi] Error 1
make[3]: Leaving directory `/home/frohro/Desktop/octave-3.4.0/doc/interpreter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/frohro/Desktop/octave-3.4.0/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/frohro/Desktop/octave-3.4.0'
make: *** [all] Error 2
address@hidden:~/Desktop/octave-3.4.0$

The DOCSTRINGS file in /src now contains:

### DO NOT EDIT!
###
### This file is generated automatically from the Octave sources.
### Edit those files instead and run make to update this file.

The .DOCSTRINGS file in /src is still empty, as is the one in .

Should I file a bug report?

Thanks,

Rob


On 03/16/2011 04:15 PM, Rik wrote:
Unfortunately, with make I still get the same error:

make[4]: `munge-texi' is up to date.
make[4]: Leaving directory
`/home/frohro/Desktop/octave-3.4.0/doc/interpreter'
./munge-texi ../.. ../../scripts/DOCSTRINGS ../../src/DOCSTRINGS<
arith.txi>  arith.texi-t
invalid doc file format
It appears that arith.texi-t is the log file.  Type out the contents of
that to see what might be going wrong.

3/16/11

Daniel,

As Rob wrote, munge-texi is a C++ program that does a bit of manipulation
on the raw .txi files to transform them into .texi files capable of being
processed by Texinfo.

The problem is with one or both of the DOCSTRINGS files mentioned on the
command line.  To regenerate, start at the top-level of the code tree.

cd src/
rm .DOCSTRINGS DOCSTRINGS
cd ../scripts/
rm .DOCSTRINGS DOCSTRINGS
cd ..
make all

Take a look at the DOCSTRINGS files after regeneration.  They shouldn't be
empty.  If building the documentation still fails, then file a bug report
on the Octave bug tracker and attach whatever DOCSTRINGS files were generated.

--Rik

--
Rob Frohne, Ph.D., P.E.
E.F. Cross School of Engineering
Walla Walla University
100 SW 4th Street
College Place, WA 99324
(509) 527-2075                   http://people.wallawalla.edu/~rob.frohne

Attachment: frohro.vcf
Description: Vcard


reply via email to

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