octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #46923] Compilation errors on dev version


From: Ceral Paquet
Subject: [Octave-bug-tracker] [bug #46923] Compilation errors on dev version
Date: Sun, 17 Jan 2016 21:40:58 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

URL:
  <http://savannah.gnu.org/bugs/?46923>

                 Summary: Compilation errors on dev version
                 Project: GNU Octave
            Submitted by: octavebugs
            Submitted on: Sun 17 Jan 2016 09:40:56 PM GMT
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Compiling octave dev version (4.1+) gives some errors. These are my configure
options.


../configure LD_LIBRARY_PATH="/opt/OpenBLAS/lib"
CPPFLAGS="-I/opt/OpenBLAS/include" LDFLAGS="-L/opt/OpenBLAS/lib" --enable-64
JAVA_HOME="/usr/lib/jvm/java-7-openjdk-amd64" --enable-jit


The error below is not serious. Casting the -1 to octave_idx_type fixes it.


../libinterp/corefcn/jit-typeinfo.cc: In function 'void
octave_jit_ginvalid_index()':
../libinterp/corefcn/jit-typeinfo.cc:226:26: error: call of overloaded
'gripe_invalid_index(int)' is ambiguous
   gripe_invalid_index (-1);



The other error is below from running make. Searching online reveals previous
bug reports (http://octave.1599824.n4.nabble.com/OSMesa-gt-9-0-td4673739.html)
without solution. I'm on Xubuntu 14.04 and the libosmesa version is 10.


Funnily enough, octave seems to work if I ./run-octave from the build
directory and the documentation seems to work fine (e.g. help svd). However
sudo make install throws the same errors and won't go through with the
installation.


...
(lots of errors like the ones below)
...
  GEN      doc/interpreter/splinefit3.eps
error: __osmesa_print__: Depth and stencil doesn't match, are you sure you are
using OSMesa >= 9.0?
error: unhandled execution exception -- eval failed
  GEN      doc/interpreter/splinefit4.eps
error: __osmesa_print__: Depth and stencil doesn't match, are you sure you are
using OSMesa >= 9.0?
error: unhandled execution exception -- eval failed
  GEN      doc/interpreter/splinefit6.eps
error: __osmesa_print__: Depth and stencil doesn't match, are you sure you are
using OSMesa >= 9.0?
error: unhandled execution exception -- eval failed
  TEXI2DVI doc/interpreter/octave.dvi
make[2]: *** [doc/interpreter/octave.dvi] Error 1
make[2]: Leaving directory `/home/octave/build'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/octave/build'
make: *** [install] Error 2






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?46923>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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