Advertisement

03.27.2008 at 10:54AM PDT, ID: 23275008
[x]
Attachment Details

Problem compiling gcc 4.3

Asked by tr5 in Linux Administration, Linux Setup

Hi
I am trying to compile gcc 4.3.0 on my fedora 4 machine. My current version of gcc is 4.0.2 20051125. I am upgrading because I need libgcj support.

I downloaded and installed gmp and mpfr

I try
./configure --with-mpfr-include=/home/bob/mpfr-2.3.1 --with-mpfr-lib=/usr/local/lib --with-gmp-include=/home/bob/gmp-4.2 --with-gmp-lib=/usr/lib --enable-threads=posix --prefix=/usr/local --enable-shared --enable-languages=c,c++,java

but I get this error:
...
checking for correct version of gmp.h... yes
checking for correct version of mpfr.h... no
configure: error: Building GCC requires GMP 4.1+ and MPFR 2.3.0+.
Try the --with-gmp and/or --with-mpfr options to specify their locations.
....

Any other ways to get libgcj?

Any ideas?
tr5

Start Free Trial
[+][-]03.28.2008 at 12:10AM PDT, ID: 21228461

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.28.2008 at 12:16AM PDT, ID: 21228480

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.28.2008 at 12:19AM PDT, ID: 21228487

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.28.2008 at 12:26AM PDT, ID: 21228507

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.28.2008 at 12:31PM PDT, ID: 21233468

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.28.2008 at 01:33PM PDT, ID: 21233938

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.10.2008 at 01:45PM PDT, ID: 21540430

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]05.15.2008 at 07:31PM PDT, ID: 21579554

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Linux Administration, Linux Setup
Sign Up Now!
Solution Provided By: Computer101
Participating Experts: 2
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628