<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Even though it looked dead easy to build Harfbuzz on OSX with Homebrew and Harfbuzz-from-GitHub I have some issues. I’m trying to make notes along the way until we have a working version. The goal is to build with cairo and also icu4c and gtk-doc in the end.<div><br></div><div>I have setup a clean OS X Mavericks on VMWare Fusion (I tried VirtualBox, didn’t work properly), then straight to terminal.<br><div><br></div><div>At the moment I have to feed ./configure paths where to find the brew libs (using things like CAIRO_CFLAGS and CAIRO_FT_LIBS etc.). But anyway, when I try to make, this is what I get and not sure what to do:</div><div><br></div><div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">  CXX      libharfbuzz_la-hb-ft.lo</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">  GEN      libharfbuzz.la</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Undefined symbols for architecture x86_64:</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">  "_FT_Done_Face", referenced from:</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">      _hb_ft_font_set_funcs in libharfbuzz_la-hb-ft.o</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">      _hb_ft_font_get_face in libharfbuzz_la-hb-ft.o</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">  "_FT_Done_FreeType", referenced from:</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">      _hb_ft_font_set_funcs in libharfbuzz_la-hb-ft.o</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">      free_ft_library() in libharfbuzz_la-hb-ft.o</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">  "_FT_Get_Advance", referenced from:</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">      hb_ft_get_glyph_h_advance(hb_font_t*, void*, unsigned int, void*) in libharfbuzz_la-hb-ft.o</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">      hb_ft_get_glyph_v_advance(hb_font_t*, void*, unsigned int, void*) in libharfbuzz_la-hb-ft.o</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">  "_FT_Get_Char_Index", referenced from:</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">      hb_ft_get_glyph(hb_font_t*, void*, unsigned int, unsigned int, unsigned int*, void*) in libharfbuzz_la-hb-ft.o</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">  "_FT_Get_Glyph_Name", referenced from:</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">      hb_ft_get_glyph_name(hb_font_t*, void*, unsigned int, char*, unsigned int, void*) in libharfbuzz_la-hb-ft.o</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">      hb_ft_get_glyph_from_name(hb_font_t*, void*, char const*, int, unsigned int*, void*) in libharfbuzz_la-hb-ft.o</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">  "_FT_Get_Kerning", referenced from:</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">      hb_ft_get_glyph_h_kerning(hb_font_t*, void*, unsigned int, unsigned int, void*) in libharfbuzz_la-hb-ft.o</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">  "_FT_Get_Name_Index", referenced from:</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">      hb_ft_get_glyph_from_name(hb_font_t*, void*, char const*, int, unsigned int*, void*) in libharfbuzz_la-hb-ft.o</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">  "_FT_Init_FreeType", referenced from:</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">      _hb_ft_font_set_funcs in libharfbuzz_la-hb-ft.o</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">  "_FT_Load_Glyph", referenced from:</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">      hb_ft_get_glyph_v_origin(hb_font_t*, void*, unsigned int, int*, int*, void*) in libharfbuzz_la-hb-ft.o</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">      hb_ft_get_glyph_extents(hb_font_t*, void*, unsigned int, hb_glyph_extents_t*, void*) in libharfbuzz_la-hb-ft.o</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">      hb_ft_get_glyph_contour_point(hb_font_t*, void*, unsigned int, unsigned int, int*, int*, void*) in libharfbuzz_la-hb-ft.o</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">  "_FT_Load_Sfnt_Table", referenced from:</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">      reference_table(hb_face_t*, unsigned int, void*) in libharfbuzz_la-hb-ft.o</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">  "_FT_New_Memory_Face", referenced from:</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">      _hb_ft_font_set_funcs in libharfbuzz_la-hb-ft.o</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">  "_FT_Select_Charmap", referenced from:</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">      _hb_ft_font_set_funcs in libharfbuzz_la-hb-ft.o</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">  "_FT_Set_Char_Size", referenced from:</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">      _hb_ft_font_set_funcs in libharfbuzz_la-hb-ft.o</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">ld: symbol(s) not found for architecture x86_64</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">clang: error: linker command failed with exit code 1 (use -v to see invocation)</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">make[4]: *** [libharfbuzz.la] Error 1</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">make[3]: *** [all-recursive] Error 1</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">make[2]: *** [all] Error 2</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">make[1]: *** [all-recursive] Error 1</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">make: *** [all] Error 2</div></div></div></body></html>