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

make: *** [Makefile:29: all] Segmentation fault #284

Open
123alikaha opened this issue May 6, 2022 · 0 comments
Open

make: *** [Makefile:29: all] Segmentation fault #284

123alikaha opened this issue May 6, 2022 · 0 comments

Comments

@123alikaha
Copy link

123alikaha commented May 6, 2022

Hello, I am not a well good expert I have to face the problem by installing charm crypto 0.50 documentation using ubuntu 21.10 using python 3.7.1 and got the error make file 29 and segmentation error. I have to try possible techniques by using the charm crypto dev zip file from GitHub as form here https://github.com/JHUISI/charm Procedure I follow for charm installation from https://zhuanlan.zhihu.com/p/447934026 I have successfully installed Openssl OpenSSL 1.1.1n, GMP-6.2.0.tar.bz2, PBC-0.5.14 for charm sudo ./configure. sh as follows.

(env55) ali@ubuntu:/usr/local/src/charm-dev$ sudo ./configure.sh
[sudo] password for ali: 
Install prefix    /usr/local
data directory    /usr/local/share/charm
binary directory  /usr/local/bin
library directory /usr/local/lib
config directory  /usr/local/etc
Source path       /usr/local/src/charm-dev
CFLAGS            -O2 -g 
CHARM_CFLAGS       -m64 -Wall -Wundef -Wwrite-strings -Wmissing-prototypes  -fstack-protector-all -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits
LDFLAGS           -m64 
make              make
python            /usr/local/bin/python3
python-config     /usr/local/bin/python3-config
build_ext options build_ext 
install           install
host CPU          x86_64
wget              /usr/bin/wget
gprof enabled     no
profiler          no
static build      no
-Werror enabled   no
integer module    yes
ecc module        yes
pairing module    yes
disable benchmark no
libm found        yes
libgmp found      yes
libpbc found      yes
libcrypto found   yes
Documentation     no

**The Error during Sudo make as follows as can see follow for set -x and set +x from**

https://github.com/JHUISI/charm/blob/dev/Makefile

(env55) ali@ubuntu:/usr/local/src/charm-dev$ sudo make
Setup build/staging directories
set -x
set +x
Building the Charm Framework
/usr/local/bin/python3 setup.py build
make: *** [Makefile:29: all] Segmentation fault

Note i use Anaconda and install python 3.7 to install charm
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