ocamlc.opt -I ../corelib -c oFreetype.ml In file included from ftintf.c:23: /usr/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' hasn't been included yet!" /usr/include/freetype2/freetype/freetype.h:21:2: #error "Please always use macros to include FreeType header files." /usr/include/freetype2/freetype/freetype.h:22:2: #error "Example:" /usr/include/freetype2/freetype/freetype.h:23:2: #error " #include <ft2build.h>" /usr/include/freetype2/freetype/freetype.h:24:2: #error " #include FT_FREETYPE_H" make[1]: *** [ftintf.o] Error 2 There were some changes between freetype 2.1.5 and 2.1.6; the new camlimages 2.2 do compile with these changes -> ebuild attached. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 47325 [details] camlimages-2.20.ebuild
Freetype seems to play a pivotal role in many packages. I ran into the same error msgs emerging xfree, gtk+, gnome, etc. Try going down to version 2.1.5-r1. You can do this with emerge =freetype-2.1.5-r1. The recent rsync still recommendes version 2.1.9 but on packages.gentoo.org this version is marked as M~. Not quite sure why...
I added version 2.2 (as 2.20) to CVS and removed the old 2.11 version. Please test and report if you still have the same problems.
I just installed camlimages-2.20 with media-libs/freetype-2.1.9-r1 (which I assume the subject actually ment, since I see no freetype-2.9 in portage). This was on x86.
Seems fine, closing.