Building GDC

Steve Teale steve.teale at britseyeview.com
Thu Oct 31 03:41:52 PDT 2013


> Hello Steve,
>
> It's been a while since you've poked your head round here.  ;-)
>
> This error message you are getting is quite misleading and 
> frequently the
> problem has nothing to do with the message.  You have to check 
> the file
> 'config.log' in the directory where the error occurred.  In the 
> error you
> are getting, you would have to check the 'config.log' file in 
> the directory
> '/home/steve/gdc/objdir/i686-pc-linux-gnu/libgcc'.  There might 
> be several
> test programs that failed during the configuration, but some of 
> these
> failures are non-critical.  Check for the last error entry in 
> the file.
>
> However a common cause is that the tequired libraries for the 
> GCC build are
> missing, specifically MPFR, GMP and MPC.
>
> In Ubuntu, even if these packages are installed, they are put 
> into
> multiarch directories which vanilla GCC isn't aware of.
>
> Can you export the following two environment variables, and see 
> if it
> continues to fail.
>
> export CPATH=/usr/include/i686-linux-gnu
> export LIBRARY_PATH=/usr/lib/i686-linux-gnu

I have libmpfr.so.4, so what do I need to change to make the 
build look for that instead - shall I just rename the link?


More information about the D.gnu mailing list