PyCrypto 2.7a1 build fails on Solaris 11.1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Python-Crypto |
New
|
Undecided
|
Unassigned |
Bug Description
Host is Solaris 11.1 clean install:
uname -a
SunOS <cut> 5.11 11.1 i86pc i386 i86pc
Problem #1:
prompt $ /path/to/
running build
running build_py
running build_ext
running build_configure
building 'Crypto.
gcc -std=gnu99 -g -fwrapv -O3 -Wall -Wstrict-prototypes -g -O2 -Wall -Wextra -Wno-missing-
src/_fastmath.
compilation terminated.
error: command 'gcc' failed with exit status 1
GMP is installed with the package manager, but in Solaris 11.1 the include file is under a subdirectory:
prompt $ ls -l /usr/include/
-r--r--r-- 1 root bin 84701 Oct 27 2012 /usr/include/
Problem #2.
Configure without gmp:
prompt $ ./configure --without-gmp
<OK>
prompt $ /path/to/
running build
running build_py
running build_ext
running build_configure
warning: GMP or MPIR library not found; Not building Crypto.
building 'Crypto.
gcc -std=gnu99 -g -fwrapv -O3 -Wall -Wstrict-prototypes -g -O2 -Wall -Wextra -Wno-missing-
In file included from /usr/gcc/
/usr/gcc/
/usr/gcc/
error: command 'gcc' failed with exit status 1
summary: |
- PyCrypto 2.6 build fails on Solaris 11.1 + PyCrypto 2.7a1 build fails on Solaris 11.1 |
This commit provides a workaround, but I don't understand enough about the SSE2 stuff to make a smarter fix.
https:/ /github. com/mitchellrj/ pycrypto/ commit/ 2d14dd27908ac67 1905dbc6b5e2931 c7bee72670