红联Linux门户
Linux帮助

centos7编译t1lib-5.1.2的时候make出错需要安装latex

发布时间:2017-01-14 10:30:07来源:linux网站作者:水墨风光
centos7编译t1lib-5.1.2的时候make出错需要安装latex:
[root@linuxprobe libgd-2.1.0]# cd /usr/local/src
[root@linuxprobe src]# tar zxvf t1lib-5.1.2.tar.gz
[root@linuxprobe src]# cd t1lib-5.1.2
[root@linuxprobe t1lib-5.1.2]# ./configure --prefix=/usr/local/t1lib --enable-shared
[root@linuxprobe t1lib-5.1.2]# make 
[root@linuxprobe t1lib-5.1.2]# make install
 
在实际操作的时候,make这一步出错,是因为没有安装latex。
 
运行如下命令安装latex:
yum -y install texlive-latex
yum -y install texlive-metapost
yum -y install texlive-collection-fontsrecommended
 
然后make成功。
 
本文永久更新地址:http://www.linuxdiyf.com/linux/27801.html