Cmake Error when building Octo on RHEL 7
I got the error Yotta Error: %YDB-E-TRANS2BIG and I saw you guys fixed it so I wanted to update to the latest Octo.
Here are the commands I ran.
mkdir tmp && cd tmp
git clone https://gitlab.com/YottaDB/DBMS/YDBOcto.git
cd YDBOcto
mkdir build && cd build
cmake ..
cmake version 3.14.7
YottaDB version: r1.34
Octo version 1.1.0
Git commit: efda8a7512e5f745501c66e314efe0626725c181
Uncommitted changes: false
Error:
[tvista@tenzingsupp1 build]$ cmake ..
-- YDBCMake Source Directory: /home/tvista/tmp/YDBOcto/build/_deps/ydbcmake-src
-- Found YOTTADB: /home/tvista/lib/gtm/libyottadb.so
-- $ydb_dist: /home/tvista/lib/gtm
-- The C compiler identification is GNU 4.8.5
-- Check for working C compiler: /bin/cc
-- Check for working C compiler: /bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- YottaDB version: r1.34
-- Build type: RelWithDebInfo
-- Install destination: /home/tvista/lib/gtm/plugin
-- Test suite run by `make test`: Limited
-- Install destination: /home/tvista/lib/gtm/plugin
-- Found BISON: /bin/bison (found version "3.0.4")
-- Found FLEX: /bin/flex (found version "2.5.37")
-- Found Readline: /usr/lib64/libreadline.so
-- Found Config: /usr/lib64/libconfig.so
-- Found OpenSSL: /usr/lib64/libcrypto.so (found version "1.0.2k")
-- Could NOT find CMOCKA (missing: CMOCKA_LIBRARY CMOCKA_INCLUDE_DIR)
-- Could NOT find BATS (missing: BATS)
-- Found YDBPosix plugin: /home/tvista/lib/gtm/plugin/o/_ydbposix.so
-- Found YDBAIM plugin: /home/tvista/lib/gtm/plugin/o/_ydbaim.so
-- Could NOT find YottaDB TLS plugin in /home/tvista/lib/gtm
-- Platform name: rhel
-- Platform version: 7.9
-- Platform architecture: x8664
-- Configuring done
CMake Error at src/CMakeLists.txt:473 (add_executable):
Error evaluating generator expression:
$<TARGET_OBJECTS:cocto>
Objects of target "cocto" referenced but is not an OBJECT library.
CMake Error at src/CMakeLists.txt:377 (add_executable):
Error evaluating generator expression:
$<TARGET_OBJECTS:cocto>
Objects of target "cocto" referenced but is not an OBJECT library.
CMake Error at src/CMakeLists.txt:473 (add_executable):
No SOURCES given to target: rocto
CMake Error at src/CMakeLists.txt:377 (add_executable):
No SOURCES given to target: octo