error using cmake for cpp-ethereum (Centos 6 help)

eponalankeponalank Member Posts: 1
Hello, I am trying to install cpp-ethereum on Centos 6.

I have managed to build and install geth, jsoncpp and libson-rpc-cpp libraries successfully, but now am stuck on the cpp-ethereum part, (using and installing a fair few things manually). Maybe some clever Linux guy can help me... :smile:

In the cpp-ethereum directory, I have the following errors:

[[email protected] cpp-ethereum]# cmake ./
-- The C compiler identification is GNU 4.8.2
-- The CXX compiler identification is GNU 4.8.2
-- Check for working C compiler: /usr/local/bin/gcc
-- Check for working C compiler: /usr/local/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/local/bin/g++
-- Check for working CXX compiler: /usr/local/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- ctest path: /usr/bin/ctest
-- Found CryptoPP: /usr/include (found suitable exact version "5.6.2")
- CryptoPP header: /usr/include
- CryptoPP lib : /usr/lib64/
-- Found leveldb: /usr/include
- LevelDB header: /usr/include
- LevelDB lib: /usr/lib64/
-- Found rocksdb: /usr/local/include
- RocksDB header: /usr/local/include
- RocksDB lib: /usr/local/lib/librocksdb.a
-- Found v8: /usr/include
- v8 header: /usr/include
- v8 lib : /usr/lib64/
-- Found jsoncpp: /usr/local/include
- Jsoncpp header: /usr/local/include
- Jsoncpp lib : /usr/local/lib/libjsoncpp.a
-- Found json_rpc_cpp: /usr/local/include (found suitable version "0.6.0", minimum required is "0.4")
- json-rpc-cpp header: /usr/local/include
- json-rpc-cpp lib : /usr/local/lib/;/usr/local/lib/;/usr/local/lib/
-- Found mhd: /usr/include
- microhttpd header: /usr/include
- microhttpd lib : /usr/lib64/
- microhttpd dll :
-- Found readline: /usr/include
- readline header: /usr/include
- readline lib : /usr/lib64/
-- Found miniupnpc: /usr/include
- miniupnpc header: /usr/include
- miniupnpc lib : /usr/lib64/
-- Found gmp: /usr/local/include
- gmp header: /usr/local/include
- gmp lib : /usr/local/lib/
-- Found CURL: /usr/include
- curl header: /usr/include
- curl lib : /usr/lib64/
-- Could NOT find cpuid (missing: CPUID_INCLUDE_DIR CPUID_LIBRARY)
-- Looking for CL_VERSION_2_0
-- Looking for CL_VERSION_2_0 - not found
-- Looking for CL_VERSION_1_2
-- Looking for CL_VERSION_1_2 - not found
-- Looking for CL_VERSION_1_1
-- Looking for CL_VERSION_1_1 - not found
-- Looking for CL_VERSION_1_0
-- Looking for CL_VERSION_1_0 - not found
-- Could NOT find OpenCL (missing: OpenCL_LIBRARY OpenCL_INCLUDE_DIR)
- jsonrpcstub location : /usr/local/bin/jsonrpcstub
CMake Error at cmake/EthDependencies.cmake:155 (find_package):
By not providing "FindQt5WebEngine.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"Qt5WebEngine", but CMake did not find one.

Could not find a package configuration file provided by "Qt5WebEngine"
(requested version 5.4) with any of the following names:


Add the installation prefix of "Qt5WebEngine" to CMAKE_PREFIX_PATH or set
"Qt5WebEngine_DIR" to a directory containing one of the above files. If
"Qt5WebEngine" provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
CMakeLists.txt:324 (include)

-- Configuring incomplete, errors occurred!
See also "/home/f/cpp-ethereum/CMakeFiles/CMakeOutput.log".
See also "/home/f/cpp-ethereum/CMakeFiles/CMakeError.log".

I am having issues getting past the (missing: CPUID_INCLUDE_DIR CPUID_LIBRARY) and (missing: OpenCL_LIBRARY OpenCL_INCLUDE_DIR). I have the NVIDIA developer kit installed, and I think that has OpenCL too, so I am not sure why it's not finding it. Also, what is CPUID? I found something on github and installed it, but still cmake isn't happy :(

I need some help please. I already spent too much time trying to make it work and am so close :persevere:


Post edited by eponalank on
Sign In or Register to comment.