bugGNU Octave - Bugs: bug #47263, Link to gl2ps even if configuring...

 
 

bug #47263: Link to gl2ps even if configuring without FLTK

Submitted by:  None
Submitted on:  Thu 25 Feb 2016 08:17:02 PM UTC  
 
Category: Configuration and Build SystemSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Build Failure
Status: FixedAssigned to: John W. Eaton <jwe>
Originator Name: SebastianOriginator Email: -unavailable-
Open/Closed: ClosedRelease: dev
Operating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

(Jump to the original submission Jump to the original submission)

Tue 10 May 2016 01:22:30 PM UTC, comment #11:

I did not mean to hijack this bug report.
As suggested, I opened a new bug report.

Anonymous
Mon 09 May 2016 04:05:06 PM UTC, comment #10:

I think Marcus may have a point, but it should be discussed as a fresh issue. Marcus, please report a new bug with your compiler error, also which distribution and compiler you are building with.

Mike Miller <mtmiller>
Project Administrator
Mon 09 May 2016 03:55:02 PM UTC, comment #9:

This works for me.

I ran

This was with cset 1683:54fa4dcba730.

Rik <rik5>
Project Administrator
Mon 09 May 2016 04:23:07 AM UTC, comment #8:

I'd prefer to leave the checks as they are and fix the conditionals in the C++ code to properly reflect what is actually needed. So if the code is using OpenGL features but not checking to see that OpenGL is available, then that seems to be the real bug.

John W. Eaton <jwe>
Project AdministratorIn charge of this item.
Mon 09 May 2016 03:07:32 AM UTC, comment #7:

1487a68a496a seems to case a link error when configure script is given --without-opengl.

As best I can tell, without OpenGL, gl2ps, fontconfig, and freetype are not needed.
Attached is a proposed modification to configure.ac.

(file #37107)

Marcus <mclopez>
Tue 01 Mar 2016 04:14:29 PM UTC, comment #6:

Fixed! Closing report.

Rik <rik5>
Project Administrator
Mon 29 Feb 2016 08:24:04 PM UTC, comment #5:

Thanks, I was remembering the way things worked in the past and didn't check before I modified the text. Fixed here:

http://hg.savannah.gnu.org/hgweb/octave/rev/1233bf2a03a5

John W. Eaton <jwe>
Project AdministratorIn charge of this item.
Mon 29 Feb 2016 12:25:24 PM UTC, comment #4:

@John: I see the following sentence in your last changeset:
"The toolkit used for a given figure may not be changed once the figure is initialized"

I think this is wrong as graphics_toolkit lets you switch from one toolkit to another as you like:

Pantxo Diribarne <pantxo>
Project Member
Mon 29 Feb 2016 04:28:08 AM UTC, comment #3:

I checked in this changeset for the documentation:

http://hg.savannah.gnu.org/hgweb/octave/rev/e5fd5bc5fd90

John W. Eaton <jwe>
Project AdministratorIn charge of this item.
Mon 29 Feb 2016 04:19:27 AM UTC, comment #2:

I checked in the following changeset. It seems to fix the problem for me.

http://hg.savannah.gnu.org/hgweb/octave/rev/1487a68a496a

I missed the part about the documentation. I'll fix that separately unless someone else does it first.

John W. Eaton <jwe>
Project AdministratorIn charge of this item.
Thu 25 Feb 2016 10:14:53 PM UTC, comment #1:

Confirmed on a build with "--without-fltk". The configure scripts reports that "native graphics will be disabled". Octave builds but the doc plots fail to build. Qt is an available toolkit and is the default, but trying to print a figure to a file aborts Octave.

Configure still groups a bunch of things together into the umbrella of "native graphics" from the days when FLTK was the only option. Missing any of the libs along the way turns off the "native graphics" bit and bypasses further tests.

Mike Miller <mtmiller>
Project Administrator
Thu 25 Feb 2016 08:17:02 PM UTC, original submission:

Plotting with qt graphics backend requires gl2ps. However, the configure scripts only links to gl2ps if compiled with FLTK support.

This should also be fixed in the doc: "OpenGL to PostScript printing library (http://www.geuz.org/gl2ps/). gl2ps is required for printing when using the FLTK toolkit.", see https://www.gnu.org/software/octave/doc/interpreter/External-Packages.html

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #37107:  patch-configure.diff added by mclopez (3KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mclopez (Updated the item)
  • -unavailable- added by mclopez
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by pantxo (Posted a comment)
  • -unavailable- added by jwe (Updated the item)
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by None (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 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 09 May 2016 03:07:32 AM UTCmclopezAttached File-=>Added patch-configure.diff, #37107
      Carbon-Copy-=>Added mclopez
    Tue 01 Mar 2016 04:14:29 PM UTCrik5StatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Fri 26 Feb 2016 06:34:48 PM UTCjweAssigned toNone=>jwe
    Thu 25 Feb 2016 10:14:53 PM UTCmtmillerItem GroupNone=>Build Failure
      StatusNone=>Confirmed

    Back to the top


    Powered by Savane 3.1-cleanup1