Menu

#40 Build failure on case-sensitive filesystem

v1.0_(example)
open
nobody
None
1
2018-12-21
2018-12-21
No

Building mathgl 2.4.2.1 on a case-sensitive filesystem fails with an error like:

widgets/image.h:21:10: fatal error: 'Fl/Fl_RGB_Image.H' file not found
#include <Fl/Fl_RGB_Image.H>
         ^~~~~~~~~~~~~~~~~~~
1 error generated.

The correct directory name is "FL", not "Fl".

Here is the fix:

https://github.com/macports/macports-ports/commit/50ff97acd687606f5a4298b387d3ff5b51497a84

Discussion

  • Alexey Balakin

    Alexey Balakin - 2018-12-21

    Hi!
    I replace all "Fl/" by "FL/". It looks as it is rather modern change in FLTK. Because Ubuntu and Debian used "Fl" for FLTK headers, and only modern versions have both "Fl" and "FL" folders.

     
  • Ryan Carsten Schmidt

    Thanks. As far as I can tell, the correct directory name has always been "FL". Even the documentation for fltk version 1.0 says so:

    https://www.fltk.org/doc-1.0/basics.html

    fltk 1.0 was released in 1999.

    fltk 1.3.4 built with MacPorts on macOS with a case-sensitive filesystem has only an "FL" directory, and no "Fl" directory; you can see it in these files: https://packages.macports.org/fltk/

    I am not familiar with Ubuntu or Debian , but I took a look at the Debian fltk 1.3 package, and it looks like they are creating an "Fl" symlink point to the "FL" directory, presumably trying to be helpful to those projects using the wrong case. Unfortunately, this just perpetuates the problem, since if you develop on such a system you might not realize you're using the wrong case.

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB