---
title: "centOS下lighttpd&(g)vim编译安装"
author: "calmhawk"
date: "2011-10-12T14:15:30Z"
tags: []
categories: ["开源软件"]
slug: "centos-lighttpd-g-vim"
draft: false
lastmod: "2011-10-13T12:24:24Z"
id: 1190636
url: "https://calmhawk.iteye.com/blog/1190636"
---

类似于
XXX package where not found, install them or build with --without-XXX
或
XXX-headers and/or libs where not found, install them or build with --without-XXX
用yum -y install XXX-devel.
devel应该为development version了.
配置fastcgi的时候,需要确认php等是否是支持fastcgi的版本.
若为C/C++,下载fastcgi的API/libraries,编译安装,设置LD_LIBRARY_PATH.

vim GUI界面(gvim)出不来,缺X11 headers和libraries,下面的直接搞定:
yum groupinfo "X Software Development"
yum groupinstall "X Software Development"