[HarfBuzz] building on OSX with Homebrew testing
Rolf Langenhuijzen
rolf.langenhuijzen at xs4all.nl
Thu Mar 27 12:07:03 PDT 2014
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.
I have setup a clean OS X Mavericks on VMWare Fusion (I tried VirtualBox, didn’t work properly), then straight to terminal.
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:
CXX libharfbuzz_la-hb-ft.lo
GEN libharfbuzz.la
Undefined symbols for architecture x86_64:
"_FT_Done_Face", referenced from:
_hb_ft_font_set_funcs in libharfbuzz_la-hb-ft.o
_hb_ft_font_get_face in libharfbuzz_la-hb-ft.o
"_FT_Done_FreeType", referenced from:
_hb_ft_font_set_funcs in libharfbuzz_la-hb-ft.o
free_ft_library() in libharfbuzz_la-hb-ft.o
"_FT_Get_Advance", referenced from:
hb_ft_get_glyph_h_advance(hb_font_t*, void*, unsigned int, void*) in libharfbuzz_la-hb-ft.o
hb_ft_get_glyph_v_advance(hb_font_t*, void*, unsigned int, void*) in libharfbuzz_la-hb-ft.o
"_FT_Get_Char_Index", referenced from:
hb_ft_get_glyph(hb_font_t*, void*, unsigned int, unsigned int, unsigned int*, void*) in libharfbuzz_la-hb-ft.o
"_FT_Get_Glyph_Name", referenced from:
hb_ft_get_glyph_name(hb_font_t*, void*, unsigned int, char*, unsigned int, void*) in libharfbuzz_la-hb-ft.o
hb_ft_get_glyph_from_name(hb_font_t*, void*, char const*, int, unsigned int*, void*) in libharfbuzz_la-hb-ft.o
"_FT_Get_Kerning", referenced from:
hb_ft_get_glyph_h_kerning(hb_font_t*, void*, unsigned int, unsigned int, void*) in libharfbuzz_la-hb-ft.o
"_FT_Get_Name_Index", referenced from:
hb_ft_get_glyph_from_name(hb_font_t*, void*, char const*, int, unsigned int*, void*) in libharfbuzz_la-hb-ft.o
"_FT_Init_FreeType", referenced from:
_hb_ft_font_set_funcs in libharfbuzz_la-hb-ft.o
"_FT_Load_Glyph", referenced from:
hb_ft_get_glyph_v_origin(hb_font_t*, void*, unsigned int, int*, int*, void*) in libharfbuzz_la-hb-ft.o
hb_ft_get_glyph_extents(hb_font_t*, void*, unsigned int, hb_glyph_extents_t*, void*) in libharfbuzz_la-hb-ft.o
hb_ft_get_glyph_contour_point(hb_font_t*, void*, unsigned int, unsigned int, int*, int*, void*) in libharfbuzz_la-hb-ft.o
"_FT_Load_Sfnt_Table", referenced from:
reference_table(hb_face_t*, unsigned int, void*) in libharfbuzz_la-hb-ft.o
"_FT_New_Memory_Face", referenced from:
_hb_ft_font_set_funcs in libharfbuzz_la-hb-ft.o
"_FT_Select_Charmap", referenced from:
_hb_ft_font_set_funcs in libharfbuzz_la-hb-ft.o
"_FT_Set_Char_Size", referenced from:
_hb_ft_font_set_funcs in libharfbuzz_la-hb-ft.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[4]: *** [libharfbuzz.la] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/harfbuzz/attachments/20140327/75c8133d/attachment.html>
More information about the HarfBuzz
mailing list