[MacPorts] #41567: graphviz, freetype, libLASi: fatal error: 'freetype/ftglyph.h' file not found
#41567: graphviz, freetype, libLASi: fatal error: 'freetype/ftglyph.h' file not found ---------------------+----------------------------------------- Reporter: mojca@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: freetype, libLASi, graphviz ---------------------+----------------------------------------- I'm unable to upgrade graphviz because `/opt/local/include/LASi.h` that includes {{{ #include <freetype/ftglyph.h> }}} isn't able to find that file: {{{ :info:build In file included from gvrender_lasi.cpp:21: :info:build /opt/local/include/LASi.h:14:10: fatal error: 'freetype/ftglyph.h' file not found :info:build #include <freetype/ftglyph.h> :info:build ^ :info:build 1 error generated. }}} I used to have that file in `/opt/local/include/freetype2/freetype/ftglyph.h`, but it seems that it has now been moved to `/opt/local/include/freetype2/ftglyph.h`, so `#include <freetype/ftglyph.h>` cannot be found any longer. -- Ticket URL: <https://trac.macports.org/ticket/41567> MacPorts <http://www.macports.org/> Ports system for OS X
#41567: graphviz, freetype, libLASi: fatal error: 'freetype/ftglyph.h' file not found ------------------------------------------+-------------------------------- Reporter: mojca@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: freetype, libLASi, graphviz | ------------------------------------------+-------------------------------- Comment (by ryandesign@…): From the freetype 2.5.1 CHANGES file: {{{ - The header file layout has been changed. After installation, all files are now located in `<prefix>/include/freetype2'. Applications that use (a) `freetype-config' or FreeType's `pkg-config' file to get the include directory for the compiler, and (b) the documented way for header inclusion like #include <ft2build.h> #include FT_FREETYPE_H ... don't need any change to the source code. }}} So I guess libLASi is doing it wrong. -- Ticket URL: <https://trac.macports.org/ticket/41567#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#41567: libLASi: fatal error: 'freetype/ftglyph.h' file not found ----------------------+----------------------- Reporter: mojca@… | Owner: takeshi@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: libLASi | ----------------------+----------------------- Changes (by ryandesign@…): * cc: takeshi@… (removed) * owner: macports-tickets@… => takeshi@… * port: freetype, libLASi, graphviz => libLASi Comment: Building libLASi @1.1.1 fails with freetype 2.5.1 with similar errors: {{{ /opt/local/var/macports/build/_Users_rschmidt_macports_dports_print_libLASi/libLASi/work/libLASi-1.1.1/src/drawGlyph.cpp:9:10: fatal error: 'freetype/ftoutln.h' file not found #include <freetype/ftoutln.h> ^ 1 error generated. }}} I'll try to solve it and report a bug to the developers. -- Ticket URL: <https://trac.macports.org/ticket/41567#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#41567: libLASi: fatal error: 'freetype/ftglyph.h' file not found ----------------------+----------------------- Reporter: mojca@… | Owner: takeshi@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: libLASi | ----------------------+----------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: Replying to [comment:2 ryandesign@…]:
I'll try to solve it
r114013—pardon me for committing to this non-openmaintainer port, but since I broke it by updating freetype I felt responsible for fixing it ASAP.
and report a bug to the developers.
https://sourceforge.net/p/lasi/bugs/2/ -- Ticket URL: <https://trac.macports.org/ticket/41567#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#41567: libLASi: fatal error: 'freetype/ftglyph.h' file not found ----------------------+----------------------- Reporter: mojca@… | Owner: takeshi@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: libLASi | ----------------------+----------------------- Comment (by takeshi@…): Thank you, Ryan. I added open maintainer ;-) -- Ticket URL: <https://trac.macports.org/ticket/41567#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#41567: libLASi: fatal error: 'freetype/ftglyph.h' file not found ----------------------+----------------------- Reporter: mojca@… | Owner: takeshi@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: libLASi | ----------------------+----------------------- Comment (by ryandesign@…): Has duplicate #41573. -- Ticket URL: <https://trac.macports.org/ticket/41567#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts