Closed safetylab closed 5 months ago
You'll need to read the new build instructions, please.
@safetylab where did you get the old build instructions from? (Just checking that there isn't a place that we need to update)
If https://github.com/XRPLF/rippled/blob/develop/BUILD.md didn't work for you, please let us know. Otherwise, this issue may be closed after 5 days of inactivity.
I use new docs but when i try to compile I have -- Conan: Including build module from '/root/.conan/data/grpc/1.50.1///package/569263efe1e5a12012e35d8c0568a8b22bb0cebd/lib/cmake/conan_trick/grpc_pythonplugin.cmake' -- Conan: Including build module from '/root/.conan/data/grpc/1.50.1//_/package/569263efe1e5a12012e35d8c0568a8b22bb0cebd/lib/cmake/conan_trick/grpc_ruby_plugin.cmake' CMake Error at CMakeLists.txt:114 (find_package): By not providing "Findcassandra-cpp-driver.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "cassandra-cpp-driver", but CMake did not find one.
Could not find a package configuration file provided by "cassandra-cpp-driver" with any of the following names:
cassandra-cpp-driverConfig.cmake
cassandra-cpp-driver-config.cmake
Add the installation prefix of "cassandra-cpp-driver" to CMAKE_PREFIX_PATH or set "cassandra-cpp-driver_DIR" to a directory containing one of the above files. If "cassandra-cpp-driver" provides a separate development package or SDK, be sure it has been installed.
-- Configuring incomplete, errors occurred! See also "/2/rippled-1.10.1/.build/CMakeFiles/CMakeOutput.log". See also "/2/rippled-1.10.1/.build/CMakeFiles/CMakeError.log".
I have installed casandra by apt install
You'll need to pass -o reporting=true
to conan install
. I'll add that to the instructions.
It is not going to use your system Cassandra. For that, you would need a CMake PCF or FM pointing to Cassandra, on the search path of CMake. It is unlikely your system package manager would install one.
ok I complied from source but
[server]
port_rpc_admin_local
port_peer
port_ws_admin_local
#port_ws_public
#ssl_key = /etc/ssl/private/server.key
#ssl_cert = /etc/ssl/certs/server.crt
[port_rpc_admin_local]
port = 5005
ip = 127.0.0.1
admin = 127.0.0.1
protocol = http
[port_peer]
port = 51235
ip = 0.0.0.0
protocol = peer
[port_ws_admin_local]
port = 6006
ip = 127.0.0.1
admin = 127.0.0.1
protocol = ws
[port_grpc]
port = 50051
ip = 127.0.0.1
secure_gateway = 127.0.0.1
[port_ws_public]
port = 6005
ip = 127.0.0.1
protocol = wss
[reporting]
etl_source
[etl_source]
source_grpc_port=50051
source_ws_port=6005
source_ip=127.0.0.1
/opt/ripple/bin/rippled --net --silent --conf /etc/opt/ripple/rippled.cfg
2023-Apr-04 12:13:10.551649613 UTC JobQueue:NFO Using 6 threads
2023-Apr-04 12:13:10.552078199 UTC LedgerConsensus:NFO Consensus engine started (cookie: 6036851536346026460)
2023-Apr-04 12:13:10.552183567 UTC ReportingETL::ETLSource:NFO Using IP to connect to ETL source: 127.0.0.1:50051
2023-Apr-04 12:13:10.552517726 UTC ReportingETL::ETLSource:NFO Made stub for remote = { validated_ledger : , ip : 127.0.0.1 , web socket port : 6005, grpc port : 50051 }
2023-Apr-04 12:13:10.552529247 UTC ReportingETL::LoadBalancer:NFO add : added etl source - { validated_ledger : , ip : 127.0.0.1 , web socket port : 6005, grpc port : 50051 }
2023-Apr-04 12:13:10.552814584 UTC Application:NFO Process starting: rippled-1.10.1, Instance Cookie: 9184867271792350601
doesnt work
Doesn't work how? We might want to edit the title of this issue, or open a different issue, now that the original problem is resolved.
@safetylab if the problem in your initial description has been resolved, feel free to close this issue and open a new one. Be sure to explain exactly what you mean by "doesnt work". Thanks!
Issue Description
cmake -B build -Dreporting=ON -DCMAKE_BUILD_TYPE=Debug doest work
Steps to Reproduce
Just run it on Ubuntu 20 fatal: not a git repository (or any of the parent directories): .git -- Using 5 cores for ExternalProject builds. -- rippled version: 1.10.1 -- using [] as build container tag... CMake Error at CMakeLists.txt:76 (find_package): By not providing "Findlz4.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "lz4", but CMake did not find one.
Could not find a package configuration file provided by "lz4" with any of the following names:
Add the installation prefix of "lz4" to CMAKE_PREFIX_PATH or set "lz4_DIR" to a directory containing one of the above files. If "lz4" provides a separate development package or SDK, be sure it has been installed.
-- Configuring incomplete, errors occurred! See also "/2/rippled-1.10.1/build/CMakeFiles/CMakeOutput.log". See also "/2/rippled-1.10.1/build/CMakeFiles/CMakeError.log".