Created
February 2, 2018 21:00
-
-
Save lazzarello/b88681384b1674f5d5ada285bbe5ff99 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@c3a71bcefab1:/# pip install secp256k1 | |
Collecting secp256k1 | |
Using cached secp256k1-0.13.2.tar.gz | |
Requirement already satisfied: cffi>=1.3.0 in /usr/local/lib/python3.6/dist-packages (from secp256k1) | |
Requirement already satisfied: pycparser in /usr/local/lib/python3.6/dist-packages (from cffi>=1.3.0->secp256k1) | |
Building wheels for collected packages: secp256k1 | |
Running setup.py bdist_wheel for secp256k1 ... error | |
Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-hwl7dzqn/secp256k1/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmp_vxftvowpip-wheel- --python-tag cp36: | |
0.29.1 | |
Using bundled libsecp256k1 | |
running bdist_wheel | |
running build | |
running build_py | |
creating build | |
creating build/lib.linux-x86_64-3.6 | |
creating build/lib.linux-x86_64-3.6/secp256k1 | |
copying secp256k1/__main__.py -> build/lib.linux-x86_64-3.6/secp256k1 | |
copying secp256k1/__init__.py -> build/lib.linux-x86_64-3.6/secp256k1 | |
running build_clib | |
configure.ac:20: installing 'build-aux/compile' | |
configure.ac:5: installing 'build-aux/config.guess' | |
configure.ac:5: installing 'build-aux/config.sub' | |
configure.ac:9: installing 'build-aux/install-sh' | |
configure.ac:9: installing 'build-aux/missing' | |
Makefile.am:3: error: Libtool library used but 'LIBTOOL' is undefined | |
Makefile.am:3: The usual way to define 'LIBTOOL' is to add 'LT_INIT' | |
Makefile.am:3: to 'configure.ac' and run 'aclocal' and 'autoconf' again. | |
Makefile.am:3: If 'LT_INIT' is in 'configure.ac', make sure | |
Makefile.am:3: its definition is in aclocal's search path. | |
Makefile.am: installing 'build-aux/depcomp' | |
parallel-tests: installing 'build-aux/test-driver' | |
autoreconf: automake failed with exit status: 1 | |
Traceback (most recent call last): | |
File "<string>", line 1, in <module> | |
File "/tmp/pip-build-hwl7dzqn/secp256k1/setup.py", line 295, in <module> | |
"Topic :: Security :: Cryptography" | |
File "/usr/lib/python3.6/distutils/core.py", line 148, in setup | |
dist.run_commands() | |
File "/usr/lib/python3.6/distutils/dist.py", line 955, in run_commands | |
self.run_command(cmd) | |
File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command | |
cmd_obj.run() | |
File "/tmp/pip-build-hwl7dzqn/secp256k1/setup.py", line 103, in run | |
_bdist_wheel.run(self) | |
File "/usr/lib/python3/dist-packages/wheel/bdist_wheel.py", line 179, in run | |
self.run_command('build') | |
File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command | |
self.distribution.run_command(command) | |
File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command | |
cmd_obj.run() | |
File "/usr/lib/python3.6/distutils/command/build.py", line 135, in run | |
self.run_command(cmd_name) | |
File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command | |
self.distribution.run_command(command) | |
File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command | |
cmd_obj.run() | |
File "/tmp/pip-build-hwl7dzqn/secp256k1/setup.py", line 165, in run | |
cwd=absolute("libsecp256k1"), | |
File "/usr/lib/python3.6/subprocess.py", line 291, in check_call | |
raise CalledProcessError(retcode, cmd) | |
subprocess.CalledProcessError: Command '['/tmp/pip-build-hwl7dzqn/secp256k1/libsecp256k1/autogen.sh']' returned non-zero exit status 1. | |
---------------------------------------- | |
Failed building wheel for secp256k1 | |
Running setup.py clean for secp256k1 | |
Failed to build secp256k1 | |
Installing collected packages: secp256k1 | |
Running setup.py install for secp256k1 ... error | |
Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-hwl7dzqn/secp256k1/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-xbqljjae-record/install-record.txt --single-version-externally-managed --compile: | |
0.29.1 | |
Using bundled libsecp256k1 | |
running install | |
running build | |
running build_py | |
creating build | |
creating build/lib.linux-x86_64-3.6 | |
creating build/lib.linux-x86_64-3.6/secp256k1 | |
copying secp256k1/__main__.py -> build/lib.linux-x86_64-3.6/secp256k1 | |
copying secp256k1/__init__.py -> build/lib.linux-x86_64-3.6/secp256k1 | |
running build_clib | |
configure: WARNING: unrecognized options: --disable-shared, --enable-static, --with-pic | |
checking build system type... x86_64-pc-linux-gnu | |
checking host system type... x86_64-pc-linux-gnu | |
checking for a BSD-compatible install... /usr/bin/install -c | |
checking whether build environment is sane... yes | |
checking for a thread-safe mkdir -p... /bin/mkdir -p | |
checking for gawk... no | |
checking for mawk... mawk | |
checking whether make sets $(MAKE)... yes | |
checking whether make supports nested variables... yes | |
/tmp/pip-build-hwl7dzqn/secp256k1/libsecp256k1/configure: line 2933: LT_INIT: command not found | |
checking whether make supports nested variables... (cached) yes | |
checking for pkg-config... /usr/bin/pkg-config | |
checking pkg-config is at least version 0.9.0... yes | |
checking for ar... /usr/bin/ar | |
checking for ranlib... /usr/bin/ranlib | |
checking for strip... /usr/bin/strip | |
checking for style of include used by make... GNU | |
checking for gcc... gcc | |
checking whether the C compiler works... yes | |
checking for C compiler default output file name... a.out | |
checking for suffix of executables... | |
checking whether we are cross compiling... no | |
checking for suffix of object files... o | |
checking whether we are using the GNU C compiler... yes | |
checking whether gcc accepts -g... yes | |
checking for gcc option to accept ISO C89... none needed | |
checking whether gcc understands -c and -o together... yes | |
checking dependency style of gcc... none | |
checking how to run the C preprocessor... gcc -E | |
checking for gcc... gcc | |
checking whether we are using the GNU C compiler... (cached) yes | |
checking whether gcc accepts -g... yes | |
checking for gcc option to accept ISO C89... (cached) none needed | |
checking whether gcc understands -c and -o together... (cached) yes | |
checking dependency style of gcc... (cached) none | |
checking how to run the C preprocessor... gcc -E | |
checking for gcc option to accept ISO C89... (cached) none needed | |
checking dependency style of gcc... none | |
checking if gcc supports -std=c89 -pedantic -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wno-unused-function -Wno-long-long -Wno-overlength-strings... yes | |
checking if gcc supports -fvisibility=hidden... yes | |
checking for grep that handles long lines and -e... /bin/grep | |
checking for egrep... /bin/grep -E | |
checking for ANSI C header files... yes | |
checking for sys/types.h... yes | |
checking for sys/stat.h... yes | |
checking for stdlib.h... yes | |
checking for string.h... yes | |
checking for memory.h... yes | |
checking for strings.h... yes | |
checking for inttypes.h... yes | |
checking for stdint.h... yes | |
checking for unistd.h... yes | |
checking for __int128... yes | |
checking for __builtin_expect... yes | |
checking native compiler: gcc... ok | |
checking for x86_64 assembly availability... yes | |
checking for CRYPTO... yes | |
checking for main in -lcrypto... yes | |
checking for EC functions in libcrypto... yes | |
checking for javac... no | |
configure: WARNING: cannot find JDK; try setting $JAVAC or $JAVA_HOME | |
checking jni headers... none | |
configure: WARNING: jni headers/dependencies not found. jni support disabled | |
checking whether byte ordering is bigendian... no | |
configure: Using static precomputation: yes | |
configure: Using assembly optimizations: x86_64 | |
configure: Using field implementation: 64bit | |
configure: Using bignum implementation: no | |
configure: Using scalar implementation: 64bit | |
configure: Using endomorphism optimizations: no | |
configure: Building ECDH module: no | |
configure: Building Schnorr signatures module: no | |
configure: Building ECDSA pubkey recovery module: yes | |
configure: Using jni: no | |
checking that generated files are newer than configure... done | |
configure: creating ./config.status | |
config.status: error: cannot find input file: `Makefile.in' | |
Traceback (most recent call last): | |
File "<string>", line 1, in <module> | |
File "/tmp/pip-build-hwl7dzqn/secp256k1/setup.py", line 295, in <module> | |
"Topic :: Security :: Cryptography" | |
File "/usr/lib/python3.6/distutils/core.py", line 148, in setup | |
dist.run_commands() | |
File "/usr/lib/python3.6/distutils/dist.py", line 955, in run_commands | |
self.run_command(cmd) | |
File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command | |
cmd_obj.run() | |
File "/usr/lib/python3/dist-packages/setuptools/command/install.py", line 61, in run | |
return orig.install.run(self) | |
File "/usr/lib/python3.6/distutils/command/install.py", line 589, in run | |
self.run_command('build') | |
File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command | |
self.distribution.run_command(command) | |
File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command | |
cmd_obj.run() | |
File "/usr/lib/python3.6/distutils/command/build.py", line 135, in run | |
self.run_command(cmd_name) | |
File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command | |
self.distribution.run_command(command) | |
File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command | |
cmd_obj.run() | |
File "/tmp/pip-build-hwl7dzqn/secp256k1/setup.py", line 214, in run | |
cwd=build_temp, | |
File "/usr/lib/python3.6/subprocess.py", line 291, in check_call | |
raise CalledProcessError(retcode, cmd) | |
subprocess.CalledProcessError: Command '['/tmp/pip-build-hwl7dzqn/secp256k1/libsecp256k1/configure', '--disable-shared', '--enable-static', '--disable-dependency-tracking', '--with-pic', '--enable-module-recovery', '--prefix', '/tmp/pip-build-hwl7dzqn/secp256k1/build/temp.linux-x86_64-3.6', '--without-bignum']' returned non-zero exit status 1. | |
---------------------------------------- | |
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-hwl7dzqn/secp256k1/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-xbqljjae-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-hwl7dzqn/secp256k1/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment