cmake build failure depending on liblzma
Jim Pazarena
fports at paz.bz
Sat Apr 18 18:17:04 UTC 2015
I'm attempting a re-install of 10.1 amd, and cmake is a show stopper,
appearing to have a problem with liblzma. I re-installed liblzma, yet
cmake continues to fail. Without cmake many other things such as mysql
fail because of the dependency on cmake.
I am not sure what to do.
Any help would be much appreciated.
Jim
EVIDENCE OF LIBLZMA:
root at servera:~ # cd /usr/local/lib
root at servera:/usr/local/lib # ls -l | grep lzma
-rw-r--r-- 1 root wheel 401452 Apr 18 10:44 liblzma.a
lrwxr-xr-x 1 root wheel 16 Apr 18 10:44 liblzma.so ->
liblzma.so.1.1.0
lrwxr-xr-x 1 root wheel 16 Apr 18 10:44 liblzma.so.1 ->
liblzma.so.1.1
.0
-rwxr-xr-x 1 root wheel 290461 Apr 18 10:44 liblzma.so.1.1.0
root at servera:/usr/local/lib #
FAILURE OF CMAKE:
-- Checking whether cxxabi works with this C++ compiler - yes
-- Using system-installed BZIP2
-- Using system-installed CURL
-- Using system-installed EXPAT
-- Using system-installed LIBARCHIVE
-- Using system-installed LIBLZMA
-- Using system-installed ZLIB
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.8")
-- Found CURL: /usr/local/lib/libcurl.so (found version "7.41.0")
-- Found BZip2: /usr/lib/libbz2.so (found version "1.0.6")
-- Looking for BZ2_bzCompressInit in /usr/lib/libbz2.so
-- Looking for BZ2_bzCompressInit in /usr/lib/libbz2.so - found
-- 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)
-- Configuring incomplete, errors occurred!
See also
"/usr/ports/devel/cmake/work/cmake-3.1.3/CMakeFiles/CMakeOutput.log".
See also
"/usr/ports/devel/cmake/work/cmake-3.1.3/CMakeFiles/CMakeError.log".
---------------------------------------------
Error when bootstrapping CMake:
Problem while running initial CMake
---------------------------------------------
===> Script "configure" failed unexpectedly.
Please report the problem to kde at FreeBSD.org [maintainer] and attach the
"/usr/ports/devel/cmake/work/cmake-3.1.3/config.log" including the output of
the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1
Stop.
make: stopped in /usr/ports/devel/cmake
root at servera:/usr/ports/devel/cmake # ^Dlogout
More information about the freebsd-ports
mailing list