JHUISI/charm

Charm crypto Installation error while running make, python3.7 and macOS 10.15.5 Catalina

redwanwalid opened this issue · 0 comments

I am unable to install charm crypto. ./configure worked fine but make is throwing an error. Can anyone help me with this? The details are given below.

(django_test_r) Redwans-MacBook-Air:Charm-Crypto-0 2.43 redwanwalid$ sudo ./configure.sh
./configure.sh: line 519: /Users/redwanwalid/Desktop/redwan/django_test_r/bin/python-config: No such file or directory
./configure.sh: line 520: /Users/redwanwalid/Desktop/redwan/django_test_r/bin/python-config: No such file or directory
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 /Users/redwanwalid/Downloads/EncryptionSoft/Charm-Crypto-0 2.43
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-definition -Wtype-limits
LDFLAGS -m64
make make
python /Users/redwanwalid/Desktop/redwan/django_test_r/bin/python
build_ext options build_ext
install install
host CPU x86_64
wget /usr/local/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
(django_test_r) Redwans-MacBook-Air:Charm-Crypto-0 2.43 redwanwalid$ sudo make
Setup build/staging directories
set -x
set +x
Building the Charm Framework
/Users/redwanwalid/Desktop/redwan/django_test_r/bin/python setup.py build
Extracting in /tmp/tmpe8dj3mqq
<TarInfo 'distribute-0.6.42/tests/shlib_test' at 0x7fd8d62f67a0>
./distribute-0.6.42/tests/shlib_test
Traceback (most recent call last):
File "/Users/redwanwalid/Downloads/EncryptionSoft/Charm-Crypto-0 2.43/distribute_setup.py", line 143, in use_setuptools
raise ImportError
ImportError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "setup.py", line 2, in
use_setuptools() #bootstrap installs Distribute if not installed
File "/Users/redwanwalid/Downloads/EncryptionSoft/Charm-Crypto-0 2.43/distribute_setup.py", line 145, in use_setuptools
return _do_download(version, download_base, to_dir, download_delay)
File "/Users/redwanwalid/Downloads/EncryptionSoft/Charm-Crypto-0 2.43/distribute_setup.py", line 125, in _do_download
_build_egg(egg, tarball, to_dir)
File "/Users/redwanwalid/Downloads/EncryptionSoft/Charm-Crypto-0 2.43/distribute_setup.py", line 99, in _build_egg
_extractall(tar)
File "/Users/redwanwalid/Downloads/EncryptionSoft/Charm-Crypto-0 2.43/distribute_setup.py", line 472, in _extractall
self.chown(tarinfo, dirpath)
TypeError: chown() missing 1 required positional argument: 'numeric_owner'
make: *** [all] Error 1