help-octave
[Top][All Lists]
Advanced

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

Re: compiling octave fails on building flex


From: address@hidden
Subject: Re: compiling octave fails on building flex
Date: Fri, 15 Dec 2017 09:26:21 -0700

> If you run 'make hg-octave-dist', it will attempt to create a updated octave dev tarball that then will be used when running make nsis-installer. If you don't run that, it will use the tarball that it downloaded the first time it compiled the dev octave files.

I have been having troubles building with 'make hg-octave-dist' AND 'make nsis-installer'. I've already reported that I got the make nsis-installer working on one machine. On my other machine I got 'make hg-octave-dist' to work and was able to run it with './run-octave', and see that the last few features I had wanted worked on the linux version. However, I can't get either machine to run the alternate 'make' command to work. I continually get errors on one for building the native, and on the other can't get the windows installer. I should have saved the linux version when I had it working, to move it to the machine where the windows installer worked, but now it won't compile it again for some reason. I feel like somehow the order of building affected things because running things again have different errors, and I think that was the difference between the two machines, or maybe which dependencies I installed (the various lists of apt-get install ... lists). I'll try again from the start with a clean repo, but I expect I'll run against the same errors so maybe someone already knows the causes and how to fix some of these.

 

The following commands result in the following errors:

$make clean

$./configure --enable-devel-tools --enable-octave=default --enable-qt5 --enable-64 --enable-windows-64 --disable-docs

$make hg-octave-dist -j6 <or without -jN>

...

running: libtoolize --install --copy

libtoolize:   error: 'build-aux/config.guess' is newer: use '--force' to overwrite

libtoolize:   error: 'build-aux/config.sub' is newer: use '--force' to overwrite

libtoolize:   error: 'build-aux/install-sh' is newer: use '--force' to overwrite

libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.

...

GEN      doc/interpreter/interpft.eps

warning: division by zero

warning: called from

    legend at line 655 column 14

    interpimages at line 43 column 5

warning: division by zero

warning: called from

    legend at line 831 column 20

    interpimages at line 43 column 5

...

GEN      doc/interpreter/splinefit1.eps

warning: division by zero

warning: called from

    legend at line 655 column 14

    splineimages at line 52 column 5

warning: division by zero

warning: called from

    legend at line 840 column 20

    splineimages at line 52 column 5

...

warning: division by zero

warning: called from

    legend at line 831 column 20

    splineimages at line 162 column 5

warning: division by zero

warning: called from

    legend at line 916 column 11

    splineimages at line 162 column 5

  TEXI2DVI doc/interpreter/octave.dvi

/usr/bin/texi2dvi: etex exited with bad status, quitting.

Makefile:28017: recipe for target 'doc/interpreter/octave.dvi' failed

make[3]: *** [doc/interpreter/octave.dvi] Error 1

...

 

------------------------------

On the other machine, it doesn't choke on octave.dvi (and had worked all the way through once, but now gives the following:

 

...

  TEXI2DVI doc/interpreter/octave.dvi

  DVIPS    doc/interpreter/octave.ps

  GEN      doc/interpreter/voronoi.pdf

warning: division by zero

warning: called from

    legend at line 655 column 14

    geometryimages at line 54 column 5

...

warning: division by zero

warning: called from

    legend at line 916 column 11

    geometryimages at line 54 column 5

Error: /undefined in -nan

Operand stack:

   --nostringval--

Execution stack:

   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1999   1   3   %oparray_pop   1998   1   3   %oparray_pop   --nostringval--   1982   1   3   %oparray_pop   1868   1   3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--

Dictionary stack:

   --dict:1215/1684(ro)(G)--   --dict:0/20(G)--   --dict:83/200(L)--   --dict:41/64(L)--

Current allocation mode is local

GPL Ghostscript 9.21: Unrecoverable error, exit code 1

  GEN      doc/interpreter/triplot.pdf

  GEN      doc/interpreter/griddata.pdf

...

<with more division by zero warnings and GPL Ghostscript errors and other files>

...

  MAKEINFO doc/interpreter/octave.html/.octave-html-stamp

doc/interpreter/poly.texi:790: warning: @image file `splinefit1' (for HTML) not found, using `splinefit1.jpg'

doc/interpreter/poly.texi:834: warning: @image file `splinefit2' (for HTML) not found, using `splinefit2.jpg'

doc/interpreter/poly.texi:871: warning: @image file `splinefit3' (for HTML) not found, using `splinefit3.jpg'

doc/interpreter/poly.texi:910: warning: @image file `splinefit4' (for HTML) not found, using `splinefit4.jpg'

doc/interpreter/poly.texi:954: warning: @image file `splinefit6' (for HTML) not found, using `splinefit6.jpg'

doc/interpreter/interp.texi:168: warning: @image file `interpderiv1' (for HTML) not found, using `interpderiv1.jpg'

doc/interpreter/interp.texi:174: warning: @image file `interpderiv2' (for HTML) not found, using `interpderiv2.jpg'

doc/interpreter/interp.texi:233: warning: @image file `interpft' (for HTML) not found, using `interpft.jpg'

doc/interpreter/geometry.texi:649: warning: @image file `voronoi' (for HTML) not found, using `voronoi.jpg'

  GEN      doc/interpreter/octave.html/voronoi.png

cp: cannot stat 'doc/interpreter/voronoi.png': No such file or directory

Makefile:28045: recipe for target 'doc/interpreter/octave.html/voronoi.png' failed

make[3]: *** [doc/interpreter/octave.html/voronoi.png] Error 1

...

 

-----------------

The division by zero- warnings didn't use to show up in my first failed attempts at make hg-octave-dist, so I'm not sure why they started showing up. The failure on octave.dvi is the critical failure that has always showed up on the one machine however. I note that there's an octave bug, bug #48172, that mentions the same error, but was supposedly fixed for an older version of Ubuntu. I try some of the same things there and they haven't worked (e.g. configuring with "--disable-docs", which doesn't seem to do anything, or running make again, or replacing the symlink to texinfo.tex). Looking at a log when  make V=1 is done, gives a different set of errors than in that bug report (I wish I had copied that before trying other builds, because now I don't have that log anymore).


reply via email to

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