On a host with: # equery belongs /usr/include/freetype2/ftglyph.h * Searching for /usr/include/freetype2/ftglyph.h ... media-libs/freetype-2.5.5 (/usr/include/freetype2/ftglyph.h) # I received while compiling plplot: cd /var/tmp/portage/sci-libs/plplot-5.11.1-r1/work/plplot-5.11.1_build/drivers && /usr/bin/cmake -E cmake_link_script CMakeFiles/plmeta.dir/link.txt --verbose=1 /usr/bin/x86_64-pc-linux-gnu-gcc -fPIC -O2 -pipe -march=native -Wl,-O1 -Wl,--as-needed -shared -Wl,-soname,plmeta.so -o plmeta.so CMakeFiles/plmeta.dir/plmeta.c.o ../src/libplplot.so.13.1.2 -lm -Wl,-rpath,/var/tmp/portage/sci-libs/plplot-5.11.1-r1/work/plplot-5.11.1_build/src: In file included from /var/tmp/portage/sci-libs/plplot-5.11.1-r1/work/plplot-5.11.1/drivers/psttf.cc:44:0: /usr/include/LASi.h:14:30: fatal error: freetype/ftglyph.h: No such file or directory #include <freetype/ftglyph.h> ^ compilation terminated. drivers/CMakeFiles/psttf.dir/build.make:62: recipe for target 'drivers/CMakeFiles/psttf.dir/psttf.cc.o' failed make[2]: *** [drivers/CMakeFiles/psttf.dir/psttf.cc.o] Error 1 make[2]: Leaving directory '/var/tmp/portage/sci-libs/plplot-5.11.1-r1/work/plplot-5.11.1_build' CMakeFiles/Makefile2:1907: recipe for target 'drivers/CMakeFiles/psttf.dir/all' failed make[1]: *** [drivers/CMakeFiles/psttf.dir/all] Error 2 Seems never version install it here: # equery belongs /usr/include/freetype2/freetype/ftglyph.h * Searching for /usr/include/freetype2/freetype/ftglyph.h ... media-libs/freetype-2.6.1-r1 (/usr/include/freetype2/freetype/ftglyph.h) # Hmm, but media-libs/freetype-2.6.1-r1 is not stabilized for amd64. :( Re-installling 2.5.5 did not help, btw.
Only 2.6 versions in tree