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

pip install -e . gives an error #7

Open
jeljelih opened this issue Dec 7, 2022 · 1 comment
Open

pip install -e . gives an error #7

jeljelih opened this issue Dec 7, 2022 · 1 comment

Comments

@jeljelih
Copy link

jeljelih commented Dec 7, 2022

When I install the library, I obtain the following error

-- The C compiler identification is GNU 9.4.0
-- The CXX compiler identification is GNU 9.4.0
-- Check for working C compiler: /bin/cc
-- Check for working C compiler: /bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /bin/c++
-- Check for working CXX compiler: /bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /bin/pkg-config (found version "0.29.1")
-- Checking for module 'libcrypto'
--   Found libcrypto, version 1.1.1f
-- Found Boost: /lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found suitable version "1.71.0", minimum required is "1.40") found components: program_options
-- Found PythonInterp: /bin/python3.8 (found version "3.8.10")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE
-- GMP: /usr/local/lib/libgmp.so, /usr/local/include
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Boost_INCLUDE_DIR
   used as include directory in directory /tmp/tmpxnmydm9m/snark
   used as include directory in directory /tmp/tmpxnmydm9m/snark
@sam-steffen
Copy link
Collaborator

It looks as if your boost installation is not configured correctly.

Alternatively, can you try to install and run zkay via docker (see https://github.com/eth-sri/zkay#using-docker)? This makes sure you don't run into this and similar dependency issues.

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