octave-maintainers
[Top][All Lists]
Advanced

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

Re: Octave 3.1.50 available for ftp


From: Dmitri A. Sergatskov
Subject: Re: Octave 3.1.50 available for ftp
Date: Sun, 20 Jul 2008 16:47:46 -0500

On Sun, Jul 20, 2008 at 2:43 PM, Michael Goffioul
<address@hidden> wrote:
> On Sun, Jul 20, 2008 at 9:32 PM, Dmitri A. Sergatskov
> <address@hidden> wrote:
>> octave:1> input_event_hook ("__fltk_redraw__");
>> octave:2> error: /home/dima/src/octave-3.1.50/src/fltk_backend.oct:
>> undefined symbol: _ZTV15opengl_renderer
>> terminate called after throwing an instance of 'octave_execution_exception'
>> panic: Aborted -- stopping myself...
>> Aborted
>>
>> Do I need a special FLTK  - GL library? configure did not complain....
>
> No. I think the problem is simply that the octave package does not
> contain the source file gl-render.cc. However, you also need FTGL
> and because of this missing dependency, the configure script just
> didn't include the OpenGL renderer in the compilation.

I do have FTGL, but I noticed that configure cannot find OpenGL libraries.
Here is config.log

configure:10698: checking for GL/gl.h
configure:10722: gcc -c -g -O2   conftest.c >&5
configure:10728: $? = 0
configure:10744: result: yes
configure:10756: checking for GL/glu.h
configure:10780: gcc -c -g -O2   conftest.c >&5
configure:10786: $? = 0
configure:10802: result: yes
configure:10698: checking for OpenGL/gl.h
configure:10722: gcc -c -g -O2   conftest.c >&5
conftest.c:46:23: error: OpenGL/gl.h: No such file or directory
configure:10728: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define OCTAVE_SOURCE 1
| #define _GNU_SOURCE 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SEPCHAR ':'
| #define SEPCHAR_STR ":"
| #define __NO_MATH_INLINES 1
| #define CXX_NEW_FRIEND_TEMPLATE_DECL 1
| #define CXX_ISO_COMPLIANT_LIBRARY 1
| #define CXX_ABI gnu_v3
| #define HAVE_LIBM 1
| #define HAVE_QHULL 1
| #define HAVE_PCRE 1
| #define HAVE_REGEXEC 1
| #define HAVE_REGEX 1
| #define HAVE_ZLIB_H 1
| #define HAVE_ZLIB 1
| #define HAVE_FFTW3 1
| #define HAVE_GLPK_GLPK_H 1
| #define HAVE_GLPK 1
| #define HAVE_CURL_CURL_H 1
| #define HAVE_CURL 1
| #define HAVE_MAGICK 1
| #define HAVE_GL_GL_H 1
| #define HAVE_GL_GLU_H 1
| /* end confdefs.h.  */
|
| #ifdef HAVE_WINDOWS_H
| # include <windows.h>
| #endif
|
| #include <OpenGL/gl.h>
configure:10744: result: no
....

And the output of configure:

Octave is now configured for x86_64-unknown-linux-gnu

  Source directory:     .
  Installation prefix:  /usr/local
  C compiler:           gcc   -Wall -W -Wshadow -g -O2
  C++ compiler:         g++   -Wall -W -Wshadow -Wold-style-cast -g -O2
  Fortran compiler:     gfortran -O
  Fortran libraries:     -L/usr/lib/gcc/x86_64-redhat-linux/4.3.0
-L/usr/lib/gcc/x86_64-redhat-linux/4.3.0/../../../../lib64
-L/lib/../lib64 -L/usr/lib/../lib64
-L/usr/lib/gcc/x86_64-redhat-linux/4.3.0/../../.. -lz -lgfortranbegin
-lgfortran -lm
  BLAS libraries:       -llapack -lblas
  FFTW libraries:       -lfftw3 -lfftw3f
  GLPK libraries:       -lglpk
  UMFPACK libraries:    -lumfpack
  AMD libraries:        -lamd
  CAMD libraries:       -lcamd
  COLAMD libraries:     -lcolamd
  CCOLAMD libraries:    -lccolamd
  CHOLMOD libraries:    -lcholmod
  CXSPARSE libraries:   -lcxsparse
  HDF5 libraries:
  CURL libraries:       -lcurl
  REGEX libraries:      -lpcre
  QHULL libraries:      -lqhull
  LIBS:                 -lreadline  -lncurses -ldl -lblas -lz -lm
  Default pager:        less
  gnuplot:              gnuplot
  OPENGL libraries:
  FLTK backend libs:    -L/usr/lib64 -lfltk_gl -lGLU -lGL -lfltk
  Magick config:        GraphicsMagick++-config

  Do internal array bounds checking:  false
  Build static libraries:             false
  Build shared libraries:             true
  Dynamic Linking:                    true (dlopen)
  Include support for GNU readline:   true
  64-bit array dims and indexing:     false


>
> Michael.
>

Dmitri.
--


reply via email to

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