LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 05-20-2012, 10:18 AM   #16
kiyoshi7
Member
 
Registered: May 2012
Posts: 37

Original Poster
Rep: Reputation: Disabled

thx but then how do i get md5 to check the packages cause im not being able to get it to work...
 
Old 05-20-2012, 10:23 AM   #17
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
In chapter 3.2 there is

Binutils (2.22) - 19,505 KB:

Home page: http://www.gnu.org/software/binutils/

Download: http://ftp.gnu.org/gnu/binutils/binutils-2.22.tar.bz2 << download to /mnt/lfs/sources

MD5 sum: ee0f10756c84979622b992a4a61ea3f5 << this is the md5 for binutils run
cd into /mnt/lfs/sources
Code:
md5sum binutils-2.22.tar.bz2
terminal willoutput the md5 of the file check it with the 1 stated for the package
 
Old 05-20-2012, 02:15 PM   #18
kiyoshi7
Member
 
Registered: May 2012
Posts: 37

Original Poster
Rep: Reputation: Disabled
ahhh ok ok you check it against this list: http://www.linuxfromscratch.org/lfs/...opment/md5sums

but you do it manually right?
 
Old 05-20-2012, 02:22 PM   #19
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
No on this page As I download the package, the md5 is there
 
Old 05-21-2012, 01:37 PM   #20
kiyoshi7
Member
 
Registered: May 2012
Posts: 37

Original Poster
Rep: Reputation: Disabled
thx. I've been making some progress on lfs but now im running int to this message when i try adding gcc
when i type make in the end of the whole process i get this:

checking format of `long double' floating point... IEEE extended, little endian
checking for TLS support... yes
checking for gmp.h... no
configure: error: gmp.h can't be found, or is unusable.
make[2]: *** [configure-stage1-mpfr] Error 1
make[2]: Leaving directory `/mnt/Omoikane/sources/gcc-build'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/mnt/Omoikane/sources/gcc-build'
make: *** [all] Error 2

the gmp version is the same as in the book but gcc is 4.7.0 and in the book its 4.6.2 can this be the problem?
 
Old 05-21-2012, 01:41 PM   #21
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Hi

Can you post this in a new thread plz
 
Old 05-21-2012, 03:08 PM   #22
stoat
Member
 
Registered: May 2007
Distribution: LFS
Posts: 628

Rep: Reputation: 185Reputation: 185
Yes, a new thread with a relevant title. But for now, maybe you made an error untarring those three tarballs (mpfr, gmp, mpc) in the source tree of gcc. Anyway, it sounds like a good explanation for gmp.h not being found.

And of course you should do what you think is best, but I would build GCC-4.6.2 in the current stable book. GCC-4.7.0 is now in those daily snapshot development versions of the book, but later on in BLFS there are a few issues with it as some things there are not exactly ready for it yet. Some of those issues have been fixed with seds. But there may be others. I just finished a new BLFS system and saw those things along the way. I had no issues in the current BLFS book with GCC-4.6.2. Just something to use in the calculation to decide.

P.S.: Well I saw the new thread now. I would delete this post if I could. But I don't see how. Go here for the new thread...

http://www.linuxquestions.org/questi...oblems-946188/
.
.

Last edited by stoat; 05-21-2012 at 03:54 PM.
 
  


Reply



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 Want To Start Learning Red Hat Linux From Scratch freebeeinmood Linux - Newbie 5 03-11-2005 09:41 AM
ali aladdin v agp stinks :scratch: :scratch: :scratch: Mr Marmmalade Linux - Hardware 1 07-08-2003 05:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 04:45 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
Open Source Consulting | Domain Registration