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