---
title: "【汇总】configure编译时遇到的错误"
author: "crizy"
date: "2011-09-15T18:20:59Z"
tags: ["Linux", "configure"]
categories: ["开源软件"]
slug: "configure"
draft: false
lastmod: "2011-09-15T18:22:32Z"
id: 1172813
url: "https://crizy.iteye.com/blog/1172813"
---

1.configure: error: bzlib.h is required

```
# yum install bzip2-devel
```

 

2.configure: error: tcutil.h is required

```
如果安装Tokyo Cabinet时指定了目录，在安装Tokyo Tyrant时用 --with-tc 指定Tokyo Cabinet的目录，如果没指定会报：configure: error: tcutil.h is required 错误。
```

 

3.buildconf: autoconf not found.  
              you need autoconf version 2.13 or newer installed to build PHP from SVN.  
\*\*\*Errot code 1

```
# yum install autoconf
```

 

4../libtool: line 984: g++: command not found

```
#yum install gcc-c++ libstdc++-devel -y
#echo "/usr/local/lib" > /etc/ld.so.conf.d/usr_local_lib.conf
#/sbin/ldconfig
```