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

Could not find Apache Ivy when run with cmake #126

Open
ggandycong opened this issue Nov 18, 2020 · 2 comments
Open

Could not find Apache Ivy when run with cmake #126

ggandycong opened this issue Nov 18, 2020 · 2 comments

Comments

@ggandycong
Copy link

I have some trouble when run project with cmake. the errors listed as follows.
Can anyone give me some advices about it,please?

cong@pc:~/Program/zookeeper-cpp$ cmake .
-- Software Version: 0.2.3
CMake Deprecation Warning at CMakeLists.txt:21 (cmake_policy):
  The OLD behavior for policy CMP0037 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


CMake Error at cmake/modules/ZooKeeper.cmake:30 (message):
  Could not find Apache Ivy
Call Stack (most recent call first):
  CMakeLists.txt:30 (include)


-- Configuring incomplete, errors occurred!
See also "/home/cong/Program/zookeeper-cpp/CMakeFiles/CMakeOutput.log".
cong@pc:~/Program/zookeeper-cpp$ cmake --version
cmake version 3.17.0

CMake suite maintained and supported by Kitware (kitware.com/cmake).
cong@pc:~/Program/zookeeper-cpp$ 

@tgockel
Copy link
Owner

tgockel commented Nov 19, 2020

Does /usr/share/java/ivy.jar exist on your system? If not, you need to install it (apt install ivy) or use the Docker environment with ./config/dev-env ubuntu-18.04.

@ggandycong
Copy link
Author

Does /usr/share/java/ivy.jar exist on your system? If not, you need to install it (apt install ivy) or use the Docker environment with ./config/dev-env ubuntu-18.04.

You are right ! I install ivy and then cmake again, some errors occurred, that could not find GTest and lcov. so much extra librariys to need.

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

No branches or pull requests

2 participants