Build From Current Sources Fails.

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Build From Current Sources Fails.

Thomas D. Dean-2
After hg pull and hg update,

 > cd build
 > ../configure F77=gfortran --without-qt
 > make
...
   GEN      doc/interpreter/stats.texi
   GEN      doc/interpreter/stmt.texi
   GEN      doc/interpreter/strings.texi
   GEN      doc/interpreter/system.texi
   GEN      doc/interpreter/testfun.texi
   GEN      doc/interpreter/var.texi
   GEN      doc/interpreter/vectorize.texi
   MAKEINFO ../doc/interpreter/octave.info
../doc/interpreter/octave.texi:812: @detailmenu reference to nonexistent
node `Octave Workspace Windows'
../doc/interpreter/octave.texi:832: @detailmenu reference to nonexistent
node `WWW Access'
Makefile:27763: recipe for target '../doc/interpreter/octave.info' failed
make[2]: *** [../doc/interpreter/octave.info] Error 1
make[2]: Leaving directory '/home/tomdean/Math/Octave/octave-code/build'
Makefile:26366: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/tomdean/Math/Octave/octave-code/build'
Makefile:9950: recipe for target 'all' failed
make: *** [all] Error 2

Tom Dean


Reply | Threaded
Open this post in threaded view
|

Re: Build From Current Sources Fails.

Thomas D. Dean-2
On 1/3/20 8:11 PM, Thomas D. Dean wrote:

> After hg pull and hg update,
>
>  > cd build
>  > ../configure F77=gfortran --without-qt
>  > make
> ...
>    GEN      doc/interpreter/stats.texi
>    GEN      doc/interpreter/stmt.texi
>    GEN      doc/interpreter/strings.texi
>    GEN      doc/interpreter/system.texi
>    GEN      doc/interpreter/testfun.texi
>    GEN      doc/interpreter/var.texi
>    GEN      doc/interpreter/vectorize.texi
>    MAKEINFO ../doc/interpreter/octave.info
> ../doc/interpreter/octave.texi:812: @detailmenu reference to nonexistent
> node `Octave Workspace Windows'
> ../doc/interpreter/octave.texi:832: @detailmenu reference to nonexistent
> node `WWW Access'
> Makefile:27763: recipe for target '../doc/interpreter/octave.info' failed
> make[2]: *** [../doc/interpreter/octave.info] Error 1
> make[2]: Leaving directory '/home/tomdean/Math/Octave/octave-code/build'
> Makefile:26366: recipe for target 'all-recursive' failed
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory '/home/tomdean/Math/Octave/octave-code/build'
> Makefile:9950: recipe for target 'all' failed
> make: *** [all] Error 2
>
> Tom Dean
>
>

The latest ( 15 minutes ago ) fixed the doc problem.  Now, I see a java
problem.

after hg pull and hg update
 > cd build
 > rm -Rf *
 > ../configure F77=gfortran --without-qt
 > make -j12

   GEN      doc/interpreter/testfun.texi
   GEN      doc/interpreter/var.texi
   GEN      doc/interpreter/vectorize.texi
   JAR      scripts/java/octave.jar
   CXXLD    libinterp/dldfcn/__delaunayn__.la
   CXXLD    libinterp/dldfcn/__eigs__.la
   CXXLD    libinterp/dldfcn/__fltk_uigetfile__.la
   CXXLD    libinterp/dldfcn/__glpk__.la
   CXXLD    libinterp/dldfcn/__init_fltk__.la
org/octave/Matrix.class : no such file or directory
org/octave/OctClassLoader.class : no such file or directory
org/octave/Octave.class : no such file or directory
org/octave/OctaveReference.class : no such file or directory
Makefile:27515: recipe for target 'scripts/java/octave.jar' failed
make[2]: *** [scripts/java/octave.jar] Error 1
make[2]: *** Waiting for unfinished jobs....
   CXXLD    libinterp/dldfcn/__init_gnuplot__.la
make[2]: Leaving directory '/home/tomdean/Math/Octave/octave-code/build'
Makefile:26366: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/tomdean/Math/Octave/octave-code/build'
Makefile:9950: recipe for target 'all' failed
make: *** [all] Error 2

Tom Dean


Reply | Threaded
Open this post in threaded view
|

Re: Build From Current Sources Fails.

siko1056
On 1/4/20 2:28 PM, Thomas D. Dean wrote:

> [...]  Now, I see a java problem.
>
> after hg pull and hg update
>> cd build
>> rm -Rf *
>> ../configure F77=gfortran --without-qt
>> make -j12
>
>   GEN      doc/interpreter/testfun.texi
>   GEN      doc/interpreter/var.texi
>   GEN      doc/interpreter/vectorize.texi
>   JAR      scripts/java/octave.jar
>   CXXLD    libinterp/dldfcn/__delaunayn__.la
>   CXXLD    libinterp/dldfcn/__eigs__.la
>   CXXLD    libinterp/dldfcn/__fltk_uigetfile__.la
>   CXXLD    libinterp/dldfcn/__glpk__.la
>   CXXLD    libinterp/dldfcn/__init_fltk__.la
> org/octave/Matrix.class : no such file or directory
> org/octave/OctClassLoader.class : no such file or directory
> org/octave/Octave.class : no such file or directory
> org/octave/OctaveReference.class : no such file or directory
> Makefile:27515: recipe for target 'scripts/java/octave.jar' failed
> make[2]: *** [scripts/java/octave.jar] Error 1
> make[2]: *** Waiting for unfinished jobs....
>   CXXLD    libinterp/dldfcn/__init_gnuplot__.la
> make[2]: Leaving directory '/home/tomdean/Math/Octave/octave-code/build'
> Makefile:26366: recipe for target 'all-recursive' failed
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory '/home/tomdean/Math/Octave/octave-code/build'
> Makefile:9950: recipe for target 'all' failed
> make: *** [all] Error 2
>
> Tom Dean
>
>


I recently built

>> __octave_config_info__ ("hg_id")
ans = f658d41003e4

without java errors, just warnings.  What is your output for

$ javac --version
javac 11.0.5
$ rm -Rf scripts/java/
$ make V=1 -j3

Mine is:

make[2]: Entering directory '/home/siko1056/work/octave/dev/build/default'
rm -f scripts/java/PKG_ADD-t scripts/java/PKG_ADD && /bin/sh
/home/siko1056/work/octave/dev/default/scripts/mk-pkg-add.sh
/home/siko1056/work/octave/dev/default scripts/java/javaArray.m
scripts/java/java_get.m scripts/java/java_set.m
scripts/java/javaaddpath.m scripts/java/javachk.m
scripts/java/javaclasspath.m scripts/java/javamem.m
scripts/java/javarmpath.m scripts/java/usejava.m --  >
scripts/java/PKG_ADD-t && mv scripts/java/PKG_ADD-t scripts/java/PKG_ADD
/usr/bin/mkdir -p scripts/java/org/octave && \
( cd /home/siko1056/work/octave/dev/default/scripts/java; \
  "/usr/lib64/jvm/java/bin/javac" -source 8 -target 8 -Xlint:-options \
             -d /home/siko1056/work/octave/dev/build/default/scripts/java \
             org/octave/ClassHelper.java )
/usr/bin/mkdir -p scripts/java/org/octave && \
( cd /home/siko1056/work/octave/dev/default/scripts/java; \
  "/usr/lib64/jvm/java/bin/javac" -source 8 -target 8 -Xlint:-options \
             -d /home/siko1056/work/octave/dev/build/default/scripts/java \
             org/octave/Matrix.java )
/usr/bin/mkdir -p scripts/java/org/octave && \
( cd /home/siko1056/work/octave/dev/default/scripts/java; \
  "/usr/lib64/jvm/java/bin/javac" -source 8 -target 8 -Xlint:-options \
             -d /home/siko1056/work/octave/dev/build/default/scripts/java \
             org/octave/OctClassLoader.java )
/usr/bin/mkdir -p scripts/java/org/octave && \
( cd /home/siko1056/work/octave/dev/default/scripts/java; \
  "/usr/lib64/jvm/java/bin/javac" -source 8 -target 8 -Xlint:-options \
             -d /home/siko1056/work/octave/dev/build/default/scripts/java \
             org/octave/Octave.java )
/usr/bin/mkdir -p scripts/java/org/octave && \
( cd /home/siko1056/work/octave/dev/default/scripts/java; \
  "/usr/lib64/jvm/java/bin/javac" -source 8 -target 8 -Xlint:-options \
             -d /home/siko1056/work/octave/dev/build/default/scripts/java \
             org/octave/OctaveReference.java )
Note: org/octave/ClassHelper.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: org/octave/OctaveReference.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: ./org/octave/OctaveReference.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
rm -f scripts/java/octave.jar-t scripts/java/octave.jar && \
( cd scripts/java; \
  "/usr/lib64/jvm/java/bin/jar" cf octave.jar-t
org/octave/ClassHelper.class org/octave/Matrix.class
org/octave/OctClassLoader.class org/octave/Octave.class
org/octave/OctaveReference.class ) && \
mv scripts/java/octave.jar-t scripts/java/octave.jar

Best,
Kai


Reply | Threaded
Open this post in threaded view
|

Re: Build From Current Sources Fails.

Thomas D. Dean-2
On 1/3/20 9:52 PM, Kai Torben Ohlhus wrote:
<snip>
> make V=1 -j3
<snip>
p9x79> javac --version
javac 11.0.4
p9x79> make V=1 -j3
  cd .. && /bin/bash
/home/tomdean/Math/Octave/octave-code/build-aux/missing automake-1.15
--gnu Makefile
automake-1.15: error: cannot open < scripts/java/module.mk: No such file
or directory
Makefile:9957: recipe for target '../Makefile.in' failed
make: *** [../Makefile.in] Error 1

Tom Dean


Reply | Threaded
Open this post in threaded view
|

Re: Build From Current Sources Fails.

Thomas D. Dean-2
In reply to this post by siko1056
My octave-code directory is really old.

I started getting strange results, so I decided to clean up and start over.

 > rm -Rf octave-code
 > hg clone https://www.octave.org/hg/octave octave-code
real URL is https://hg.savannah.gnu.org/hgweb/octave
requesting all changes
adding changesets
adding manifests

adding file changes

added 27909 changesets with 179519 changes to 14160 files

new changesets 22412e3a4641:f658d41003e4
updating to bookmark @
real URL is https://hg.octave.org/gnulib 

cloning subrepo gnulib from http://hg.octave.org/gnulib
requesting all changes
adding changesets
adding manifests

adding file changes

added 40247 changesets with 134453 changes to 11589 files (+34 heads)

new changesets cb836a3f733e:c34f677e6117
3407 files updated, 0 files merged, 0 files removed, 0 files unresolved
        > cd octave-code
 > ./bootstrap
...
 > mkdir build
 > cd build
 > ../configure F77=gfortran --without-qt
...
 > make -J12
...
   GEN      doc/interpreter/delaunay.eps
   GEN      doc/interpreter/inpolygon.eps
   GEN      doc/interpreter/interpft.eps
   GEN      doc/interpreter/interpn.eps
   GEN      doc/interpreter/interpderiv1.eps
   GEN      doc/interpreter/interpderiv2.eps
   GEN      doc/interpreter/plot.eps
error: print: figure must be visible or qt toolkit must be used with
__gl_window__ property 'on' or QT_OFFSCREEN feature available
error: called from
     __opengl_print__ at line 202 column 7
     print at line 752 column 16
     geometryimages at line 63 column 5
Makefile:27879: recipe for target 'doc/interpreter/triplot.eps' failed
make[2]: *** [doc/interpreter/triplot.eps] Error 1
make[2]: *** Waiting for unfinished jobs....
error: print: figure must be visible or qt toolkit must be used with
__gl_window__ property 'on' or QT_OFFSCREEN feature available
error: called from
     __opengl_print__ at line 202 column 7
     print at line 752 column 16
     geometryimages at line 56 column 5
Makefile:27877: recipe for target 'doc/interpreter/voronoi.eps' failed
make[2]: *** [doc/interpreter/voronoi.eps] Error 1
error: print: figure must be visible or qt toolkit must be used with
__gl_window__ property 'on' or QT_OFFSCREEN feature available
error: called from
     __opengl_print__ at line 202 column 7
     print at line 752 column 16
     geometryimages at line 72 column 5
error: print: figure must be visible or qt toolkit must be used with
__gl_window__ property 'on' or QT_OFFSCREEN feature available
error: called from
     __opengl_print__ at line 202 column 7
     print at line 752 column 16
     geometryimages at line 79 column 5
Makefile:27881: recipe for target 'doc/interpreter/griddata.eps' failed
make[2]: *** [doc/interpreter/griddata.eps] Error 1
Makefile:27883: recipe for target 'doc/interpreter/convhull.eps' failed
make[2]: *** [doc/interpreter/convhull.eps] Error 1
error: print: figure must be visible or qt toolkit must be used with
__gl_window__ property 'on' or QT_OFFSCREEN feature available
error: called from
     __opengl_print__ at line 202 column 7
     print at line 752 column 16
     geometryimages at line 89 column 5
Makefile:27885: recipe for target 'doc/interpreter/delaunay.eps' failed
make[2]: *** [doc/interpreter/delaunay.eps] Error 1
error: print: figure must be visible or qt toolkit must be used with
__gl_window__ property 'on' or QT_OFFSCREEN feature available
error: called from
     __opengl_print__ at line 202 column 7
     print at line 752 column 16
     interpimages at line 54 column 5
Makefile:27927: recipe for target 'doc/interpreter/interpn.eps' failed
make[2]: *** [doc/interpreter/interpn.eps] Error 1
error: print: figure must be visible or qt toolkit must be used with
__gl_window__ property 'on' or QT_OFFSCREEN feature available
error: called from
     __opengl_print__ at line 202 column 7
     print at line 752 column 16
     interpimages at line 65 column 5
error: print: figure must be visible or qt toolkit must be used with
__gl_window__ property 'on' or QT_OFFSCREEN feature available
error: called from
     __opengl_print__ at line 202 column 7
     print at line 752 column 16
     geometryimages at line 99 column 5
Makefile:27929: recipe for target 'doc/interpreter/interpderiv1.eps' failed
make[2]: *** [doc/interpreter/interpderiv1.eps] Error 1
error: print: figure must be visible or qt toolkit must be used with
__gl_window__ property 'on' or QT_OFFSCREEN feature available
error: called from
     __opengl_print__ at line 202 column 7
     print at line 752 column 16
     plotimages at line 41 column 5
Makefile:27887: recipe for target 'doc/interpreter/inpolygon.eps' failed
make[2]: *** [doc/interpreter/inpolygon.eps] Error 1
Makefile:27957: recipe for target 'doc/interpreter/plot.eps' failed
make[2]: *** [doc/interpreter/plot.eps] Error 1
error: print: figure must be visible or qt toolkit must be used with
__gl_window__ property 'on' or QT_OFFSCREEN feature available
error: called from
     __opengl_print__ at line 202 column 7
     print at line 752 column 16
     interpimages at line 44 column 5
Makefile:27925: recipe for target 'doc/interpreter/interpft.eps' failed
make[2]: *** [doc/interpreter/interpft.eps] Error 1
error: print: figure must be visible or qt toolkit must be used with
__gl_window__ property 'on' or QT_OFFSCREEN feature available
error: called from
     __opengl_print__ at line 202 column 7
     print at line 752 column 16
     interpimages at line 76 column 5
Makefile:27931: recipe for target 'doc/interpreter/interpderiv2.eps' failed
make[2]: *** [doc/interpreter/interpderiv2.eps] Error 1
make[2]: Leaving directory '/home/tomdean/Math/Octave/octave-code/build'
Makefile:26379: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/tomdean/Math/Octave/octave-code/build'
Makefile:9963: recipe for target 'all' failed
make: *** [all] Error 2

Tom Dean


Reply | Threaded
Open this post in threaded view
|

Re: Build From Current Sources Fails.

siko1056
On 1/4/20 4:46 PM, Thomas D. Dean wrote:

> My octave-code directory is really old.
>
> I started getting strange results, so I decided to clean up and start over.
>
>> rm -Rf octave-code
>> hg clone https://www.octave.org/hg/octave octave-code
> real URL is https://hg.savannah.gnu.org/hgweb/octave
> requesting all changes
> adding changesets
> adding manifests
> adding file changes
> added 27909 changesets with 179519 changes to 14160 files
> new changesets 22412e3a4641:f658d41003e4
> updating to bookmark @
> real URL is https://hg.octave.org/gnulib
> cloning subrepo gnulib from http://hg.octave.org/gnulib
> requesting all changes
> adding changesets
> adding manifests
> adding file changes
> added 40247 changesets with 134453 changes to 11589 files (+34 heads)
> new changesets cb836a3f733e:c34f677e6117
> 3407 files updated, 0 files merged, 0 files removed, 0 files unresolved
>        > cd octave-code
>> ./bootstrap
> ...
>> mkdir build
>> cd build
>> ../configure F77=gfortran --without-qt
> ...
>> make -J12
> ...
>   GEN      doc/interpreter/delaunay.eps
>   GEN      doc/interpreter/inpolygon.eps
>   GEN      doc/interpreter/interpft.eps
>   GEN      doc/interpreter/interpn.eps
>   GEN      doc/interpreter/interpderiv1.eps
>   GEN      doc/interpreter/interpderiv2.eps
>   GEN      doc/interpreter/plot.eps
> error: print: figure must be visible or qt toolkit must be used with
> __gl_window__ property 'on' or QT_OFFSCREEN feature available
> error: called from
>     __opengl_print__ at line 202 column 7
>     print at line 752 column 16
>     geometryimages at line 63 column 5
> Makefile:27879: recipe for target 'doc/interpreter/triplot.eps' failed
> make[2]: *** [doc/interpreter/triplot.eps] Error 1
> make[2]: *** Waiting for unfinished jobs....
> error: print: figure must be visible or qt toolkit must be used with
> __gl_window__ property 'on' or QT_OFFSCREEN feature available
> error: called from
>     __opengl_print__ at line 202 column 7
>     print at line 752 column 16
>     geometryimages at line 56 column 5
> Makefile:27877: recipe for target 'doc/interpreter/voronoi.eps' failed
> make[2]: *** [doc/interpreter/voronoi.eps] Error 1
> error: print: figure must be visible or qt toolkit must be used with
> __gl_window__ property 'on' or QT_OFFSCREEN feature available
> error: called from
>     __opengl_print__ at line 202 column 7
>     print at line 752 column 16
>     geometryimages at line 72 column 5
> error: print: figure must be visible or qt toolkit must be used with
> __gl_window__ property 'on' or QT_OFFSCREEN feature available
> error: called from
>     __opengl_print__ at line 202 column 7
>     print at line 752 column 16
>     geometryimages at line 79 column 5
> Makefile:27881: recipe for target 'doc/interpreter/griddata.eps' failed
> make[2]: *** [doc/interpreter/griddata.eps] Error 1
> Makefile:27883: recipe for target 'doc/interpreter/convhull.eps' failed
> make[2]: *** [doc/interpreter/convhull.eps] Error 1
> error: print: figure must be visible or qt toolkit must be used with
> __gl_window__ property 'on' or QT_OFFSCREEN feature available
> error: called from
>     __opengl_print__ at line 202 column 7
>     print at line 752 column 16
>     geometryimages at line 89 column 5
> Makefile:27885: recipe for target 'doc/interpreter/delaunay.eps' failed
> make[2]: *** [doc/interpreter/delaunay.eps] Error 1
> error: print: figure must be visible or qt toolkit must be used with
> __gl_window__ property 'on' or QT_OFFSCREEN feature available
> error: called from
>     __opengl_print__ at line 202 column 7
>     print at line 752 column 16
>     interpimages at line 54 column 5
> Makefile:27927: recipe for target 'doc/interpreter/interpn.eps' failed
> make[2]: *** [doc/interpreter/interpn.eps] Error 1
> error: print: figure must be visible or qt toolkit must be used with
> __gl_window__ property 'on' or QT_OFFSCREEN feature available
> error: called from
>     __opengl_print__ at line 202 column 7
>     print at line 752 column 16
>     interpimages at line 65 column 5
> error: print: figure must be visible or qt toolkit must be used with
> __gl_window__ property 'on' or QT_OFFSCREEN feature available
> error: called from
>     __opengl_print__ at line 202 column 7
>     print at line 752 column 16
>     geometryimages at line 99 column 5
> Makefile:27929: recipe for target 'doc/interpreter/interpderiv1.eps' failed
> make[2]: *** [doc/interpreter/interpderiv1.eps] Error 1
> error: print: figure must be visible or qt toolkit must be used with
> __gl_window__ property 'on' or QT_OFFSCREEN feature available
> error: called from
>     __opengl_print__ at line 202 column 7
>     print at line 752 column 16
>     plotimages at line 41 column 5
> Makefile:27887: recipe for target 'doc/interpreter/inpolygon.eps' failed
> make[2]: *** [doc/interpreter/inpolygon.eps] Error 1
> Makefile:27957: recipe for target 'doc/interpreter/plot.eps' failed
> make[2]: *** [doc/interpreter/plot.eps] Error 1
> error: print: figure must be visible or qt toolkit must be used with
> __gl_window__ property 'on' or QT_OFFSCREEN feature available
> error: called from
>     __opengl_print__ at line 202 column 7
>     print at line 752 column 16
>     interpimages at line 44 column 5
> Makefile:27925: recipe for target 'doc/interpreter/interpft.eps' failed
> make[2]: *** [doc/interpreter/interpft.eps] Error 1
> error: print: figure must be visible or qt toolkit must be used with
> __gl_window__ property 'on' or QT_OFFSCREEN feature available
> error: called from
>     __opengl_print__ at line 202 column 7
>     print at line 752 column 16
>     interpimages at line 76 column 5
> Makefile:27931: recipe for target 'doc/interpreter/interpderiv2.eps' failed
> make[2]: *** [doc/interpreter/interpderiv2.eps] Error 1
> make[2]: Leaving directory '/home/tomdean/Math/Octave/octave-code/build'
> Makefile:26379: recipe for target 'all-recursive' failed
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory '/home/tomdean/Math/Octave/octave-code/build'
> Makefile:9963: recipe for target 'all' failed
> make: *** [all] Error 2
>
> Tom Dean
>
>

Does

   ../configure F77=gfortran --without-qt --disable-docs

work for you?  I think there have been many changes in the plotting
system of Octave, and I am not sure if the documentation can be built
these days without the qt-toolkit.  Your "luck" might have been, that
your build-tree was rather old and those documentation images had not to
be built for a long time.

If "--disable-docs" works for you, then we should open a bug report
suggesting that "--without-qt" implies "--disable-docs".

Best,
Kai



Reply | Threaded
Open this post in threaded view
|

Re: Build From Current Sources Fails.

Thomas D. Dean-2
It appears that doc will not build without qt5.

I posted a bug on qt5 to launchpad.  Dmitry Shachnev responded right
away.  The problem was with an earlier install of qttools5-dev and
libqt5help5.  I reinstalled both and the problem is fixed.

Now, octave builds from source with qt5.

I don't want the gui, but, an alias with --no-gui works.

Tom Dean