简体   繁体   English

无法在Centos 6上安装jpegoptim

[英]Cannot install jpegoptim on Centos 6

I am trying to install jpegoptim on a CentOS 6 server. 我想在CentOS 6服务器上安装jpegoptim。 I have downloaded and unpacked the package but when I try to run ./configure from the jpegoptim-1.3.0 directory I get an error that says: 我已经下载并解压缩了包但是当我尝试从jpegoptim-1.3.0目录运行./configure时,我收到一条错误消息:

"cannot find libjpeg or you have too old version (v6 or later required)." “找不到libjpeg,或者你的版本太旧了(需要v6或更高版本)。”

I have checked and I have libjpeg-turbo install, which should supercede libjpeg. 我已经检查过并且我有libjpeg-turbo安装,它应该取代libjpeg。 I have not been able to find anything on the net about this issue. 我无法在网上找到关于这个问题的任何内容。 What am I doing wrong? 我究竟做错了什么?

Thanks, Rob 谢谢,罗布

configure脚本正在查找libjpeg-turbo-devel包中的jpeglib.h。

You may want to use yum to help you with what you are looking for. 你可能想用yum来帮助你找到你想要的东西。 The following may get you what you need: 以下内容可为您提供所需:

yum search libjpeg
yum install libjpeg*

Note I have the epel repository installed on my system too. 注意我的系统上也安装了epel存储库。 So if the above don't give you what you want, you may need to install the epel repository first. 因此,如果上述内容无法满足您的需求,您可能需要先安装epel存储库。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM