Centos试安装Traffic server的各种错误

系统版本:Centos 6.4 64bit(最简安装)

traffic server版本:4.0.1

1.下载

wget http://mirrors.cnnic.cn/apache/trafficserver/trafficserver-4.0.1.tar.bz2

2.configure:

./configure --prefix=/usr/local/ats

错误1:

configure: error: in `/root/trafficserver-4.0.1':
configure: error: no acceptable C compilerfound in $PATH
See `config.log' for more details

错误1解决办法:

#yum install gcc

错误2:

configure: error: in `/root/trafficserver-4.0.1':
configure: error: C++ preprocessor"/lib/cpp" fails sanity check
See `config.log' for more details

错误2解决办法:

# yum install glibc-headers   #可能已经安装了
# yum install gcc-c++

错误3:

configure: error: check for perl failed.Have you installed perl?

错误3解决办法:

#yum install perl

错误4:

configure: error: Need at least one SSLlibrary, --with-openssl is supported

错误4解决办法:

# yum install openssl
#yum install openssl-devel

错误5:

checking for Tcl configuration...configure: error: Can't find Tcl configuration, install the TCL dev package

错误5解决办法:、

#yum install tcl
#yum install tcl-devel

错误6:

configure: error: Need at least one XMLlibrary, --
with-expat is supported

错误6解决办法:

# yum install expat-devel

错误7:

configure: error: Cannot find pcre library.Configure --with-pcre=DIR

错误7解决办法:

# yum install pcre-devel

3.make

# make

4.make install

# make install


参考:

http://netspace.blog.51cto.com/1069106/1206897

http://blog.csdn.net/gripleaf/article/details/8569163


你可能感兴趣的:(linux,centos,server,error,traffic,ats)