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

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

[Octave-bug-tracker] [bug #49138] FLTK found at configure but all fltk t


From: Carlo de Falco
Subject: [Octave-bug-tracker] [bug #49138] FLTK found at configure but all fltk toolkit tests fail
Date: Tue, 20 Sep 2016 13:13:14 +0000 (UTC)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:48.0) Gecko/20100101 Firefox/48.0

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

                 Summary: FLTK found at configure but all fltk toolkit tests
fail
                 Project: GNU Octave
            Submitted by: cdf
            Submitted on: Tue 20 Sep 2016 03:13:12 PM CEST
                Category: Configuration and Build System
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.2.0-rc1
        Operating System: Mac OS

    _______________________________________________________

Details:

Hi,

This appears again to be an inconsistency between
configure and make check on OSX:

When running configure FLTK and OpenGL appear
to be correctly detected [1]:


checking for fltk-config... /usr/local/bin/fltk-config
checking for OpenGL support in FLTK... yes


but, when running 'make check' all tests related to the
fltk toolkit fail [2]:


***** testif HAVE_OPENGL, HAVE_FLTK
 hf = figure ("visible", "off");
 graphics_toolkit (hf, "fltk");
 unwind_protect
   subplot(2,1,1); plot(rand(10,1)); subplot(2,1,2); plot(rand(10,1));
   hax = findall (gcf (), "type", "axes");
   positions = cell2mat (get (hax, "position"));
   outerpositions = cell2mat (get (hax, "outerposition"));
   looseinsets = cell2mat (get (hax, "looseinset"));
   tightinsets = cell2mat (get (hax, "tightinset"));
   subplot(2,1,1); plot(rand(10,1)); subplot(2,1,2); plot(rand(10,1));
   hax = findall (gcf (), "type", "axes");
   assert (cell2mat (get (hax, "position")), positions, 1e-4);
   assert (cell2mat (get (hax, "outerposition")), outerpositions, 1e-4);
   assert (cell2mat (get (hax, "looseinset")), looseinsets, 1e-4);
   assert (cell2mat (get (hax, "tightinset")), tightinsets, 1e-4);
 unwind_protect_cleanup
   close (hf);
 end_unwind_protect
!!!!! test failed
graphics_toolkit: fltk toolkit is not available


the message about missing fltk toolkit seems inconsistent
with HAVE_FLTK evaluating to true ...

c.

[1]
http://buildbot.octave.org:8010/builders/clang-osx/builds/23/steps/configure/logs/stdio
[2] http://www1.mate.polimi.it/~carlo/fntests.log




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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