注册 | 登录 | 设为首页 | 加入收藏
您当前的位置:飞翔学院-IT中国 → 编程开发PHP → 文章内容

PHP环境下GD库安装问题详解

作者:佚名 来源:不详 发布时间:2007-11-29 20:57:58

  make install

  命令完成后,jpeglib.h被拷到/usr/include目录下,libjpeg.a和libjpeg.so被拷到/usr/local/lib目录下

  2. ttf 的安装和配置

   http://www.freetype.org
   freetype-1.3.1.tar.gz
   tar -xzvf freetype-1.3.1.tar.gz
   ./configure

  命令完成后该目录下多了个Makefile文件。Makefile文件是许多软件编译、安装的配置和过程控制文件,十分重要,应该学会看懂它的内容。开始编译:

  make

  make install

  编译gd 的时候有error don't found the freetype.h 所以

  cp /usr/local/include/freetype/* /usr/local/include/

  3, zlib 安装:

  Becaust the note, you must install the zlib first!
   Before installing libpng, you must first install zlib. zlib
   can usually be found wherever you got libpng. zlib can be
   placed in another directory, at the same level as libpng.
   Note that your system might already have a preinstalled
   zlib, but you will still need to have access to the
   zlib.h and zconf.h include files that correspond to the
   version of zlib that's installed.
   http://www.gzip.org/zlib/
   ftp://ftp.uu.net/graphics/png/src/zlib-1.1.3.tar.gz
   ./configure
   make
   make install

  4. libpng 安装:

   Read INSTALL
   http://www.libpng.org/pub/png/
   libpng-1.2.0.tar.gz
   UNIX example: cp scripts/makefile.std makefile
   make
   make install

  5.GD-1.8.3的安装和配置


更多内容请看PCdog.com--PHP基础篇  PHP问答篇专题
上一页  [1] [2] [3]  下一页


  • 打印文档
  • 推荐好友
  • 返回顶部
  • 增大字体
  • 减少字体
关于本站 | 工作机会 | 合作网站 | 广告服务 | 市场合作| 联系我们 | 抽奖活动
版权所有: 武汉威俊科技有限公司 Copyright 2005-2007 www.ITCNW.COM All rights reserved