mpc 0.9: error: gmp.h can't be found, or is unusable.
when compiling mpc 0.9. I find checking the configure.log I see this error:
Quote:
Quote:
Quote:
Quote:
Where do I report it? Thanks in Advance Tom Bodine |
Setting LD_LIBRARY_PATH isn't going to help find header files like gmp.h. If you had installed gmp somewhere like /usr or /usr/local, then gmp.h would have been in the default path the mpc configure script looks for header files. Since you didn't install gmp in a standard location, the mpc configure script has no idea it needs to look in /root/gnu/include. This isn't a bug at all. You're given the configure option of pointing to the path containing the gmp headers and libraries. Everything works just like it's supposed to.
The only thing really concerning is that you're building software as root. |
Yes, I know, but thanks any ways.
My beef is that if I specify the location of prefix, configure should find gmp.h and libgmp.* with out me having to enter the --with-gmp-include and --with-gmp-lib, since I placed them in $prefix/include and $prefix/lib respectively. Regards Tom Bodine |
The --prefix option is the prefix where you want to INSTALL the package, not the prefix to look in for headers and libraries. But, if you think it's a bug (which it's not), the appropriate place to report it is --> http://www.gnu.org/s/autoconf/
|
All times are GMT -5. The time now is 08:06 AM. |