Hello, Fink beginner here. I'm trying to build gcc with certain specifications:
$ sudo ../gcc-4.6.0/configure --target=$TARGET --prefix=$PREFIX
--disable-nls --enable-languages=c,c++ --without-headers

When I run that package's configuration script, it goes through
checking various configuration details (build system type, C compiler,
et cetera). However, this fails with the following error:

checking for the correct version of gmp.h... no
configure: error: Building GCC requires GMP 4.2+, MPFR 2.3.1+ and MPC 0.8.0+.
Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
their locations.  Source code for these libraries can be found at
their respective hosting sites as well as at
ftp://gcc.gnu.org/pub/gcc/infrastructure/.  See also
http://gcc.gnu.org/install/prerequisites.html for additional info.  If
you obtained GMP, MPFR and/or MPC from a vendor distribution package,
make sure that you have installed both the libraries and the header
files.  They may be located in separate packages.

Using Fink, I went through and installed (fink install) the latest
versions of gmp5, libmpfr4, libmpc2, and libmpc2-shlibs. If I again
run

$ sudo ../gcc-4.6.0/configure --target=$TARGET --prefix=$PREFIX
--disable-nls --enable-languages=c,c++ --without-headers

I get the same problem; ditto if I run

$ sudo ../gcc-4.6.0/configure --target=$TARGET --prefix=$PREFIX
--disable-nls --enable-languages=c,c++ --without-headers
--with-gmp=/sw/include/gmp.h --with-mpfc=/sw/include/mpfr.h
--with-mpc=/sw/include/mpc.h

Does anyone have any suggestions? I have /sw/lib in my $PATH.

Thanks in advance.

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to