mirror of
https://github.com/XRPLF/rippled.git
synced 2026-08-21 14:20:56 +00:00
Following the previous version on a freshly provisioned host failed three times, each in a way that pointed away from the actual cause. Replacing the build section with what actually works, and recording why each wrong turn misleads. The daemon is not built by default: the Conan recipe defaults its xrpld option to off. Omit the option and both Conan and CMake report success, then the build fails with "No rule to make target 'xrpld'" because the target was never created. Configure through the Conan-generated preset rather than a hand-written toolchain path. The toolchain does not sit where the single- versus multi-config layouts suggest, and a wrong path fails with "Could not find toolchain file" followed by "CMAKE_CXX_COMPILER not set", which reads as a broken compiler. The build directory is .build/build/Release, not .build. Building the wrong one reports "Generator: execution of make failed", which reads as a toolchain problem. The CMake cache is sticky: re-running conan install with a changed option does not update an already-cached CMake variable, so the target stays absent even though the option was accepted. Added the check and the cache-clearing steps.