LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (http://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   LFS or BLFS (http://www.linuxquestions.org/questions/linux-from-scratch-13/lfs-or-blfs-216574/)

masand 08-12-2004 04:09 AM

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

320mb 08-12-2004 07:28 AM

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........

masand 08-12-2004 08:39 AM

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

320mb 08-12-2004 09:10 AM

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.......

masand 08-12-2004 09:22 AM

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

oneandoneis2 08-12-2004 10:09 AM

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.

masand 08-12-2004 10:11 PM

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

jomen 08-13-2004 03:04 PM

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!

masand 08-13-2004 03:46 PM

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

kjordan 08-21-2004 05:02 PM

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

masand 08-21-2004 05:12 PM

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

maerong 12-01-2004 09:29 AM

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.

masand 12-01-2004 10:15 AM

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

lordtweety 12-02-2004 05:21 AM

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.

masand 12-02-2004 07:01 AM

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


All times are GMT -5. The time now is 11:01 PM.