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

Error while install openabe #63

Open
FMoLeons opened this issue Nov 1, 2021 · 5 comments
Open

Error while install openabe #63

FMoLeons opened this issue Nov 1, 2021 · 5 comments

Comments

@FMoLeons
Copy link

FMoLeons commented Nov 1, 2021

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

@ChantMisaya
Copy link

ChantMisaya commented Nov 4, 2021

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

@kburova
Copy link

kburova commented Oct 4, 2022

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

@StefanoBerlato
Copy link

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 :)

@ChantMisaya
Copy link

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:(

@yummycoder
Copy link

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. Chia-Network/bls-signatures#194

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

5 participants