bugGNU Octave - Bugs: bug #44017, build failure with GUI and...

 
 

bug #44017: build failure with GUI and --without-opengl

Submitted by:  Mike Miller <mtmiller>
Submitted on:  Fri 16 Jan 2015 02:37:07 AM UTC  
 
Category: Configuration and Build SystemSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Build Failure
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 18 Jan 2015 11:45:02 PM UTC, comment #5:

Fixed with changeset http://hg.savannah.gnu.org/hgweb/octave/rev/722ff3e45bea

Mike Miller <mtmiller>
Project Administrator
Sat 17 Jan 2015 02:57:31 PM UTC, comment #4:

I think we should do whatever is easiest for us since this is going to be such a rare combination. If anyone is going to be building without OpenGL for plotting then I think it is fine to build an absolutely minimal Octave (no GUI) which would just be the CLI interface. This would still be very useful if you are using Octave just as a batch data processor.

Rik <rik5>
Project Administrator
Sat 17 Jan 2015 05:47:43 AM UTC, comment #3:

Looking back at previous versions, the --without-opengl option was in the 3.4 release as essentially a synonym for "don't build FLTK plotting". With --without-opengl, all checks for FreeType, Fontconfig, and FLTK were bypassed. So it was kind of like a --without option for all of those libraries together as a bundle.

It's still pretty much like that. But now we have two different OpenGL plot systems. And we now have a --without-fltk option, so users can build with OpenGL and Qt but avoid using FLTK if they want. And our Qt detection is requiring QtOpenGL unconditionally. I'm also ok with saying the GUI requires OpenGL, just not sure how best to express that in configure.

If a user legitimately doesn't have OpenGL libraries installed, then they also shouldn't have QtOpenGL available, and so the GUI will be disabled. But if a user does have OpenGL but wants to avoid linking against it for whatever reason, should we take away that option or should we make that force the GUI to be disabled also?

Mike Miller <mtmiller>
Project Administrator
Fri 16 Jan 2015 04:49:47 PM UTC, comment #2:

Why do we have the --without-opengl flag anyways? Is it to support the Mac platform? In that case there might be a usage case where people want to build the GUI with OpenGL. If there is no really good reason then I'm fine with saying the GUI requires OpenGL and just pointing to the CLI version of Octave if you want no OpenGL and gnuplot for plotting.

Rik <rik5>
Project Administrator
Fri 16 Jan 2015 03:55:39 AM UTC, comment #1:

And I get the same error building the gui-release branch with the --without-opengl option.

Mike Miller <mtmiller>
Project Administrator
Fri 16 Jan 2015 02:37:07 AM UTC, original submission:

The default branch currently fails to build when the --without-opengl configure option is given, but the Qt libraries are detected and the libgui directory is built. Looks like it is because the Qt plotting modules are built unconditionally when the GUI is enabled, and they depend on libGL.

The error looks like:

I will try the same thing on the gui-release branch, I expect it will fail with the same error.

What do we want to do, if --without-opengl is given disable the GUI completely? Or introduce some conditionals to build the GUI but without Qt-based plotting?

Mike Miller <mtmiller>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by mtmiller (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 18 Jan 2015 11:45:02 PM UTCmtmillerStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1