emp-readme's People
Forkers
fooc fabrice102 wangq3635 cck3 schoppmp pseudoprogrammer fedoraghi nitrieu kzoacn prasadbuddhavarapu bl4ck5un vingstar tanvirarafin carlweng wangjunren2735emp-readme's Issues
questions on dependency we install by `apt-get`
Two questions.
Maybe we should revise README
In the README, we mentioned:
Install related packages including cmake git build-essential libssl-dev libgmp-dev (for Linux), ..., or use this script.
Actually, boost is needed for Linux. But as the script shows, that needs a little bit efforts:
sudo apt-get install -y software-properties-common
sudo add-apt-repository -y ppa:george-edison55/cmake-3.x
sudo add-apt-repository -y ppa:kojoley/boost
sudo apt-get update
sudo apt-get install -y cmake git build-essential libssl-dev libgmp-dev python
sudo apt-get install -y libboost1.58-dev
sudo apt-get install -y libboost-{chrono,log,program-options,date-time,thread,system,filesystem,regex,test}1.58-dev
I think maybe we should tell the users to use the script instead? So Install related packages including cmake git build-essential libssl-dev libgmp-dev (for Linux)
will be deleted.
Maybe we should change the script
Any reason for using libboost 1.58 and cmake for ppa? As if someone is using newer version of Ubuntu, maybe he/she already has newer versions.
And adding ppa is always not the best solution.
For Ubuntu 16.04, apt
can find libboost 1.58 from ubuntu official source, and cmake 3.51.
Do you have a minimal Ubuntu version requirement in minds?
install.py fails when adding -ag2pc
Install.py fails when -ag2pc is added. It fails with a complaint from cmake about missing add_test_with_lib macro.
This macro was present in earlier versions of emp_tool/cmake/common.cmake but was removed in df9446c
As a workaround, I copied the previous macro into emp-ag2pc/CMakeLists.txt and
cmake .
make
now complete.
How to install emp without root
Hi Xiao Wang,
I want to install emp-ot on my working pc (linux) which I don't have root access. How to avoid sudo make install
at https://github.com/emp-toolkit/emp-readme/blob/master/scripts/install_emp-ot.sh#L5.
I try cmake . && make DESTDIR=.. all install
for relic and emp-tool. However, when I compile emp-ot with cmake . CMAKE_SYSTEM_PREFIX_PATH=..
. I get a following error
- CMAKE_FOLDER-NOTFOUND/cmake/common.cmake
- CMAKE_FOLDER-NOTFOUND/cmake/source_of_randomness.cmake
- CMAKE_FOLDER-NOTFOUND/cmake/threading.cmake
- CMake Error at emp/emp-tool/cmake/emp-tool-config.cmake:2 (find_package)
- Could not find a package configuration file provided by "relic"
side note on automatic feeding OPENSSL_ROOT_DIR
I think it would be a simple option to set OPENSSL_ROOT_DIR to the default path in Mac.
However, shell script cannot change the global environment variables, but only sub-shells. It failed in Circle-CI. A related information is https://askubuntu.com/questions/53177/bash-script-to-set-environment-variables-not-working
a suggested way: Run! Let us assume w.l.o.g. the developer already sets OPENSSL_ROOT_DIR.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.