新风花雪月 发表于 2018-5-15 11:23:31

debian下lamp 编译安装F&Q

  Dbian新安装后几乎是最简单的,一些操作也不放鞭,玩惯了centos的管理者初次接触debian肯定有些不习惯,详细参考下debian初始化的脚本或者debian初始化配置(这个更全)。
  然而在部署我们常用的lamp的时候,也不是一番风顺的,缺少好多东西,连最基本的gcc都没有,这个可以说是从头一点一点自己去寻找、配置。我把部署的时候出现的问题贴一下,以后的牛牛们注意了。
  此使用的版本是debian 6.0.1sequee .
  1configure: error: no acceptable C compiler found in $PATH
  apt-get install gcc

2configure: error: ...No recognized SSL/TLS toolkit detected

   apt-get install openssl libssl-dev
   
3checking for termcap functions library... configure: error: No curses/termcap library found
   apt-get install libncurses5-dev
4./depcomp: line 571: exec: g++: not found
make: *** Error 127
   apt-get install g++
   
5 Could not find gdlib-config in the search path. Please install libgd 2.0.28 or higher.
If you want to try to compile anyway, please rerun this script with the option --ignore_missing_gd.
apt-get install libgd2-xpm libgd2-xpm-dev

6GD按照 gd 头文件无法找到
    忽略 直接make    (待确定)

7configure: error: Unable to find gd.h anywhere under /usr/local/GD2
    cp /usr/include/gd.h /usr/local/GD2/

8   Unable to find libgd.(a|so) anywhere under /usr/local/GD2
   cp /usr/lib/libgd.so /usr/local/GD2/
页: [1]
查看完整版本: debian下lamp 编译安装F&Q