分类目录归档:Squid

SquidTL安装–待续

安装系统:CentOS 7.1

1wget http://www.zerozone.it/Software/Linux/SquidTL/squidtl-0.0.2.tar.gz
2 
3tar -vxzf squidtl-0.0.2.tar.gz
4 
5cd squidtl/

1yum install automake
2cp -rf /usr/share/automake-1.13 /usr/share/automake-1.10

01# ./configure
02checking for a BSD-compatible install... /usr/bin/install -c
03checking whether build environment is sane... yes
04checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
05checking for gawk... gawk
06checking whether make sets $(MAKE)... yes
07checking for gcc... gcc
08checking for C compiler default output file name... a.out
09checking whether the C compiler works... yes
10checking whether we are cross compiling... no
11checking for suffix of executables...
12checking for suffix of object files... o
13checking whether we are using the GNU C compiler... yes
14checking whether gcc accepts -g... yes
15checking for gcc option to accept ISO C89... none needed
16checking for style of include used by make... GNU
17checking dependency style of gcc... gcc3
18checking how to run the C preprocessor... gcc -E
19checking for grep that handles long lines and -e... /usr/bin/grep
20checking for egrep... /usr/bin/grep -E
21checking for ANSI C header files... yes
22checking for mysql_config... no
23configure: error: Couldn't find mysql_config. Please verify that it is installed.

configure: error: Couldn’t find mysql_config. Please verify that it is installed.

01# yum provides */mysql_config
02Loaded plugins: fastestmirror, langpacks
03Loading mirror speeds from cached hostfile
04 * base: mirrors.aliyun.com
05 * epel: epel.mirror.srv.co.ge
06 * extras: mirrors.aliyun.com
07 * updates: mirrors.aliyun.com
08epel/x86_64/filelists_db                                                                                                                              | 6.3 MB  00:00:06    
091:mariadb-devel-5.5.41-2.el7_0.i686 : Files for development of MariaDB/MySQL applications
10Repo        : base
11Matched from:
12Filename    : /usr/lib/mysql/mysql_config
13Filename    : /usr/bin/mysql_config
14 
15 
16 
171:mariadb-devel-5.5.41-2.el7_0.x86_64 : Files for development of MariaDB/MySQL applications
18Repo        : base
19Matched from:
20Filename    : /usr/bin/mysql_config
21Filename    : /usr/lib64/mysql/mysql_config
1yum install mariadb-devel

 

01./configure
02checking for a BSD-compatible install... /usr/bin/install -c
03checking whether build environment is sane... yes
04checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
05checking for gawk... gawk
06checking whether make sets $(MAKE)... yes
07checking for gcc... gcc
08checking for C compiler default output file name... a.out
09checking whether the C compiler works... yes
10checking whether we are cross compiling... no
11checking for suffix of executables...
12checking for suffix of object files... o
13checking whether we are using the GNU C compiler... yes
14checking whether gcc accepts -g... yes
15checking for gcc option to accept ISO C89... none needed
16checking for style of include used by make... GNU
17checking dependency style of gcc... gcc3
18checking how to run the C preprocessor... gcc -E
19checking for grep that handles long lines and -e... /usr/bin/grep
20checking for egrep... /usr/bin/grep -E
21checking for ANSI C header files... yes
22checking for mysql_config... /usr/bin/mysql_config
23checking for pkg-config... /usr/bin/pkg-config
24checking pkg-config is at least version 0.9.0... yes
25checking for XML... no
26configure: error: libxml2 is required.

configure: error: libxml2 is required.

1yum install libxml2-devel
01# ./configure       
02checking for a BSD-compatible install... /usr/bin/install -c
03checking whether build environment is sane... yes
04checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
05checking for gawk... gawk
06checking whether make sets $(MAKE)... yes
07checking for gcc... gcc
08checking for C compiler default output file name... a.out
09checking whether the C compiler works... yes
10checking whether we are cross compiling... no
11checking for suffix of executables...
12checking for suffix of object files... o
13checking whether we are using the GNU C compiler... yes
14checking whether gcc accepts -g... yes
15checking for gcc option to accept ISO C89... none needed
16checking for style of include used by make... GNU
17checking dependency style of gcc... gcc3
18checking how to run the C preprocessor... gcc -E
19checking for grep that handles long lines and -e... /usr/bin/grep
20checking for egrep... /usr/bin/grep -E
21checking for ANSI C header files... yes
22checking for mysql_config... /usr/bin/mysql_config
23checking for pkg-config... /usr/bin/pkg-config
24checking pkg-config is at least version 0.9.0... yes
25checking for XML... yes
26checking for strdup... yes
27checking for strerror... yes
28checking for vsprintf... yes
29checking for sigaction... yes
30checking for signal... yes
31configure: creating ./config.status
32config.status: creating Makefile
33config.status: creating src/Makefile
34config.status: creating src/config.h
35config.status: executing depfiles commands