I install gmpy2 like this:
yum install gmp-devel
yum install mpfr-devel
yum install libmpc-devel
but show these errors:
src/gmpy_mpc.c:1294: error: ‘gmpy_context’ has no member named ‘real_round’
src/gmpy_mpc.c:1294: error: ‘gmpy_context’ has no member named ‘real_round’
src/gmpy_mpc.c:1294: error: ‘gmpy_context’ has no member named ‘imag_round’
src/gmpy_mpc.c:1294: error: ‘gmpy_context’ has no member named ‘underflow’
src/gmpy_mpc.c:1294: error: ‘gmpy_context’ has no member named ‘trap_underflow’
src/gmpy_mpc.c:1294: error: ‘gmpy_context’ has no member named ‘overflow’
src/gmpy_mpc.c:1294: error: ‘gmpy_context’ has no member named ‘trap_overflow’
src/gmpy_mpc.c:1294: error: ‘gmpy_context’ has no member named ‘inexact’
src/gmpy_mpc.c:1294: error: ‘gmpy_context’ has no member named ‘trap_inexact’
..........
src/gmpy2.c:969: error: ‘MPFR_RNDU’ undeclared (first use in this function)
src/gmpy2.c:970: error: ‘MPFR_RNDD’ undeclared (first use in this function)
src/gmpy2.c:971: error: ‘MPFR_RNDA’ undeclared (first use in this function)
error: command 'gcc' failed with exit status 1
what wrong? I have install gmp,mpfr,mpc,and their devel ,,, but still so many errors. why?