![Graphicsmagick을 컴파일하고 webp를 지원하는 방법](https://linux55.com/image/198822/Graphicsmagick%EC%9D%84%20%EC%BB%B4%ED%8C%8C%EC%9D%BC%ED%95%98%EA%B3%A0%20webp%EB%A5%BC%20%EC%A7%80%EC%9B%90%ED%95%98%EB%8A%94%20%EB%B0%A9%EB%B2%95.png)
그래서 webp 지원으로 Graphicsmagick을 컴파일하려고 하는데...
나는 도망쳤다
yum install libwebp libwebp-dev
libwebp.a
라이브러리를 추가했어요Google.
나는 --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