openabe icon indicating copy to clipboard operation
openabe copied to clipboard

Error while install openabe

Open FMoLeons opened this issue 3 years ago • 5 comments

When installing openabe above ubuntu 20.04, an error occurred. 屏幕截图 2021-11-01 225106

FMoLeons avatar Nov 01 '21 14:11 FMoLeons

You can try it as I have modified it, on my computer it works like this. Hopefully it will work on your computer too!

bot@ubuntu:~/openabe$ sudo apt-get install libssl-dev

bot@ubuntu:~/openabe$ vim Makefile.common 
    Line 6: LDLIBS ?= -lpthread
    Line 58: DEPS_PACKAGES = $(if $(USE_DEPS),$(USE_DEPS),relic openssl)

bot@ubuntu:~/openabe$ vim deps/gtest/download_gtest.sh 
    Line 10: GTEST_LINK=https://github.com/google/googletest/archive/refs/tags/release-${VERSION}.zip
    Line 13: wget -O ${GTEST_VERSION} ${GTEST_LINK} --no-check-certificate

bot@ubuntu:~/openabe$ vim src/Makefile.inc 
    Line 9: BISON = /bin/bison

bot@ubuntu:~/openabe$ vim deps/Makefile 
    Line 18: for d in relic openssl; do \
    Line 24: for d in relic openssl; do \

bot@ubuntu:~/openabe$ vim src/Makefile
    Line 58: bison -d -v zparser.yy

ChantMisaya avatar Nov 04 '21 18:11 ChantMisaya

Hello there. I have the same error when trying to install this library (Ubuntu 22.04). The solution suggested by ChantMisaya didn't work for me. Are there any other suggestions or any ideas on how to fix this? Thank you

kburova avatar Oct 04 '22 16:10 kburova

Hi! Unfortunately, this repository seems to not be maintained anymore. However, I am trying to make the library usable again: I updated the dependencies and the build scripts to develop bindings for Kotlin (see https://github.com/StefanoBerlato/kotlin-multiplatform-openabe/tree/main). If you are not interested in Kotlin, you can just have a look at the build process for the library, I hope this can help you :)

StefanoBerlato avatar Oct 05 '22 15:10 StefanoBerlato

Hello there. I have the same error when trying to install this library (Ubuntu 22.04). The solution suggested by ChantMisaya didn't work for me. Are there any other suggestions or any ideas on how to fix this? Thank you

Hi kburova, I'm not sure which version of Ubuntu 22.04 you installed. If you have installed ARM based Ubuntu, you can try my solution on X86 Ubuntu. As StefanoBerlato said, this repository seems not to be maintained anymore:(

ChantMisaya avatar Oct 08 '22 06:10 ChantMisaya

In my case, I use gcc-9 instead of gcc-11 to solve this problem. This problem is caused by failed installing Relic. It seems that there are some conflicts between bls-signatures and Relic on that version. https://github.com/Chia-Network/bls-signatures/issues/194

yummycoder avatar Dec 27 '22 00:12 yummycoder