centOS下lighttpd&(g)vim编译安装
类似于 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"