Linux下安装tripwire-2.4.2.2-src.tar.bz2报错

当我执行完./configure之后:checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.

gcc版本信息为:
gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-4)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

1个回答

http://blog.csdn.net/tyyhong/article/details/4266749
楼主可以参考这个文章看看,大致意思就是:
1、gcc是不是安装好了,自己写一个hello的Demo编译一下就知道。
2、是不是环境变量被修改了,改回来,
sh export LIBS=
sh export CFLAGS=

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问