LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (http://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Which Distribution is Best as a Base to Build on? (http://www.linuxquestions.org/questions/linux-from-scratch-13/which-distribution-is-best-as-a-base-to-build-on-760902/)

t8rsalad 10-09-2009 11:21 PM

Which Distribution is Best as a Base to Build on?
 
Hey Guys,

I've tried to do LFS several times, and every time I do, something goes horribly wrong. I've tried doing it on Fedora, Ubuntu, and OpenSUSE, and all of them have given me problems. I was wondering what any of you used to build a LFS system and any workarounds you had to do. Thanks.

~sHyLoCk~ 10-09-2009 11:34 PM

Where exactly did you go wrong? What problem did you face? I am assuming you read the LFS guide well.

t8rsalad 10-10-2009 11:23 PM

Yes, I read it all the way through before I ever started, and then reread it as I did it. I tried it on Ubuntu, Fedora and OpenSUSE. I can't remember the exact errors I got on Ubuntu, but on SUSE and Fedora, when I went to install the Linux API Headers (section 5.5), when I entered

make headers_check

I got the error:

scripts/unidef.c:209: error: conflicting types for 'getline'
/usr/include/stdio.h:655: error previous declaration of 'getline' was here
make[1]: *** [scripts/unider] Error1
make: ***[headers_install] Error2


I'd love your help on that... but...
Would you mind answering my question too?

hpo3 10-11-2009 04:44 AM

Quote:

Originally Posted by t8rsalad (Post 3715006)
Yes, I read it all the way through before I ever started, and then reread it as I did it. I tried it on Ubuntu, Fedora and OpenSUSE. I can't remember the exact errors I got on Ubuntu, but on SUSE and Fedora, when I went to install the Linux API Headers (section 5.5), when I entered
make headers_check
I got the error:
scripts/unidef.c:209: error: conflicting types for 'getline'
/usr/include/stdio.h:655: error previous declaration of 'getline' was here
make[1]: *** [scripts/unider] Error1
make: ***[headers_install] Error2

I'd love your help on that... but...
Would you mind answering my question too?

edit file scripts/unidef.c and replace all "getline" with "get_line".

nomad5000 10-12-2009 09:11 PM

Get Virtual Box from Sun, and runn a virtual mashine with the LFS Live CD. The cd ships with all the packages and all of them in the right versions. Also it has all the patches, which is great.


All times are GMT -5. The time now is 04:30 PM.