We could help you more if you can post some code. Meanwhile, GMP would require
The GNU MP Bignum Library. Do you have libgmp installed? Ordinarily, I would say that
Math::Pari wasn't working, but it seems to be working. Check that you have all the dependencies installed. If you need some help posting some code, just ask-:).