bugGNU Octave - Bugs: bug #43987, fltk headers conflict with system...

 
 

bug #43987: fltk headers conflict with system headers on Mac OS X.

Submitted by:  None
Submitted on:  Mon 12 Jan 2015 10:44:50 AM UTC  
 
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Invalid Assigned to:  None
Originator Name:  Laurent Delphin Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  3.8.2
Operating System:  Mac OS

Add a New Comment (Rich Markup)
   

You are not logged in

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

 

Mon 12 Jan 2015 02:41:25 PM UTC, comment #1: 

Thank you for your detailed bug report.

You are unconditionally #including what looks like an old version of FLTK whose declarations conflict with the OS declarations, hence the build error. Manually specifying #include directories with -I instead of using --with-fltk= statements can lead to such problems. I am unable to determine the exact version of fltk that you're using, but it appears to be 1.0? 1.1 is needed. However, even if you find the right fltk version, it would be problematic, due to bug #42596.

I don't consider your build problem an Octave bug. If you want to build Octave on Mac OS X, a less error-prone way is to use homeports or macbrew.

Jordi GutiƩrrez Hermoso <jordigh>
Project Administrator
Mon 12 Jan 2015 10:44:50 AM UTC, original submission:  

Goal : building and installing Octave v. 3.8.x, in particular v. 3.8.2 under Snow Leopard (Mac OS X - APPLE computer).

1.  The computer and OS : Intel Core 2 Duo, Snow Leopard (v. 10.6.8), three families of compilers tested (LLVM/Clang I built, recent GNU cc I built, XCode GNU cc).
I used teh XCode GNU cc in this case.

2. 'configure' step : successful. 'Make' step : almost. It seems this is the gui part that fails.

3. No - bin - installation.

4 All the v. 3.6.x Octave family was succesfully installed, and run well.

Encl. 1 ZIP file including config.log and other log files generated by Make, Make check ...

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #32809:  2015-01-12-FAILURE_382-Snow_Leopard-Xcode_GNU_cc.zip added by None (276KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jordigh (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

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

    Only project members can vote.

     

     

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-01-12 jordigh StatusNone => Invalid
        Open/ClosedOpen => Closed
        SummaryMake failed => fltk headers conflict with system headers on Mac OS X.
    2015-01-12 None Attached File- => Added 2015-01-12-FAILURE_382-Snow_Leopard-Xcode_GNU_cc.zip, #32809

    Back to the top


    Powered by Savane 3.5