XRPLF / rippled

Decentralized cryptocurrency blockchain daemon implementing the XRP Ledger protocol in C++
https://xrpl.org
ISC License
4.48k stars 1.45k forks source link

[build docs error] (Version: [2.1.1]) #4973

Open Relect opened 3 months ago

Relect commented 3 months ago

Steps to Reproduce

mkdir build cd build cmake .. - error CMake Error at CMakeLists.txt:77 (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:

lz4Config.cmake
lz4-config.cmake

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.

start conan install conanfile.py --build=missing ... Install finished successfully

again cmake .. - error CMake Error at CMakeLists.txt:77 (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.

Expected Result

not docs - where docs??? docker container don't work!!!

Actual Result

error build docs

Environment

fedora 40

JeetDSharma commented 2 months ago

If you found a solution, do let me know, as I am stuck on the same step.

mvadari commented 2 months ago

This is the build command I use:

conan install path/to/source --output-folder . --build missing --settings build_type=Debug
JeetDSharma commented 2 months ago

Thanks, it worked for me as well

thejohnfreeman commented 2 months ago

This is an issue of stale docs, but it's also a moving target. I can give it some attention after #4997 is merged. It can be a great first issue for someone else. No C++ expertise is required.

JeetDSharma commented 2 months ago

This is an issue of stale docs, but it's also a moving target. I can give it some attention after #4997 is merged. It can be a great first issue for someone else. No C++ expertise is required.

I can work on this, do let me know how to update docs.

ncirelli87 commented 2 months ago

Just use pip 3.4.11

On Tue, Apr 23, 2024, 9:55 AM Jeet Sharma @.***> wrote:

This is an issue of stale docs, but it's also a moving target. I can give it some attention after #4997 https://github.com/XRPLF/rippled/pull/4997 is merged. It can be a great first issue for someone else. No C++ expertise is required.

I can work on this, do let me know how to update docs.

— Reply to this email directly, view it on GitHub https://github.com/XRPLF/rippled/issues/4973#issuecomment-2072571561, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATSSB3QRNNPJ7ICYWINHWWTY6ZY5NAVCNFSM6AAAAABFQFN552VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZSGU3TCNJWGE . You are receiving this because you are subscribed to this thread.Message ID: @.***>