Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't build validator-keys-tool (Ubuntu18.04) #15

Closed
Akonova1enko opened this issue Jun 24, 2020 · 4 comments
Closed

can't build validator-keys-tool (Ubuntu18.04) #15

Akonova1enko opened this issue Jun 24, 2020 · 4 comments

Comments

@Akonova1enko
Copy link

Error during build when following instructions in README.md on Ubuntu 18.04

-- Found Boost: /tmp/boost (found suitable version "1.73.0", minimum required is "1.70") found components: chrono context coroutine date_time filesystem program_options regex serialization system thread atomic
-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.a (found suitable version "1.1.1", minimum required is "1.0.2")
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11")
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Using local build of RocksDB.
# date: USE_SYSTEM_TZ_DB OFF
# date: USE_TZ_DB_IN_DOT OFF
# date: BUILD_SHARED_LIBS OFF
# date: ENABLE_DATE_TESTING OFF
# date: DISABLE_STRING_VIEW OFF
-- Found Protobuf: /usr/local/lib/libprotobuf.a;-pthread (found suitable version "3.12.3", minimum required is "3.8")
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.13") found components: doxygen dot
-- Configuring done
CMake Error at my_build/_deps/rippled_src-src/Builds/CMake/deps/gRPC.cmake:344 (add_library):
  No SOURCES given to target: grpc_pbufs
Call Stack (most recent call first):
  my_build/_deps/rippled_src-src/CMakeLists.txt:57 (include)


CMake Generate step failed.  Build files cannot be regenerated correctly.
The command '/bin/sh -c cmake -DCMAKE_VERBOSE_MAKEFILE=ON ..' returned a non-zero code: 1
ximinez added a commit to ximinez/validator-keys-tool that referenced this issue Jun 25, 2020
@ximinez
Copy link
Contributor

ximinez commented Jun 25, 2020

It looks like a couple of changes were introduced in rippled 1.5.0 that are incompatible with building as a module, and break a couple of APIs. That's unfortunate.

You can workaround the issue by using an older version of rippled by passing -Drippled_tag=1.4.0 to your cmake call.

If 1.6.0 contains XRPLF/rippled#3449 (and it should), that will fix the cmake setup issue, then #16 will fix the build issue.

@Akonova1enko
Copy link
Author

it works, thank you for fast reply!

@ximinez
Copy link
Contributor

ximinez commented Jun 30, 2020

it works, thank you for fast reply!

You're welcome!

I'm going to leave this issue open until both rippled and validator-keys-tool are fixed without needing a workaround.

@ximinez
Copy link
Contributor

ximinez commented Sep 29, 2020

We just pushed 0.3.2, which should resolve the current build issues. I'm going to close this issue. If you have further questions or problems, please feel free to reopen this issue or open a new one. Thanks for your feedback!

@ximinez ximinez closed this as completed Sep 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants