octave-maintainers
[Top][All Lists]
Advanced

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

Re: texi2dvi fails while building octave


From: Michael Goffioul
Subject: Re: texi2dvi fails while building octave
Date: Sat, 15 Jun 2013 17:09:40 -0400

On Sat, Jun 15, 2013 at 1:21 AM, Anirudha Bose <address@hidden> wrote:
On Fri, Jun 14, 2013 at 4:53 AM, John W. Eaton <address@hidden> wrote:
On 06/13/2013 07:19 PM, Anirudha Bose wrote:
While I was trying to build the package "octave" by doing make octave
inside mxe-octave, I was shown the following error:

Making install in liboctave

make[5]: Entering directory
`/home/ani/mxe-octave/tmp-octave/octave-3.7.5/.build/doc/liboctave'
TEXINPUTS="/home/ani/mxe-octave/tmp-octave/octave-3.7.5/doc/liboctave/..:$TEXINPUTS"

MAKEINFO='/bin/sh
/home/ani/mxe-octave/tmp-octave/octave-3.7.5/build-aux/missing --run
makeinfo   -I /home/ani/mxe-octave/tmp-octave/octave-3.7.5/doc/liboctave' \
texi2dvi --build-dir=t2d_cache
/home/ani/mxe-octave/tmp-octave/octave-3.7.5/doc/liboctave/liboctave.texi
egrep: Invalid range end
/home/ani/mxe-octave/usr/bin/texi2dvi: cannot read
.//home/ani/mxe-octave/tmp-octave/octave-3.7.5/doc/liboctave/liboctave.texi,
skipping.
make[5]: *** [liboctave.dvi] Error 1/


I have texlive-scheme-medium installed on my system.

You have an old version of texinfo.

I tried installing the latest version of texinfo but I still got the same error. I presume that the problem is with texi2dvi. So instead of getting a newer version, I patched this line
    echo "$command_line_filename" | $EGREP '^(/|[A-z]:/)' >&6 \
with this one
     echo "$command_line_filename" | $EGREP '^(/|[A-Za-z]:/)' >&6

in the file mxe-octave/usr/bin/texi2dvi

Is this all I need to do to get a successful build?

I'm not sure. I just installed build-texinfo with MXE and texi2dvi indeed contains the "faulty" line. I've checked on my Fedora 17 box and it contains the same change as you made, maybe it has been patched by the package manager. In both case, the version is still 4.13a. I'm not far enough the compilation process to know whether the faulty line would be a problem, though. I've compiling on MSYS/MSVC for quite a while (outside MXE) and I never got the problem you had.

Michael.


reply via email to

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