所以我正在尝试编译具有 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