dedev@ThunderBird:/opt/graphics/build$ cmake -DCMAKE_INSTALL_PREFIX=/opt/kde4 ..
-- Check for working C compiler: gcc
-- Check for working C compiler: gcc -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: c++
-- Check for working CXX compiler: c++ -- works
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Found Qt-Version 4.2.2
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so;/usr/lib64/libXft.so;/usr/lib64/libXau.so;/usr/lib64/libXdmcp.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so;/usr/lib64/libXft.so;/usr/lib64/libXau.so;/usr/lib64/libXdmcp.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Performing Test HAVE_FPIE_SUPPORT
-- Performing Test HAVE_FPIE_SUPPORT - Success
-- Performing Test __KDE_HAVE_NO_THREADSAFE_STATICS
-- Performing Test __KDE_HAVE_NO_THREADSAFE_STATICS - Success
-- Performing Test __KDE_HAVE_GCC_VISIBILITY
-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
-- Performing Test GCC_VISIBILITY_INLINES_HIDDEN_AVAILABLE
-- Performing Test GCC_VISIBILITY_INLINES_HIDDEN_AVAILABLE - Failed
-- Found KDE4 include dir: /opt/kde4/include
-- Found KDE4 library dir: /opt/kde4/lib
-- Found KDE4 kconfig_compiler preprocessor: /opt/kde4/bin/kconfig_compiler
-- Looking for gsapi_new_instance in /usr/lib64/libgs-esp.so
-- Looking for gsapi_new_instance in /usr/lib64/libgs-esp.so - found
-- Found the GS library: /usr/lib64/libgs-esp.so
-- Found CHM: /usr/lib64/libchm.so
-- Found DjVuLibre: /usr/lib64/libdjvulibre.so
-- Found TIFF: /usr/lib64/libtiff.so
-- Found Freetype: -lfreetype -lz
-- Found ZLIB: /usr/lib64/libz.so
-- Looking for include files HAVE_BYTESWAP_H
-- Looking for include files HAVE_BYTESWAP_H - found
-- Looking for include files HAVE_CRT_EXTERNS_H
-- Looking for include files HAVE_CRT_EXTERNS_H - not found.
-- Looking for include files HAVE_FCNTL_H
-- Looking for include files HAVE_FCNTL_H - found
-- Looking for include files HAVE_FNMATCH_H
-- Looking for include files HAVE_FNMATCH_H - found
-- Looking for include files HAVE_GETOPT_H
-- Looking for include files HAVE_GETOPT_H - found
-- Looking for include files HAVE_INTTYPES_H
-- Looking for include files HAVE_INTTYPES_H - found
-- Looking for include files HAVE_MEMORY_H
-- Looking for include files HAVE_MEMORY_H - found
-- Looking for include files HAVE_PATHS_H
-- Looking for include files HAVE_PATHS_H - found
-- Looking for include files HAVE_STDINT_H
-- Looking for include files HAVE_STDINT_H - found
-- Looking for include files HAVE_STDLIB_H
-- Looking for include files HAVE_STDLIB_H - found
-- Looking for include files HAVE_STRING_H
-- Looking for include files HAVE_STRING_H - found
-- Looking for include files HAVE_STRINGS_H
-- Looking for include files HAVE_STRINGS_H - found
-- Looking for include files HAVE_SYS_BITYPES_H
-- Looking for include files HAVE_SYS_BITYPES_H - found
-- Looking for include files HAVE_SYS_CDEFS_H
-- Looking for include files HAVE_SYS_CDEFS_H - found
-- Looking for include files HAVE_SYS_FILE_H
-- Looking for include files HAVE_SYS_FILE_H - found
-- Looking for include files HAVE_SYS_PARAM_H
-- Looking for include files HAVE_SYS_PARAM_H - found
-- Looking for include files HAVE_SYS_TIME_H
-- Looking for include files HAVE_SYS_TIME_H - found
-- Looking for include files HAVE_SYS_TYPES_H
-- Looking for include files HAVE_SYS_TYPES_H - found
-- Looking for include files HAVE_SYSENT_H
-- Looking for include files HAVE_SYSENT_H - not found.
-- Looking for include files HAVE_TGMATH_H
-- Looking for include files HAVE_TGMATH_H - found
-- Looking for include files HAVE_UNISTD_H
-- Looking for include files HAVE_UNISTD_H - found
-- Looking for include files HAVE_UTMP_H
-- Looking for include files HAVE_UTMP_H - found
-- Looking for include files TIME_WITH_SYS_TIME
-- Looking for include files TIME_WITH_SYS_TIME - found
-- Looking for _NSGetEnviron
-- Looking for _NSGetEnviron - not found
-- Looking for setenv
-- Looking for setenv - found
-- Looking for strlcat
-- Looking for strlcat - not found
-- Looking for strlcpy
-- Looking for strlcpy - not found
-- Looking for unsetenv
-- Looking for unsetenv - found
-- Looking for usleep
-- Looking for usleep - found
-- Looking for random
-- Looking for random - found
-- Looking for srandom
-- Looking for srandom - found
-- Looking for crypt in crypt
-- Looking for crypt in crypt - found
-- Looking for snprintf
-- Looking for snprintf - found
-- Looking for vsnprintf
-- Looking for vsnprintf - found
-- Performing Test HAVE_SETENV_PROTO
-- Performing Test HAVE_SETENV_PROTO - Success
-- Performing Test HAVE_STRLCAT_PROTO
-- Performing Test HAVE_STRLCAT_PROTO - Failed
-- Performing Test HAVE_STRLCPY_PROTO
-- Performing Test HAVE_STRLCPY_PROTO - Failed
-- Performing Test HAVE_UNSETENV_PROTO
-- Performing Test HAVE_UNSETENV_PROTO - Success
-- Performing Test HAVE_USLEEP_PROTO
-- Performing Test HAVE_USLEEP_PROTO - Success
-- Performing Test HAVE_GETDOMAINNAME_PROTO
-- Performing Test HAVE_GETDOMAINNAME_PROTO - Success
-- Performing Test HAVE_RANDOM_PROTO
-- Performing Test HAVE_RANDOM_PROTO - Success
-- Performing Test HAVE_SRANDOM_PROTO
-- Performing Test HAVE_SRANDOM_PROTO - Success
-- Check size of int
-- Check size of int - done
-- Check size of char *
-- Check size of char * - done
-- Check size of long
-- Check size of long - done
-- Check size of short
-- Check size of short - done
-- Check size of size_t
-- Check size of size_t - done
-- Check size of unsigned long
-- Check size of unsigned long - done
CMake Error: Error in cmake code at
/opt/graphics/CMakeLists.txt:51:
ADD_SUBDIRECTORY Incorrect ADD_SUBDIRECTORY command. Directory: doc does not exists.
Current CMake stack: /opt/graphics/CMakeLists.txt;/usr/share/CMake/Modules/CMakeCInformation.cmake;/usr/share/CMake/Modules/CMakeCXXInformation.cmake
--
----------------------------------------------------------------------------------
-- The following list of OPTIONAL packages were located on your system. --
-- You will have all the following features available from this software. --
----------------------------------------------------------------------------------
> libgs: Support for PS files in okular; http://www.cs.wisc.edu/~ghost;
> libCHM: Support for CHM files in okular; http://morte.jedrea.com/~jedwin/projects/chmlib;
> libdjvulibre, 3.5.17: Support for DjVu files in okular; http://djvulibre.djvuzone.org;
> libTIFF: Support for TIFF files in okular; http://www.remotesensing.org/libtiff/;
----------------------------------------------------------------------------------
-- The following list of OPTIONAL packages could not be located on your system. --
-- Please consider installing them to enable more features of this software. --
----------------------------------------------------------------------------------
> Poppler-Qt4, 0.5.4: Support for PDF files in okular; http://poppler.freedesktop.org;
-- Configuring done
kdedev@ThunderBird:/opt/graphics/build$ make install