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

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

[Octave-bug-tracker] [bug #47886] Do not link against libraries without


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #47886] Do not link against libraries without OpenGL
Date: Tue, 10 May 2016 18:21:58 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0

Update of bug #47886 (project octave):

                  Status:                    None => Confirmed              

    _______________________________________________________

Follow-up Comment #1:

I can confirm that building Octave with --without-opengl still links with
fltk, gl2ps, freetype, and fontconfig, and libGL indirectly through one or
more of these libraries.

I do *not* get the error shown here because on my system the OpenGL libraries
are pulled in via gl2ps or fltk, so no unresolved symbols. But the end result
is linked with libGL.

The provided patch attempts to put the logic back into configure to bypass
checking for things that may depend on OpenGL.

I think we should fix this in the code, if possible, if there is a code module
that depends on both gl2ps and OpenGL, then more conditionals should be added
to ensure that it isn't built without both of them enabled. The module that
fails to link that you've shown does indeed have OpenGL calls in the code, so
maybe it should be conditioned against both HAVE_GL2PS and HAVE_OPENGL.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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