|
楼主 |
发表于 2006-3-14 13:21:58
|
显示全部楼层
例子二:
编译nmap的前端:
[cyx@localhost nmapfe]$ ./configure
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for pkg-config... /usr/bin/pkg-config
checking for GTK+ - version >= 2.0.0... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
configure: WARNING: NMAPFE WILL NOT BE BUILT -- BUT NMAP SHOULD STILL WORK
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
configure: creating ./config.status
config.status: creating Makefile
说没有gtk+
[cyx@localhost nmapfe]$ rpm -qa|grep gtk+
libgtk+2.0_0-2.8.3-4mdk
libgtk+1.2-1.2.10-41mdk
gtk+2.0-2.8.3-4.2.20060mdk
libgtk+-x11-2.0_0-2.8.3-4mdk
gtk+2.0-2.8.3-4.2.20060mdk,明明存在。肯定是还缺少什么东东。但问题还是我应该装什么东东呢,好像又绕回到上个帖子了。嘿嘿!:ask |
|