请教各位,我遇到了两个问题,第一个:当我输入./configure的时候,发生了 configure: error: C. preprocessor "/lib/.cpp" fails sanity check. 鲜花
See `config.log' for more details.这样的错误。有人说是由于我的系统缺少gcc-c的编辑器,可我仔细看.了我的系统,这些编辑器我.全.部都安装过了。--- 印刷
第二个:根据有人提及的.我可以输入apt.-get install build-essential命令,可当我输入就出现bash: apt-get: .command not found的错误。有人说是环.境变量的问题,可我真是一个初学者,确实不知道该怎么改。请教各位大侠,小弟不胜感激。
以下是我的命令行:
[root@localhost minigui]# cd /home/.minigui/libminig.ui-1.6.10教育
[root@localhost libminigui-1.6.10.]# ./configure.电影
checking build system typ.e... i686-p.c-linux-gnu域名
c.hecking host system type... i686-pc-linux-.gnu电影
checking target system. type... i686-pc-linux-gn.u.
checking for gcc.... gcc.
checking for C compiler defaul.t output. file name... a.out--------------彩票
checking whether the C compile.r .works... yes电脑
checking w.hethe.r we are cross compiling... no.
checking for suffix o.f executa.bles....
checkin.g for suffix of object files.... o.
checking whether we are using the. GNU C c.ompiler... yes--------------彩票
checking whether gcc a.ccepts -g... ye.s.
checking for gcc option to accept ISO C89... .n.one needed.
checking for ld us..ed by GCC... /usr/bin/ld--------------彩票
checking if the linker (/usr/bin/ld) is. GNU ld.... yes 婚庆
checking for ranli.b.... ranlib 婚庆
check.ing for /usr./bin/ld option to reload object files... -r[成人用品]
checking for BSD-c.ompa.tible nm... /usr/bin/nm -B电脑
checking for a. sed that does not truncate output... /bin/s.ed投资
checking whether l.n -s works... y.es.
checking how to reco.gnise dependent libraries... pass_all.域名
checking command to parse /usr/b.in/nm -B out.put... ok.
checking how to run the C pre.processor... /l.ib/cpp.
c.onfigure: error: C preprocessor "/lib/cpp". fails sanity check教育
See `config..log' for m.ore details.域名
[
root@loca.lhost libminigui-1.6.10.]# apt-get 建材
b.ash: apt-get: command not. found 美容
[root@localhost libminigui-1.6.10]# apt-.get install. build-essential--------------彩票
bas.h: apt-get.: command not found.