LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-20-2011, 05:18 PM   #1
sophanox
LQ Newbie
 
Registered: Feb 2011
Posts: 5

Rep: Reputation: 0
Which directory are mpc, gmp & mpfr stored in after extraction?


Hey guys,

I'm trying to do a linux from scratch build (using the livecd) and am currently trying to compile and install gcc. However, this error keeps popping up:

checking for correct version of gmp/mpfr/mpc libraries...no

I've tried all the possible directories I can find for each one, but as the error doesn't specify which particular library it can't find it makes life pretty difficult =/

This is my current string:

../gcc-4.5.1/configure \
--target=$LFS_TGT --prefix=/tools \
--disable-nls --disable-shared --disable-multilib \
--disable-decimal-float --disable-threads \
--disable-libmudflap --disable-libssp \
--disable-libgomp --enable-languages=c \
--with-gmp-include=/mnt/lfs/sources/gcc-build/gmp \
--with-gmp-lib=/mnt/lfs/sources/gcc-build/gmp/.libs \
--with-mpfr-include=/mnt/lfs/sources/gcc-build/mpfr \
--with-mpfr-lib=/mnt/lfs/sources/gcc-build/mpfr/.libs \
--with-mpc-include=/mnt/lfs/sources/gcc-build/mpc/src \
--with-mpc-lib=/mnt/lfs/sources/gcc-build/mpc/src/.libs \
--without-ppl --without-cloog

It took me long enough to find the .h files and I thought it was finally over with, but now this! Argh!

Any help is much appreciated, cheers =)
 
Old 02-20-2011, 06:07 PM   #2
sophanox
LQ Newbie
 
Registered: Feb 2011
Posts: 5

Original Poster
Rep: Reputation: 0
Ah got it working thanks to some help in the irc channel

Cheers
 
Old 02-20-2011, 07:14 PM   #3
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 9,243

Rep: Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684
Please mark as SOLVED once you have a solution. Perhaps also post the solution so others may benefit from your new found knowledge
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
i have an error Building GCC: requires GMP 4.1+ and MPFR 2.3.0+. robineecc1 Linux From Scratch 14 10-03-2011 10:41 PM
Finding path of GMP and MPFR for gcc upgrade drosselmeyer Linux - Newbie 2 08-03-2011 08:15 AM
what is the use of mpfr and gmp is they are not used ? Manual error ? centguy Linux From Scratch 8 01-25-2010 06:57 AM
[SOLVED] gcc in CLFS section 5.8.1 does not compile without the omitted mpfr and gmp Openumerix Linux From Scratch 4 11-20-2009 02:35 PM
Why install MPFR and GMP in GCC as opposed to separately? GuyWhoKilledBear Linux - Software 1 08-12-2009 01:46 PM


All times are GMT -5. The time now is 10:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration