如何编译graphicsmagick并支持webp

如何编译graphicsmagick并支持webp

所以我正在尝试编译具有 webp 支持的graphicsmagick...

我已经跑了

yum install libwebp libwebp-dev

我已经添加了libwebp.a谷歌

我将--with-webp标志添加到该./configure行中。

我已经设法把它从:

checking for WEBP support ... 
checking webp/decode.h usability... no
checking webp/decode.h presence... no
checking for webp/decode.h... no
checking webp/encode.h usability... no
checking webp/encode.h presence... no
checking for webp/encode.h... no
checking for WebPDecodeRGB in -lwebp... no
checking for WebPMuxSetImage in -lwebpmux... no
checking if WEBP package is complete... no -- some components failed test

checking for WEBP support ... 
checking webp/decode.h usability... no
checking webp/decode.h presence... no
checking for webp/decode.h... no
checking webp/encode.h usability... no
checking webp/encode.h presence... no
checking for webp/encode.h... no
checking for WebPDecodeRGB in -lwebp... yes
checking for WebPMuxSetImage in -lwebpmux... no
checking if WEBP package is complete... no -- some components failed test

所以只有checking for WebPDecodeRGB in -lwebp改变了。

我该怎么办?

答案1

只得跑

yum install libwebp libwebp-dev libwebp-tools libwebp-devel

相关内容