在OS X上从源代码编译Cairo包

时间:2015-04-08 21:29:05

标签: r graphics cairo

我无法在R 3.1.3上从Mac(10.10.2)上的源代码编译CRAN上的Cairo包。我不确定错误信息的含义。

任何人都可以解释下面引用缺失符号的错误消息吗?

Error : .onLoad failed in loadNamespace() for 'Cairo', details:
  call: dyn.load(file, DLLpath = DLLpath, ...)
  error: unable to load shared object '/Users/Simon/R/R64_Libs/Cairo/libs/Cairo.so':
  dlopen(/Users/Simon/R/R64_Libs/Cairo/libs/Cairo.so, 6): Symbol not found: _FT_Done_Face
  Referenced from: /Users/Simon/R/R64_Libs/Cairo/libs/Cairo.so
  Expected in: flat namespace
 in /Users/Simon/R/R64_Libs/Cairo/libs/Cairo.so
Error: loading failed
Execution halted

./configure的相关行可能包括:

configure: CAIRO_LIBS=-L/usr/local/lib -L/usr/local/Cellar/libpng/1.6.13/lib -L/usr/X11/lib -L/usr/local/lib -lfreetype -lz -lpng16 -lz -lXrender -lSM -lICE -lX11 -lXext -lcairo

configure: CAIRO_CFLAGS=-I/usr/local/include/cairo -I/usr/X11/include -I/usr/local/include/cairo -I/usr/local/Cellar/glib/2.42.0/include/glib-2.0 -I/usr/local/Cellar/glib/2.42.0/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/include/pixman-1 -I/usr/local/Cellar/fontconfig/2.11.1/include -I/usr/local/Cellar/freetype/2.5.3_1/include/freetype2 -I/usr/local/include/freetype2 -I/usr/local/Cellar/harfbuzz/0.9.35_1/include/harfbuzz -I/usr/local/Cellar/libpng/1.6.13/include/libpng16

0 个答案:

没有答案