Closed GoogleCodeExporter closed 9 years ago
Where are the files gmp.h, mpfr.h, and mpc.h located?
You will need to tell setup.py where GMP, MPFR, and MPC are located. For
example, if the headers files are located in /usr/local/lib, then install with
this command:
python setup.py build_ext --prefix=/opt/local --force
followed by:
sudo python setup.py install --prefix=/opt/local
If that doesn't work, can you include the complete output of the attempt to
build gmpy2?
Issue 67 describes a similar issue. Do the troubleshooting steps there help?
https://code.google.com/p/gmpy/issues/detail?id=67&can=1
Original comment by casevh
on 2 Sep 2013 at 2:02
sudo python setup.py install --prefix=/usr/local/Cellar/mpc/mpc-1.0.1
thanks
brew default mpc version is 0.22,and do not support --with-gmp etc.
after i download latest 1.0.1
it works.
Original comment by warpte...@gmail.com
on 2 Sep 2013 at 6:37
Thanks for letting me know that it works.
Original comment by casevh
on 3 Sep 2013 at 6:39
Original issue reported on code.google.com by
warpte...@gmail.com
on 1 Sep 2013 at 7:48