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

A New Building Issue: Cloning https://github.com/martinmoene/span-lite.git failed (No such file or directory). #8

Closed
DoctorJackson opened this issue May 25, 2023 · 1 comment

Comments

@DoctorJackson
Copy link

Hi, I encountered an error when building span-lite.

Here are the steps I followed:

git clone https://github.com/osu-crypto/libOTe.git --recursive
cd libOTe
git pull origin v1.6.0
git checkout v1.6.0
python3 build.py -DENABLE_CIRCUITS=true -DENABLE_ALL_OT=true

However, I received the following error message in Ubuntu 20.04:

...
============= Building span-lite =============
Cloning https://github.com/martinmoene/span-lite.git
'/usr/bin/git' 'clone' 'https://github.com/martinmoene/span-lite.git'
CMake Error at cryptoTools/thirdparty/fetch.cmake:21 (message):
  Cloning https://github.com/martinmoene/span-lite.git failed (No such file
  or directory).
Call Stack (most recent call first):
  cryptoTools/thirdparty/getSpanLite.cmake:24 (run)
  cryptoTools/cmake/cryptoToolsDepHelper.cmake:244 (include)
  cryptoTools/CMakeLists.txt:163 (include)


-- Configuring incomplete, errors occurred!
make: Makefile: No such file or directory
make: *** No rule to make target 'Makefile'.  Stop.

It seems that during the process of code update, the installation directory was either modified or deleted, but I couldn't find the specific reason for it.

Thanks!

@DoctorJackson
Copy link
Author

This issue can be resolved using the following steps:
Modify the file "libOTe/cryptoTools/thirdparty/xxxxxxx.cmake" by replacing all instances of "OC_THIRDPARTY_CLONE_DIR" with "CMAKE_CURRENT_LIST_DIR".

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

1 participant