大家好,
最近想装一个fbterm,于是就让朋友帮忙下了一个源码包,./configure之后优如下信息(重点的位置我描红了):
checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for g++... g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of g++... gcc3 checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking for ranlib... ranlib checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for forkpty in -lutil... yes checking for FT2... configure: error: Package requirements (freetype2) were not met:
No package 'freetype2' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.
Alternatively, you may set the environment variables FT2_CFLAGS and FT2_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.
==========================
请问: 1、C89这个怎么调?似乎用不了./configure --prefix=/usr/cjk/fbterm --std=89这个参数... 2、交叉编译这个是因为什么没过去?
3、这个FT2包在哪里?需要额外的设置或源的支持吗?
另:提前祝大家春节快乐