At redhat I had to install
yum install gmp-devel
after
./configure
python setup.py build
...
building 'Crypto.PublicKey._fastmath' extension
....
python setup.py install
python setup.py test
...
running test
............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................SelfTest: You can ignore the RandomPool_DeprecationWarning that follows.
..............................
----------------------------------------------------------------------
Ran 1066 tests in 9.664s
At redhat I had to install PublicKey. _fastmath' extension ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... SelfTest: You can ignore the RandomPool_ DeprecationWarn ing that follows. ....... ....... ....... .. ------- ------- ------- ------- ------- ------- ------- ------- -------
yum install gmp-devel
after
./configure
python setup.py build
...
building 'Crypto.
....
python setup.py install
python setup.py test
...
running test
.......
.......
-------
Ran 1066 tests in 9.664s
OK