Closed whhe closed 2 years ago
master branch has fix this issue
Met a cmake error after #20 merged
-- The CXX compiler identification is GNU 4.8.5
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
dep_create.sh in /root/oblogproxy/deps, target dir: /root/oblogproxy/buildenv/deps
check dependencies profile for el7.x86_64... FOUND
check repository address in profile... http://mirrors.aliyun.com/oceanbase/development-kit/el/7/x86_64/
https://mirrors.aliyun.com/oceanbase/community/stable/el/7/x86_64/
download dependencies...
download package <devdeps-openssl-static-1.0.1e-3.el7.x86_64.rpm>... SUCCESS
unpack package <devdeps-openssl-static-1.0.1e-3.el7.x86_64.rpm>... SUCCESS
download package <devdeps-libaio-0.3.112-3.el7.x86_64.rpm>... SUCCESS
unpack package <devdeps-libaio-0.3.112-3.el7.x86_64.rpm>... SUCCESS
download package <oceanbase-ce-devel-3.1.2-10000392021123010.el7.x86_64.rpm>... SUCCESS
unpack package <oceanbase-ce-devel-3.1.2-10000392021123010.el7.x86_64.rpm>... SUCCESS
download package <obdevtools-gcc-5.2.0-3.el7.x86_64.rpm>... SUCCESS
unpack package <obdevtools-gcc-5.2.0-3.el7.x86_64.rpm>... SUCCESS
-- DEP_VAR: /root/oblogproxy/buildenv/deps
-- JAVA_HOME:
CMake Error at CMakeLists.txt:56 (GET_FILENAME_COMPONENT):
GET_FILENAME_COMPONENT called with incorrect number of arguments
-- Configuring incomplete, errors occurred!
See also "/root/oblogproxy/buildenv/CMakeFiles/CMakeOutput.log".
Met a cmake error:
-- The CXX compiler identification is GNU 4.8.5 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done dep_create.sh in /root/oblogproxy/deps, target dir: /root/oblogproxy/buildenv/deps check dependencies profile for el7.x86_64... FOUND check repository address in profile... http://mirrors.aliyun.com/oceanbase/development-kit/el/7/x86_64/ https://mirrors.aliyun.com/oceanbase/community/stable/el/7/x86_64/ download dependencies... download package <devdeps-openssl-static-1.0.1e-3.el7.x86_64.rpm>... SUCCESS unpack package <devdeps-openssl-static-1.0.1e-3.el7.x86_64.rpm>... SUCCESS download package <devdeps-libaio-0.3.112-3.el7.x86_64.rpm>... SUCCESS unpack package <devdeps-libaio-0.3.112-3.el7.x86_64.rpm>... SUCCESS download package <oceanbase-ce-devel-3.1.2-10000392021123010.el7.x86_64.rpm>... SUCCESS unpack package <oceanbase-ce-devel-3.1.2-10000392021123010.el7.x86_64.rpm>... SUCCESS download package <obdevtools-gcc-5.2.0-3.el7.x86_64.rpm>... SUCCESS unpack package <obdevtools-gcc-5.2.0-3.el7.x86_64.rpm>... SUCCESS -- DEP_VAR: /root/oblogproxy/buildenv/deps -- JAVA_HOME: CMake Error at CMakeLists.txt:56 (GET_FILENAME_COMPONENT): GET_FILENAME_COMPONENT called with incorrect number of arguments -- Configuring incomplete, errors occurred! See also "/root/oblogproxy/buildenv/CMakeFiles/CMakeOutput.log".
This is caused by missing which
command and can be installed by yum install which
. Issue fixed.
I tried to build this project on clean Centos 7.9 following the doc, here are the commands I executed in terminal:
And the output is: