LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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
 
LinkBack Search this Thread
Old 08-12-2004, 04:09 AM   #1
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 57
LFS or BLFS


hi

i have the LFS package

how is it diffrent from BLFS package
can i get a BLFS package in whole like we can get LFS package

which one is better

pl. help
 
Old 08-12-2004, 07:28 AM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 47
You do BLFS after finish LFS..........on BLFS you only install what you want.

BLFS does not come in one package..........you download only what
you want or need to install.........like this.........
X-server + Gnome OR
X-server + KDE OR
X-server + fluxbox OR
X-server + KDE + fluxbox

see .......with BLFS you configure what you want........
 
Old 08-12-2004, 08:39 AM   #3
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Original Poster
Rep: Reputation: 57
hi
what i want to know is that
to install BLFS do we need to have LFS installed or
can we start with BLFS starightaway
and which one will take less time


regards

gaurav
 
Old 08-12-2004, 09:10 AM   #4
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 47
Quote:
Originally posted by masand
hi
what i want to know is that
to install BLFS do we need to have LFS installed


Yes.
Quote:
can we start with BLFS starightaway
and which one will take less time
No, You need LFS installed first...........LFS does not
take very long at all............Once you get started it goes by quick.......
 
Old 08-12-2004, 09:22 AM   #5
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Original Poster
Rep: Reputation: 57
thanks for keeping me posted
also pl. tell me what about hardware issues
do i need to get drivers for it

also i have an empty 2.5 gb ext3 fs partition kept ,i hope that is fine and i hope we can install

the desktops.

my Pc configuration is
p3 866 Mhz,
ASUS 810E MB
256 mb Ram


i hope this is fine for all the setups and how many days will it take to compile and install all the packages.
i have got this 125 mb package from LFS do i need to get the patches for all also????

regards
 
Old 08-12-2004, 10:09 AM   #6
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: West Sussex, England
Distribution: Gentoo
Posts: 1,457

Rep: Reputation: 45
masand, BLFS is just LFS with extra software. What you need depends entirely on what you choose to install.

So far, my BLFS install has consisted solely of Xorg, FVWM, and Firefox (along with the dependencies).

That didn't take long at all - a few evenings when I had half an hour free.

If you want Gnome, KDE, alsa, Quake et al, then expect it to take a lot longer. It's entirely up to you.
 
Old 08-12-2004, 10:11 PM   #7
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Original Poster
Rep: Reputation: 57
hi
i started using LFS after reading trhge manual provided.
and i am up with problems straightaway.

i have this gcc-2.9.5 and gcc-3.3

i tried compiling both but the error reported is

./configure --prefix=/tools --with-local-prefix=/tools --disable-nls --enable-shared --enable-languages=c

Created "Makefile" in /mnt/lfs/gcc-build/gcc-3.3.1 using "mt-frag"
/tools/bin/ld: unrecognized option '--as-needed'
/tools/bin/ld: use the --help option for usage information
collect2: ld returned 1 exit status
*** The command 'gcc -o conftest -g -O2 conftest.c' failed.
*** You must set the environment variable CC to a working compiler.


the arguments are the one asked to e provided in the manual

pl. help me out

regards

gaurav
 
Old 08-13-2004, 03:04 PM   #8
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,684

Rep: Reputation: 54
Hey masand!

this one (exactly) has been asked quite a few times before - I myself commented on this along the lines:
are you sure you gave the right command (like it is in the book)?

I was also suggesting to be careful using cut & paste - because the error does seem like something went into the command which does not belong there...

the error-message is: /tools/bin/ld: unrecognized option '--as-needed'

this does not show up in the command you said you gave - and this looks very sterange to me...

since I never heard again of the people, who where asking this question - could you be so kind and tell us where this error actually came from - once you get it resolved...

I do hope that you do resolve it!
 
Old 08-13-2004, 03:46 PM   #9
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Original Poster
Rep: Reputation: 57
hi there
i was wondering what does this mean and how do we do that and pl. tell me which compiler to install
gcc-2.95 or gcc-core-3.1

"You must set the environment variable CC to a working compiler."

regards
 
Old 08-21-2004, 05:02 PM   #10
kjordan
Member
 
Registered: Jul 2004
Distribution: LFS, I felt the itch and scratched it
Posts: 227

Rep: Reputation: 31
Which version did you install in /usr/bin? Or are they both in /opt?
If:
ls /usr/bin/gcc
shows something then try an:
export CC=/usr/bin/gcc
 
Old 08-21-2004, 05:12 PM   #11
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Original Poster
Rep: Reputation: 57
hi there

i have tried all these
but someone on this forum suggested me to make a link for libc.so.6 to(i not remenber that now)

so i will try that out too

regards
 
Old 12-01-2004, 09:29 AM   #12
maerong
LQ Newbie
 
Registered: Mar 2004
Distribution: Mandrake 9.2
Posts: 23

Rep: Reputation: 15
Masand,

Are you using Fedora Core 2 as your host distribution to build LFS?

I have experienced this same problem myself - see the LFS FAQ here:

http://lfs.securewebservices.co.uk/l...ml#no-asneeded

Did any of the suggested workarounds work for you? If not, I would suggest starting again under (for example) Fedora Core 1 or Red Hat 9, both of which are supposed to work well.
 
Old 12-01-2004, 10:15 AM   #13
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Original Poster
Rep: Reputation: 57
yes
i am using fedora core2 !
and i do not have FC1 yet and i cannot go back to redhat 9.0 now to so when i try again compiling LFS i will lookout what i can do, for now that too is on hold !!

anyway thanx a lot for ur suggection!!
i am checking out the link u specified

regards
 
Old 12-02-2004, 05:21 AM   #14
lordtweety
Member
 
Registered: Mar 2004
Location: Sydney
Distribution: Yoper 3.0
Posts: 87

Rep: Reputation: 15
Hey masand,

quote:
"You must set the environment variable CC to a working compiler."
means you are using a newer version of gcc, lfs 5.1 was built around gcc 2.95 so I believe.

Insert the following exactly before the command to configure and it should be fine. You are just specifying which version of gcc to use.

CC="gcc -B/usr/bin"

Otherwise you can try building lfs-6.
 
Old 12-02-2004, 07:01 AM   #15
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Original Poster
Rep: Reputation: 57
Quote:
Originally posted by lordtweety
Hey masand,

quote:
"You must set the environment variable CC to a working compiler."
means you are using a newer version of gcc, lfs 5.1 was built around gcc 2.95 so I believe.

Insert the following exactly before the command to configure and it should be fine. You are just specifying which version of gcc to use.

CC="gcc -B/usr/bin"

Otherwise you can try building lfs-6.
hi there

thanx for the tip!!!
also will lfs-6 work fine on FC2.??
i will straightway go on getting the pacakges for lfs-6

regards
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
BLFS using LFS Live CD? AxXium Linux From Scratch 6 07-25-2005 07:15 PM
Lfs --> Blfs KptnKrill Linux From Scratch 3 10-11-2003 11:19 AM
Beyond BLFS. Pure LFS? SparceMatrix Linux From Scratch 8 06-17-2003 10:38 AM
blfs and lfs? newpenguin Linux From Scratch 7 12-04-2002 07:58 PM
Lfs & Blfs safrout Linux From Scratch 4 07-05-2002 07:27 AM


All times are GMT -5. The time now is 06:37 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration