Build GMP-ECM on CentOS 6

1 Download GMP-ECM from http://ecm.gforge.inria.fr/

2 Download GMP-5.1.1 from PUIAS: http://springdale.math.ias.edu/data/puias/computational/6/x86_64/
wget http://springdale.math.ias.edu/data/puias/6/x86_64/os/RPM-GPG-KEY-puias -P /etc/pki/rpm/
Just wget all gmp511-*.rpm and rpm -i

3 Build GMP-ECM
./configure ... --with-gmp-include=/usr/local/gmp/5.1.1/include --with-gmp-lib=/usr/local/gmp/5.1.1/lib64
make

4 Build MSIEVE with ECM
Edit Makefile, add -I and -L to GMP-ECM prefix/{lib,include}
make

5 Add GMP-5.1.1 to ld.so.conf
ldconfig

6 RUN msieve

Build GMP-ECM on CentOS 6 by @sskaje: https://sskaje.me/2015/07/build-gmp-ecm-centos-6/

Incoming search terms: