2012-05-14 59 views

回答

0

的./configure --host =手臂-IOS --prefix = $ PREFIX --with-的FreeType-配置= $ PREFIX /斌/ FreeType的-配置--with-ARCH =手臂 使 使安装

+0

我这样做:./configure --host = arm-ios --prefix =/Users/bluefish625/Desktop/fontconfig/prefix/--with-freetype-config = $ PREFIX/bin/freetype-config --with-拱=臂。然后,失败的报告:检查构建系统类型... x86_64-apple-darwin11.3.0 检查主机系统类型...无效配置'arm-ios':系统'ios'未被识别 configure:error:/ bin/sh ./config.sub arm-ios失败 –

+0

我试试这个:./configure CC =“/ Applications/Xcode.app /目录/ Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang”CFLAGS =“ - isysroot/Applications /Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk -arch armv7“--sysconfdir =/Users/bluefish625/Desktop/fontconfig/sysconfdir/--prefix =/Users/bluefish625/Desktop/fontconfig/prefix/--mandir =/Users/bluefish625/Desktop/fontconfig/mandir --disable-shared --host = armv7-apple-darwin --with-freetype-config = $ PREFIX/bin/freetype -config –

+0

。错误信息是:configure:error:找不到pkg-config脚本或者太旧。确保它位于PATH中,或将PKG_CONFIG环境变量设置为pkg-config的完整路径 。 –