-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Description
/usr/bin/cmake -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -DPOCO_UNBUNDLED=ON -DENABLE_TESTS=ON -DENABLE_REDIS=OFF -DODBC_INCLUDE_DIRECTORIES=/usr/include/libiodbc ..
-- The C compiler identification is GNU 10.0.1
-- The CXX compiler identification is GNU 10.0.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - 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
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Checking for C++14 compiler
-- Checking for C++14 compiler - available
-- Found OpenSSL: /usr/lib64/libcrypto.so (found version "1.1.1d")
-- Could NOT find APR (missing: APR_INCLUDE_DIR APR_LIBRARY)
-- Could NOT find APRUTIL (missing: APRUTIL_INCLUDE_DIR APRUTIL_LIBRARY)
-- Could NOT find Apache2 (missing: APACHE2_INCLUDE_DIR)
-- Found MYSQL: /usr/include/mysql
-- Could NOT find PostgreSQL (missing: PostgreSQL_LIBRARY PostgreSQL_INCLUDE_DIR)
-- Could NOT find ODBC (missing: ODBC_INCLUDE_DIR)
-- Building with unittests & samples
-- Using external sqlite, zlib, pcre, expat, ...
-- Found PCRE: /lib64/libpcre.so
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11")
-- Found EXPAT: /usr/lib64/libexpat.so (found version "2.2.8")
-- SQLite Support Enabled
-- Found SQLite3: /usr/include (found version "3.30.1")
-- MySQL Support Enabled
-- PostgreSQL Support Disabled
-- ODBC Support Disabled
CMake Error at CMakeLists.txt:452 (install):
install FILES given no DESTINATION!
-- CMake 3.16.3 successfully configured Poco using Unix Makefiles generator
-- Poco package version: 1.0.0
-- Building dynamic libraries
-- [cmake] Installation target path: /usr
-- [cmake] Bulid for OS type: Linux
-- [cmake] Build for OS version: 5.4.12-200.fc31.x86_64
-- [cmake] Build for CPU type: x86_64
-- [cmake] Build type: RelWithDebInfo
-- [cmake] Build with cxx flags: -O2 -g -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-- [cmake] Build with c flags: -O2 -g -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-- Building: Encodings
-- Building: XML
-- Building: JSON
-- Building: Util
-- Building: Net
-- Building: MongoDB
-- Building: JWT
-- Building: NetSSL_OpenSSL
-- Building: Crypto
-- Building: Data
-- Building: Zip
-- Building: PageCompiler
-- Building: File2Page
-- Configuring incomplete, errors occurred!
See also "/builddir/build/BUILD/poco-poco-1.10.0-release/cmake-build/CMakeFiles/CMakeOutput.log".
error: Bad exit status from /var/tmp/rpm-tmp.44Y9Bt (%build)
Looking at CMakeFiles.txt around line 452:
if(POCO_UNBUNDLED)
install(FILES cmake/FindPCRE.cmake
DESTINATION "${PocoConfigPackageLocation}")
install(FILES cmake/V39/FindEXPAT.cmake
DESTINATION "${PocoConfigPackageLocation}/V39")
install(FILES cmake/V313/FindSQLite3.cmake
DESTINATION "${PocoConfigPackageLocation}/V313")
endif()
I don't see this PocoConfigPackageLocation defined anywhere.
Reactions are currently unavailable