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

[[email protected]
mysql-5.0.56]# ./configure –prefix=/usr/local/mysql
–with-charset=gbk –with-extra-charset=all –enable-thread-safe-client
–enable-local-infile –with-low-memory
checking build system type… i686-pc-linux-gnu
checking host system type… i686-pc-linux-gnu
checking target system type… i686-pc-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 “character sets”… default: gbk, collation: gbk_chinese_ci;
compiled in: gbk latin1 utf8
checking whether to compile national Unicode collations… yes
checking whether build environment is sane… yes
checking whether make sets $(MAKE)… (cached) yes
checking for gawk… (cached) gawk
checking for gcc… no
checking for cc… no
checking for cc… no
checking for cl… no
configure: error: no acceptable C compiler found in $PATH
See `config.log’ for more details.
今天在安装mysql时遇到了上面这个问题,解决办法:安装GCC软件套件
 [[email protected]
mysql-5.0.56]# yum install gcc
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.ustc.edu.cn
 * extras: centos.ustc.edu.cn
 *澳门金沙vip, updates: centos.ustc.edu.cn
addons                                                   |  951 B    
00:00    
addons/primary                                           |  202 B    
00:00    
base                                                     | 1.1 kB    
00:00    
base/primary                                             | 961 kB    
00:06    
base                                                                 
2705/2705
extras                                                   | 2.1 kB    
00:00    
extras/primary_db                                        | 171 kB    
00:00    
updates                                                  | 1.9 kB    
00:00     
………………………………………………………………………………
………………………………………………………………………
……………………………………………………….
再次运行上面命令安装mysql即可以正常安装:
[[email protected]
mysql-5.0.56]# ./configure –prefix=/usr/local/mysql
–with-charset=gbk –with-extra-charset=all –enable-thread-safe-client
–enable-local-infile –with-low-memory
checking build system type… i686-redhat-linux-gnu
checking host system type… i686-redhat-linux-gnu
checking target system type… i686-redhat-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 “character sets”… default: gbk, collation: gbk_chinese_ci;
compiled in: gbk latin1 utf8
checking whether to compile national Unicode collations… yes
checking whether build environment is sane… yes
checking whether make sets $(MAKE)… (cached) yes
checking for gawk… (cached) gawk
……………………………………………………………………………………………….
………………………………………………………………………………….
……………………………………………………………………
 
 
 
本文出自 “300second的蜗居” 博客

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 $… 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.

scrot的安装

 protected]]()
mysql-5.0.56]# ./configure –prefix=/usr/local/mysql
–with-charset=gbk –with-extra-charset=all –enable-thread-safe-client
–enable-local-infile –with-low-memory che…

gcc版本信息为:
gcc 4.4.7 20120313 (Red Hat 4.4.7-4)
Copyright 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.

系统CentOS 6.2 i386

  1. # wget
  2. # tar xvf scrot-0.8.tar.gz 
  3. # cd scrot-0.8 
  4. # ./configure  下面出现错误

[root@localhost scrot-0.8]# ./configure
checking for a BSD-compatible install… /usr/bin/install -c
checking whether build environment is sane… yes
checking whether make sets $(MAKE)… yes
checking for working aclocal-1.4… missing
checking for working autoconf… found
checking for working automake-1.4… missing
checking for working autoheader… found
checking for working makeinfo… found
checking for gcc… gcc
checking for C compiler default output… 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 gcc option to accept ANSI C… none needed
checking for an ANSI C-conforming const… yes
checking for a BSD-compatible install… /usr/bin/install -c
checking whether make sets $(MAKE)… (cached) yes
checking whether to enable maintainer-specific portions of Makefiles…
no
checking for giblib-config… no
checking for giblib – version >= 1.2.3… no
*** The giblib-config script installed by giblib could not be found
*** If giblib was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GIBLIB_CONFIG environment variable to
the
*** full path to giblib-config.
configure: error: Cannot find giblib: Is giblib-config in the path?

提示缺少giblib