Date: Sat, 02 May 2015 00:58:51 +0300 From: Raphael Kubo da Costa <rakuco@FreeBSD.org> To: freebsd-ports@freebsd.org Subject: Re: cmake build failure depending on liblzma Message-ID: <864mnwvu1w.fsf@FreeBSD.org> References: <55329F17.1010100@paz.bz>
next in thread | previous in thread | raw e-mail | index | archive | help
Jim Pazarena <fports@paz.bz> writes: > -- Looking for lzma_auto_decoder in /usr/local/lib/liblzma.so > -- Looking for lzma_auto_decoder in /usr/local/lib/liblzma.so - not found > -- Looking for lzma_easy_encoder in /usr/local/lib/liblzma.so > -- Looking for lzma_easy_encoder in /usr/local/lib/liblzma.so - not found > -- Looking for lzma_lzma_preset in /usr/local/lib/liblzma.so > -- Looking for lzma_lzma_preset in /usr/local/lib/liblzma.so - not found > -- Could NOT find LibLZMA (missing: LIBLZMA_HAS_AUTO_DECODER > LIBLZMA_HAS_EASY_ENCODER LIBLZMA_HAS_LZMA_PRESET) (found version > "5.0.5") > CMake Error at CMakeLists.txt:310 (message): > CMAKE_USE_SYSTEM_LIBLZMA is ON but LibLZMA is not found! > Call Stack (most recent call first): > CMakeLists.txt:488 (CMAKE_BUILD_UTILITIES) It should work if you remove archivers/lzmalib, whose liblzma.so is being picked up instead of base's liblzma.so. It's a workaround, I still need to think of a proper fix. Would you mind filing a PR about this?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?864mnwvu1w.fsf>