rethat6.5下安装freetype2.6
来源:互联网 发布:淘宝大学官方网站 编辑:程序博客网 时间:2024/06/06 04:38
安装freetype时,遇到很多问题,在这里记录一下安装教程
1.拷贝软件包到/usr/local目录下,解压并进入freetype-2.6目录。
[root@localhost /]#cp ./freetype-2.6.tar.gz /usr/local[root@localhost /]#cd /usr/local[root@localhost local]#tar -zxvf freetype-2.6.tar.gz[root@localhost local]cd freetype-2.6
2.使用"configure"命令检查并配置安装需要的系统环境,并生成安装配置文件。(将软件安装到/usr/local/freetype目录下)
[root@localhost freetype-2.6]# ./configure --prefix=/usr/local/freetype
这里我遇到问题,重新配置,但是系统提示我:“Nothing to be done for `unix'.”
进入 builds/unix目录,然后在里边运行./configure命令,不会提示错误。
[root@localhost freetype-2.6]#cd /usr/local/src/freetype-2.6/builds/unix
[root@localhost unix]# ./configure --prefix=/usr/local/freetype --enable-shared
3.使用"make"命令编译源代码文件并生成安装文件
[root@localhost freetype-2.6]# make
这里也是遇到问题,重新make的时候系统提示:“make: Nothing to be done for `all'.”
这句提示是说明你已经编译好了,而且没有对代码进行任何改动。
若想重新编译,可以先删除以前编译产生的目标文件:
[root@localhost freetype-2.6]# make clean
然后再make
或者make clean 之后运行一下ldconfig
4.使用"make install"命令进行安装
[root@localhost freetype-2.6]# make install
如果安装成功将会在/usr/local/freetype目录下存在bin、include、lib、share 4个目录,并在安装GD2库时,通过configure命令的选项中加上"--with-freetype=/usr/local/freetype/"选项,指定freetype库文件的位置。
0 0
- rethat6.5下安装freetype2.6
- RetHat6.5 Nginx安装
- 【安装】freetype2
- rethat6.2安装mysql5.6.30
- Linux 系统(RetHat6.0)下DHCP服务器的配置
- freetype2
- FreeType2
- freetype2
- freetype2
- win32下FreeType2的编译
- win32下FreeType2的编译
- VS2013环境下使用FreeType2
- ubuntu12.04.4下安装python的4个库JPEG、 ZLIB、 FREETYPE2和 LITTLECMS
- linux上freetype2安装编译和使用
- Linux下,利用FreeType2的API实现字符的显示
- FreeType2教程
- FreeType2研究
- FreeType2教程
- zoj 3203 Light Bulb
- 64 - 数据流中的中位数 || STL 堆
- 字符子串
- CSU_1078_“最长公共子序列”
- 数组的创建和使用1
- rethat6.5下安装freetype2.6
- machine learning in coding(python):根据关键字合并多个表(构建组合feature)
- Where is the Marble?
- Unity3d的Sprite Packer用法介绍
- python 基础数据结构-学习笔记之list
- 什么是JAVABEAN?
- iOS 导航连续退出2个页面
- eclipse无法连接genymotion+Unable to start the Genymotion virtual device
- MySQL查询优化之COUNT()