安装系统:CentOS 7.1
1 | wget http: //www .zerozone.it /Software/Linux/SquidTL/squidtl-0 .0.2. tar .gz |
2 |
3 | tar -vxzf squidtl-0.0.2. tar .gz |
4 |
5 | cd squidtl/ |
1 | yum install automake |
2 | cp -rf /usr/share/automake-1 .13 /usr/share/automake-1 .10 |
01 | # ./configure |
02 | checking for a BSD-compatible install ... /usr/bin/install -c |
03 | checking whether build environment is sane... yes |
04 | checking for a thread-safe mkdir -p... /usr/bin/mkdir -p |
05 | checking for gawk ... gawk |
06 | checking whether make sets $(MAKE)... yes |
07 | checking for gcc... gcc |
08 | checking for C compiler default output file name... a.out |
09 | checking whether the C compiler works... yes |
10 | checking whether we are cross compiling... no |
11 | checking for suffix of executables... |
12 | checking for suffix of object files... o |
13 | checking whether we are using the GNU C compiler... yes |
14 | checking whether gcc accepts -g... yes |
15 | checking for gcc option to accept ISO C89... none needed |
16 | checking for style of include used by make ... GNU |
17 | checking dependency style of gcc... gcc3 |
18 | checking how to run the C preprocessor... gcc -E |
19 | checking for grep that handles long lines and -e... /usr/bin/grep |
20 | checking for egrep ... /usr/bin/grep -E |
21 | checking for ANSI C header files... yes |
22 | checking for mysql_config... no |
23 | configure: 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 |
02 | Loaded plugins: fastestmirror, langpacks |
03 | Loading 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 |
08 | epel /x86_64/filelists_db | 6.3 MB 00:00:06 |
09 | 1:mariadb-devel-5.5.41-2.el7_0.i686 : Files for development of MariaDB /MySQL applications |
10 | Repo : base |
11 | Matched from: |
12 | Filename : /usr/lib/mysql/mysql_config |
13 | Filename : /usr/bin/mysql_config |
14 |
15 |
16 |
17 | 1:mariadb-devel-5.5.41-2.el7_0.x86_64 : Files for development of MariaDB /MySQL applications |
18 | Repo : base |
19 | Matched from: |
20 | Filename : /usr/bin/mysql_config |
21 | Filename : /usr/lib64/mysql/mysql_config |
1 | yum install mariadb-devel |
01 | . /configure |
02 | checking for a BSD-compatible install ... /usr/bin/install -c |
03 | checking whether build environment is sane... yes |
04 | checking for a thread-safe mkdir -p... /usr/bin/mkdir -p |
05 | checking for gawk ... gawk |
06 | checking whether make sets $(MAKE)... yes |
07 | checking for gcc... gcc |
08 | checking for C compiler default output file name... a.out |
09 | checking whether the C compiler works... yes |
10 | checking whether we are cross compiling... no |
11 | checking for suffix of executables... |
12 | checking for suffix of object files... o |
13 | checking whether we are using the GNU C compiler... yes |
14 | checking whether gcc accepts -g... yes |
15 | checking for gcc option to accept ISO C89... none needed |
16 | checking for style of include used by make ... GNU |
17 | checking dependency style of gcc... gcc3 |
18 | checking how to run the C preprocessor... gcc -E |
19 | checking for grep that handles long lines and -e... /usr/bin/grep |
20 | checking for egrep ... /usr/bin/grep -E |
21 | checking for ANSI C header files... yes |
22 | checking for mysql_config... /usr/bin/mysql_config |
23 | checking for pkg-config... /usr/bin/pkg-config |
24 | checking pkg-config is at least version 0.9.0... yes |
25 | checking for XML... no |
26 | configure: error: libxml2 is required. |
configure: error: libxml2 is required.
1 | yum install libxml2-devel |
01 | # ./configure |
02 | checking for a BSD-compatible install ... /usr/bin/install -c |
03 | checking whether build environment is sane... yes |
04 | checking for a thread-safe mkdir -p... /usr/bin/mkdir -p |
05 | checking for gawk ... gawk |
06 | checking whether make sets $(MAKE)... yes |
07 | checking for gcc... gcc |
08 | checking for C compiler default output file name... a.out |
09 | checking whether the C compiler works... yes |
10 | checking whether we are cross compiling... no |
11 | checking for suffix of executables... |
12 | checking for suffix of object files... o |
13 | checking whether we are using the GNU C compiler... yes |
14 | checking whether gcc accepts -g... yes |
15 | checking for gcc option to accept ISO C89... none needed |
16 | checking for style of include used by make ... GNU |
17 | checking dependency style of gcc... gcc3 |
18 | checking how to run the C preprocessor... gcc -E |
19 | checking for grep that handles long lines and -e... /usr/bin/grep |
20 | checking for egrep ... /usr/bin/grep -E |
21 | checking for ANSI C header files... yes |
22 | checking for mysql_config... /usr/bin/mysql_config |
23 | checking for pkg-config... /usr/bin/pkg-config |
24 | checking pkg-config is at least version 0.9.0... yes |
25 | checking for XML... yes |
26 | checking for strdup... yes |
27 | checking for strerror... yes |
28 | checking for vsprintf... yes |
29 | checking for sigaction... yes |
30 | checking for signal... yes |
31 | configure: creating . /config .status |
32 | config.status: creating Makefile |
33 | config.status: creating src /Makefile |
34 | config.status: creating src /config .h |
35 | config.status: executing depfiles commands |