百度空间 | 百度首页 
               
 
查看文章
 
[linux]-LAMP:CentOS 5.1/Apache-2.2.6/mysql-5.0.45/php-5.2.5/ 安装备忘-2008.1.15
2008-01-15 21:13

编译 apache 2.2.6 @ CentOS 5.1

CentOS 5.1 缺省安装。package 只选择gnome GUI.其他不选。

configure 错误提示:
checking whether to enable mod_deflate... configure: error: mod_deflate has been requested but can not be built due to prerequisite failures

zlib-devel 没装的原因

yum install gcc zlib-devel openssl-devel(装这个package会有一堆关联包装上)


mysql需要安装
gcc-c++
libstdc++-devel
ncurses-devel

php
需要如下安装包
libxml2-devel libjpeg-devel libpng-devel freetype-devel libmcrypt-devel mhash-devel
configure with-imap如果出现如下错误:
rfc822.h not found .需要 libc-client-devel
make
出现错误 : /usr/bin/ld: cannot find -lltdl
安装了libtool-ltdl
需要做个软链接ln -s /usr/lib/libltdl.so.3 /usr/lib/libltdl.so

类别:linux/win/server | 添加到搜藏 | 浏览() | 评论 (0)
 
网友评论:
发表评论:
姓 名:
网址或邮箱: (选填)
内 容:
验证码: 请点击后输入四位验证码,字母不区分大小写
      

     

©2009 Baidu