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

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

[Octave-bug-tracker] [bug #63915] error message during opengl part of co


From: A.R. Burgers
Subject: [Octave-bug-tracker] [bug #63915] error message during opengl part of configure step
Date: Sun, 12 Mar 2023 04:29:53 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?63915>

                 Summary: error message during opengl part of configure step
                   Group: GNU Octave
               Submitter: arb
               Submitted: Sun 12 Mar 2023 08:29:51 AM UTC
                Category: Configuration and Build System
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error or Warning
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: dev
         Discussion Lock: Any
        Operating System: GNU/Linux
           Fixed Release: None
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Sun 12 Mar 2023 08:29:51 AM UTC By: A.R. Burgers <arb>
The configure output shows an error message, that may have gone unnoticed for
some time, as it doesn't seem to affect the result:


checking for OpenGL support in FLTK... yes
../octave/configure: line 90262: test: =: unary operator expected


The error goes away with this change


diff -r 16b233ccaeab configure.ac
--- a/configure.ac      Wed Mar 08 18:09:14 2023 -0800
+++ b/configure.ac      Sun Mar 12 09:19:28 2023 +0100
@@ -2010,7 +2010,7 @@
 AC_SUBST(FLTK_LIBS)
 
 ### Final determination of whether OpenGL graphics can be built.
-if test $build_qt_graphics = no && test $build_fltk_graphics = no; then
+if test "X$build_qt_graphics" = "Xno" && test "X$build_fltk_graphics" =
"Xno"; then
   opengl_graphics=no
 else
   opengl_graphics=yes


Apparently at least one of build_qt_graphics, built_fltk_graphics is empty at
that point

This is in a pretty complete build environment:


octave is now configured for x86_64-pc-linux-gnu

  Source directory:              ../octave
  Installation prefix:           /home/some_user/x86_64
  C compiler:                    ccache gcc  -pthread -fopenmp  -Wall -W
-Wshadow -Wformat -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes
-Wwrite-strings -Wcast-align -Wcast-qual -g -O2
  C++ compiler:                  ccache g++  -pthread -fopenmp  -Wall -W
-Wshadow -Woverloaded-virtual -Wold-style-cast -Wformat -Wpointer-arith
-Wwrite-strings -Wcast-align -Wcast-qual -g -O2
  Fortran compiler:              ccache gfortran -g -O2 -std=legacy
  CPPFLAGS:                      -I/home/some_user/x86_64/include
  Fortran libraries:              -L/usr/lib/gcc/x86_64-linux-gnu/11
-L/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu
-L/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib -L/lib/x86_64-linux-gnu
-L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib
-L/usr/lib/gcc/x86_64-linux-gnu/11/../../.. -lgfortran -lm -lquadmath
  Lex libraries:                 
  LIBS:                          -lpthread -lm 
  LDFLAGS:                       
  Extra LDFLAGS:                  

  AMD CPPFLAGS:                  
  AMD LDFLAGS:                   
  AMD libraries:                 -lamd
  ARPACK CPPFLAGS:               -I/usr/include/arpack
  ARPACK LDFLAGS:                
  ARPACK libraries:              -larpack
  BLAS libraries:                -lblas
  BZ2 CPPFLAGS:                  
  BZ2 LDFLAGS:                   
  BZ2 libraries:                 -lbz2
  CAMD CPPFLAGS:                 
  CAMD LDFLAGS:                  
  CAMD libraries:                -lcamd
  CARBON libraries:              
  CCOLAMD CPPFLAGS:              
  CCOLAMD LDFLAGS:               
  CCOLAMD libraries:             -lccolamd
  CHOLMOD CPPFLAGS:              
  CHOLMOD LDFLAGS:               
  CHOLMOD libraries:             -lcholmod
  COLAMD CPPFLAGS:               
  COLAMD LDFLAGS:                
  COLAMD libraries:              -lcolamd
  CURL CPPFLAGS:                 
  CURL LDFLAGS:                  
  CURL libraries:                -lcurl
  CXSPARSE CPPFLAGS:             
  CXSPARSE LDFLAGS:              
  CXSPARSE libraries:            -lcxsparse
  DL libraries:                  
  FFTW3 CPPFLAGS:                
  FFTW3 LDFLAGS:                 
  FFTW3 libraries:               -lfftw3_threads -lfftw3
  FFTW3F CPPFLAGS:               
  FFTW3F LDFLAGS:                
  FFTW3F libraries:              -lfftw3f_threads -lfftw3f
  FLTK CPPFLAGS:                 -I/usr/include/cairo -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1
-I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16
-I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16
  FLTK LDFLAGS:                  
  FLTK libraries:                -lfltk_gl -lfltk -lX11
  fontconfig CPPFLAGS:           -I/usr/include/uuid -I/usr/include/freetype2
-I/usr/include/libpng16
  fontconfig libraries:          -lfontconfig -lfreetype
  FreeType2 CPPFLAGS:            -I/usr/include/freetype2
-I/usr/include/libpng16
  FreeType2 libraries:           -lfreetype
  GLPK CPPFLAGS:                 
  GLPK LDFLAGS:                  
  GLPK libraries:                -lglpk
  HDF5 CPPFLAGS:                 -I/usr/include/hdf5/openmpi
-I/usr/lib/x86_64-linux-gnu/openmpi/include
-I/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi
  HDF5 LDFLAGS:                  -L/usr/lib/x86_64-linux-gnu/hdf5/openmpi
-L/usr/lib/x86_64-linux-gnu/openmpi/lib
  HDF5 libraries:                -lhdf5 -lmpi
  Java home:                     /usr/lib/jvm/java-11-openjdk-amd64
  Java JVM path:                
/usr/lib/jvm/java-11-openjdk-amd64/lib/server
  Java CPPFLAGS:                 -I/usr/lib/jvm/java-11-openjdk-amd64/include
-I/usr/lib/jvm/java-11-openjdk-amd64/include/linux
  Java libraries:                
  KLU CPPFLAGS:                  
  KLU LDFLAGS:                   
  KLU libraries:                 -lklu
  LAPACK libraries:              -llapack
  Magick++ CPPFLAGS:             -I/usr/include/GraphicsMagick
  Magick++ LDFLAGS:              
  Magick++ libraries:            -lGraphicsMagick++ -lGraphicsMagick
  OpenGL libraries:              -lGL -lGLU
  PCRE CPPFLAGS:                 
  PCRE LDFLAGS:                  
  PCRE libraries:                -lpcre2-8
  PortAudio CPPFLAGS:            
  PortAudio LDFLAGS:             
  PortAudio libraries:           -lportaudio -lasound -lm -lpthread
  PTHREAD flags:                 -pthread
  PTHREAD libraries:             -lpthread
  QHULL CPPFLAGS:                
  QHULL LDFLAGS:                 
  QHULL libraries:               -lqhull_r
  QRUPDATE CPPFLAGS:             
  QRUPDATE LDFLAGS:              
  QRUPDATE libraries:            -lqrupdate
  Qt CPPFLAGS:                   -I/usr/include/x86_64-linux-gnu/qt5/QtHelp
-I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtSql
-I/usr/include/x86_64-linux-gnu/qt5
-I/usr/include/x86_64-linux-gnu/qt5/QtNetwork
-I/usr/include/x86_64-linux-gnu/qt5
-I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL
-I/usr/include/x86_64-linux-gnu/qt5
-I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport
-I/usr/include/x86_64-linux-gnu/qt5
-I/usr/include/x86_64-linux-gnu/qt5/QtWidgets
-I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui
-I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtXml
-I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore
-I/usr/include/x86_64-linux-gnu/qt5
  Qt LDFLAGS:                    
  Qt GUI libraries:              -lQt5Help -lQt5Sql -lQt5Network -lQt5OpenGL
-lQt5PrintSupport -lQt5Widgets -lQt5Gui -lQt5Xml -lQt5Core -lqscintilla2_qt5
  Qt moc:                        moc -qt=5
  Qt uic:                        uic -qt=5
  Qt rcc:                        rcc -qt=5
  Qt lrelease:                   lrelease -qt=5
  Qt qcollectiongenerator:       qcollectiongenerator -qt=5
  Qt qhelpgenerator:             qhelpgenerator -qt=5
  READLINE libraries:            -lreadline
  Sndfile CPPFLAGS:              -I/usr/include/opus
  Sndfile LDFLAGS:               
  Sndfile libraries:             -lsndfile
  SPQR CPPFLAGS:                 
  SPQR LDFLAGS:                  
  SPQR libraries:                -lspqr
  SuiteSparse config libraries:  -lsuitesparseconfig
  SUNDIALS IDA CPPFLAGS:         
  SUNDIALS IDA LDFLAGS:          
  SUNDIALS IDA libraries:        -lsundials_ida
  SUNDIALS NVECTOR CPPFLAGS:     
  SUNDIALS NVECTOR LDFLAGS:      
  SUNDIALS NVECTOR libraries:    -lsundials_nvecserial
  SUNLINSOL KLU CPPFLAGS:        
  SUNLINSOL KLU LDFLAGS:         
  SUNLINSOL KLU libraries:       -lsundials_sunlinsolklu
  UMFPACK CPPFLAGS:              
  UMFPACK LDFLAGS:               
  UMFPACK libraries:             -lumfpack
  X11 include flags:             
  X11 libraries:                 -lX11
  Z CPPFLAGS:                    
  Z LDFLAGS:                     
  Z libraries:                   -lz

  Default pager:                 less
  gnuplot:                       gnuplot

  Build Octave Qt GUI:                  yes (version: 5)
  Build Java interface:                 yes
  Build static libraries:               no
  Build shared libraries:               yes
  Dynamic Linking API:                  dlopen
  Include support for GNU readline:     yes
  Use push parser in command line REPL: yes
  64-bit array dims and indexing:       yes
  64-bit BLAS array dims and indexing:  no
  OpenMP SMP multithreading:            yes
  Truncate intermediate FP results:     yes
  Build cross tools:                    no
  Build docs:                           yes

configure: WARNING: JAVA_HOME environment variable not initialized. 
Auto-detection will proceed but is unreliable.
configure: 
configure: NOTE: Libraries or auxiliary programs may be skipped if they are
not found
configure: NOTE: OR if they are missing required features on your system.








    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63915>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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