Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {14-10-17 4:32}expect:~/scripts/python root# cat /root/.pip/pip.log
- ------------------------------------------------------------
- /usr/bin/pip run on Fri Oct 17 04:30:19 2014
- Requirement already satisfied (use --upgrade to upgrade): paramiko in /usr/lib/python2.6/site-packages
- Downloading/unpacking pycrypto>=2.1,!=2.4 (from paramiko)
- Running setup.py egg_info for package pycrypto
- running egg_info
- writing pip-egg-info/pycrypto.egg-info/PKG-INFO
- writing top-level names to pip-egg-info/pycrypto.egg-info/top_level.txt
- writing dependency_links to pip-egg-info/pycrypto.egg-info/dependency_links.txt
- warning: manifest_maker: standard file '-c' not found
- reading manifest file 'pip-egg-info/pycrypto.egg-info/SOURCES.txt'
- reading manifest template 'MANIFEST.in'
- writing manifest file 'pip-egg-info/pycrypto.egg-info/SOURCES.txt'
- Source in /tmp/pip-build-root/pycrypto has version 2.6.1, which satisfies requirement pycrypto>=2.1,!=2.4 (from paramiko)
- Downloading/unpacking ecdsa>=0.11 (from paramiko)
- Running setup.py egg_info for package ecdsa
- running egg_info
- writing pip-egg-info/ecdsa.egg-info/PKG-INFO
- writing top-level names to pip-egg-info/ecdsa.egg-info/top_level.txt
- writing dependency_links to pip-egg-info/ecdsa.egg-info/dependency_links.txt
- warning: manifest_maker: standard file '-c' not found
- reading manifest file 'pip-egg-info/ecdsa.egg-info/SOURCES.txt'
- reading manifest template 'MANIFEST.in'
- writing manifest file 'pip-egg-info/ecdsa.egg-info/SOURCES.txt'
- Source in /tmp/pip-build-root/ecdsa has version 0.11, which satisfies requirement ecdsa>=0.11 (from paramiko)
- Installing collected packages: pycrypto, ecdsa
- Running setup.py install for pycrypto
- Running command /usr/bin/python -c "import setuptools;__file__='/tmp/pip-build-root/pycrypto/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-F366o6-record/install-record.txt --single-version-externally-managed
- running install
- running build
- running build_py
- running build_ext
- running build_configure
- 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 for __gmpz_init in -lgmp... no
- checking for __gmpz_init in -lmpir... no
- checking whether mpz_powm is declared... no
- checking whether mpz_powm_sec is declared... no
- checking how to run the C preprocessor... gcc -E
- 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 inttypes.h... (cached) yes
- checking limits.h usability... yes
- checking limits.h presence... yes
- checking for limits.h... yes
- checking stddef.h usability... yes
- checking stddef.h presence... yes
- checking for stddef.h... yes
- checking for stdint.h... (cached) yes
- checking for stdlib.h... (cached) yes
- checking for string.h... (cached) yes
- checking wchar.h usability... yes
- checking wchar.h presence... yes
- checking for wchar.h... yes
- checking for inline... inline
- checking for int16_t... yes
- checking for int32_t... yes
- checking for int64_t... yes
- checking for int8_t... yes
- checking for size_t... yes
- checking for uint16_t... yes
- checking for uint32_t... yes
- checking for uint64_t... yes
- checking for uint8_t... yes
- checking for stdlib.h... (cached) yes
- checking for GNU libc compatible malloc... yes
- checking for memmove... yes
- checking for memset... yes
- configure: creating ./config.status
- config.status: creating src/config.h
- warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath.
- building 'Crypto.Hash._MD2' extension
- creating build/temp.linux-x86_64-2.6
- creating build/temp.linux-x86_64-2.6/src
- gcc -pthread -fno-strict-aliasing -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.6 -c src/MD2.c -o build/temp.linux-x86_64-2.6/src/MD2.o
- src/MD2.c:31:20: error: Python.h: No such file or directory
- src/MD2.c:131: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
- In file included from src/MD2.c:147:
- src/hash_template.c:48: error: expected specifier-qualifier-list before ‘PyObject_HEAD’
- src/hash_template.c:59: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PyTypeObject’
- src/hash_template.c: In function ‘newALGobject’:
- src/hash_template.c:69: warning: implicit declaration of function ‘PyObject_New’
- src/hash_template.c:69: error: expected expression before ‘ALGobject’
- src/hash_template.c: At top level:
- src/hash_template.c:76: error: expected ‘)’ before ‘*’ token
- src/hash_template.c:91: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
- src/hash_template.c:110: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
- src/hash_template.c:122: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
- src/hash_template.c:162: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
- src/hash_template.c:188: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
- src/hash_template.c:190: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ALG_methods’
- src/hash_template.c:199: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
- src/hash_template.c:225: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ALGtype’
- src/hash_template.c:271: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
- src/hash_template.c:304: error: array type has incomplete element type
- src/hash_template.c:305: error: ‘PyCFunction’ undeclared here (not in a function)
- src/hash_template.c:305: error: expected ‘}’ before ‘ALG_new’
- src/hash_template.c: In function ‘init_MD2’:
- src/hash_template.c:339: error: ‘PyObject’ undeclared (first use in this function)
- src/hash_template.c:339: error: (Each undeclared identifier is reported only once
- src/hash_template.c:339: error: for each function it appears in.)
- src/hash_template.c:339: error: ‘m’ undeclared (first use in this function)
- src/hash_template.c:351: error: ‘ALGtype’ undeclared (first use in this function)
- src/hash_template.c:351: error: ‘PyType_Type’ undeclared (first use in this function)
- src/hash_template.c:352: warning: implicit declaration of function ‘Py_InitModule’
- src/hash_template.c:356: error: ‘o’ undeclared (first use in this function)
- src/hash_template.c:356: warning: implicit declaration of function ‘PyInt_FromLong’
- src/hash_template.c:356: warning: implicit declaration of function ‘PyDict_SetItemString’
- src/hash_template.c:356: warning: implicit declaration of function ‘PyModule_GetDict’
- src/hash_template.c:356: warning: implicit declaration of function ‘Py_DECREF’
- src/hash_template.c:360: warning: implicit declaration of function ‘PyErr_Occurred’
- src/hash_template.c:361: warning: implicit declaration of function ‘Py_FatalError’
- error: command 'gcc' failed with exit status 1
- Complete output from command /usr/bin/python -c "import setuptools;__file__='/tmp/pip-build-root/pycrypto/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-F366o6-record/install-record.txt --single-version-externally-managed:
- running install
- running build
- running build_py
- running build_ext
- running build_configure
- 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 for __gmpz_init in -lgmp... no
- checking for __gmpz_init in -lmpir... no
- checking whether mpz_powm is declared... no
- checking whether mpz_powm_sec is declared... no
- checking how to run the C preprocessor... gcc -E
- 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 inttypes.h... (cached) yes
- checking limits.h usability... yes
- checking limits.h presence... yes
- checking for limits.h... yes
- checking stddef.h usability... yes
- checking stddef.h presence... yes
- checking for stddef.h... yes
- checking for stdint.h... (cached) yes
- checking for stdlib.h... (cached) yes
- checking for string.h... (cached) yes
- checking wchar.h usability... yes
- checking wchar.h presence... yes
- checking for wchar.h... yes
- checking for inline... inline
- checking for int16_t... yes
- checking for int32_t... yes
- checking for int64_t... yes
- checking for int8_t... yes
- checking for size_t... yes
- checking for uint16_t... yes
- checking for uint32_t... yes
- checking for uint64_t... yes
- checking for uint8_t... yes
- checking for stdlib.h... (cached) yes
- checking for GNU libc compatible malloc... yes
- checking for memmove... yes
- checking for memset... yes
- configure: creating ./config.status
- config.status: creating src/config.h
- warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath.
- building 'Crypto.Hash._MD2' extension
- creating build/temp.linux-x86_64-2.6
- creating build/temp.linux-x86_64-2.6/src
- gcc -pthread -fno-strict-aliasing -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.6 -c src/MD2.c -o build/temp.linux-x86_64-2.6/src/MD2.o
- src/MD2.c:31:20: error: Python.h: No such file or directory
- src/MD2.c:131: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
- In file included from src/MD2.c:147:
- src/hash_template.c:48: error: expected specifier-qualifier-list before ‘PyObject_HEAD’
- src/hash_template.c:59: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PyTypeObject’
- src/hash_template.c: In function ‘newALGobject’:
- src/hash_template.c:69: warning: implicit declaration of function ‘PyObject_New’
- src/hash_template.c:69: error: expected expression before ‘ALGobject’
- src/hash_template.c: At top level:
- src/hash_template.c:76: error: expected ‘)’ before ‘*’ token
- src/hash_template.c:91: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
- src/hash_template.c:110: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
- src/hash_template.c:122: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
- src/hash_template.c:162: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
- src/hash_template.c:188: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
- src/hash_template.c:190: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ALG_methods’
- src/hash_template.c:199: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
- src/hash_template.c:225: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ALGtype’
- src/hash_template.c:271: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
- src/hash_template.c:304: error: array type has incomplete element type
- src/hash_template.c:305: error: ‘PyCFunction’ undeclared here (not in a function)
- src/hash_template.c:305: error: expected ‘}’ before ‘ALG_new’
- src/hash_template.c: In function ‘init_MD2’:
- src/hash_template.c:339: error: ‘PyObject’ undeclared (first use in this function)
- src/hash_template.c:339: error: (Each undeclared identifier is reported only once
- src/hash_template.c:339: error: for each function it appears in.)
- src/hash_template.c:339: error: ‘m’ undeclared (first use in this function)
- src/hash_template.c:351: error: ‘ALGtype’ undeclared (first use in this function)
- src/hash_template.c:351: error: ‘PyType_Type’ undeclared (first use in this function)
- src/hash_template.c:352: warning: implicit declaration of function ‘Py_InitModule’
- src/hash_template.c:356: error: ‘o’ undeclared (first use in this function)
- src/hash_template.c:356: warning: implicit declaration of function ‘PyInt_FromLong’
- src/hash_template.c:356: warning: implicit declaration of function ‘PyDict_SetItemString’
- src/hash_template.c:356: warning: implicit declaration of function ‘PyModule_GetDict’
- src/hash_template.c:356: warning: implicit declaration of function ‘Py_DECREF’
- src/hash_template.c:360: warning: implicit declaration of function ‘PyErr_Occurred’
- src/hash_template.c:361: warning: implicit declaration of function ‘Py_FatalError’
- error: command 'gcc' failed with exit status 1
- ----------------------------------------
- Command /usr/bin/python -c "import setuptools;__file__='/tmp/pip-build-root/pycrypto/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-F366o6-record/install-record.txt --single-version-externally-managed failed with error code 1 in /tmp/pip-build-root/pycrypto
- Exception information:
- Traceback (most recent call last):
- File "/usr/lib/python2.6/site-packages/pip/basecommand.py", line 139, in main
- status = self.run(options, args)
- File "/usr/lib/python2.6/site-packages/pip/commands/install.py", line 271, in run
- requirement_set.install(install_options, global_options, root=options.root_path)
- File "/usr/lib/python2.6/site-packages/pip/req.py", line 1185, in install
- requirement.install(install_options, global_options, *args, **kwargs)
- File "/usr/lib/python2.6/site-packages/pip/req.py", line 592, in install
- cwd=self.source_dir, filter_stdout=self._filter_install, show_stdout=False)
- File "/usr/lib/python2.6/site-packages/pip/util.py", line 662, in call_subprocess
- % (command_desc, proc.returncode, cwd))
- InstallationError: Command /usr/bin/python -c "import setuptools;__file__='/tmp/pip-build-root/pycrypto/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-F366o6-record/install-record.txt --single-version-externally-managed failed with error code 1 in /tmp/pip-build-root/pycrypto
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement