make: *** [Makefile:29: all] Segmentation fault
123alikaha opened this issue · 0 comments
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