For relic, cmake . && make && sudo make install works well and find . -name librelic_s.a shows that librelic_s.a is generated well. But in aby cmake . && make produce the following error message:
[ 61%] Building C object extern/ENCRYPTO_utils/extern/relic/src/CMakeFiles/relic_s.dir/low/curve2251-sse/relic_fb_trc_low.c.o
[ 62%] Linking C static library ../../../../../lib/librelic_s.a
/usr/bin/ar: ../../../../../lib/librelic_s.a: Permission denied
extern/ENCRYPTO_utils/extern/relic/src/CMakeFiles/relic_s.dir/build.make:1362: recipe for target 'lib/librelic_s.a' failed
make[2]: [lib/librelic_s.a] Error 1
CMakeFiles/Makefile2:212: recipe for target 'extern/ENCRYPTO_utils/extern/relic/src/CMakeFiles/relic_s.dir/all' failed
make[1]: [extern/ENCRYPTO_utils/extern/relic/src/CMakeFiles/relic_s.dir/all] Error 2
Makefile:148: recipe for target 'all' failed
make: *** [all] Error 2
Do I have to uninstall the relic ? Although in cmake ., it seems that relic is handled well. Is there a solution not to uninstall the relic? Thanks.
For relic,
cmake . && make && sudo make install
works well andfind . -name librelic_s.a
shows that librelic_s.a is generated well. But in abycmake . && make
produce the following error message:Do I have to uninstall the relic ? Although in
cmake .
, it seems that relic is handled well. Is there a solution not to uninstall the relic? Thanks.