[email protected]:~$ cd fcitx-4.2.1/
[email protected]:~/fcitx-4.2.1$ mkdir build
[email protected]:~/fcitx-4.2.1$ cd build
[email protected]:~/fcitx-4.2.1/build$ cmake .. -DCMAKE_INSTALL_PREFIX=/opt/fcitx/
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Looking for include files HAVE_UNISTD_H
-- Looking for include files HAVE_UNISTD_H - found
-- Looking for include files HAVE_MALLOC_H
-- Looking for include files HAVE_MALLOC_H - found
-- Looking for include files HAVE_STDBOOL_H
-- Looking for include files HAVE_STDBOOL_H - found
-- Looking for asprintf
-- Looking for asprintf - found
-- Looking for dgettext
-- Looking for dgettext - found
-- Found Libintl: /usr/include
-- Looking for iconv_open
-- Looking for iconv_open - found
-- Performing Test ICONV_HAVE_WERROR
-- Performing Test ICONV_HAVE_WERROR - Success
-- Performing Test LIBICONV_SECOND_ARGUMENT_IS_CONST
-- Performing Test LIBICONV_SECOND_ARGUMENT_IS_CONST - Failed
-- Found Libiconv: /usr/include
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Found Pthread: /usr/include
-- Looking for backtrace
-- Looking for backtrace - found
-- Found LibExecinfo: /usr/include
-- Could NOT find Libkvm (missing: LIBKVM_INCLUDE_DIR LIBKVM_FOUND)
CMake Error at /usr/share/cmake-2.8/Modules/FindX11.cmake:381 (MESSAGE):
Could not find X11
Call Stack (most recent call first):
CMakeLists.txt:56 (FIND_PACKAGE)
-- Configuring incomplete, errors occurred!