LinuxQuestions.org
Review your favorite Linux distribution.
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 10-09-2009, 10:21 PM   #1
t8rsalad
LQ Newbie
 
Registered: Jun 2009
Location: South Carolina
Distribution: Ubuntu and Trisquel GNU/Linux
Posts: 10

Rep: Reputation: 0
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.
 
Old 10-09-2009, 10:34 PM   #2
~sHyLoCk~
Senior Member
 
Registered: Jul 2008
Location: /dev/null
Posts: 1,173
Blog Entries: 12

Rep: Reputation: 129Reputation: 129
Where exactly did you go wrong? What problem did you face? I am assuming you read the LFS guide well.
 
Old 10-10-2009, 10:23 PM   #3
t8rsalad
LQ Newbie
 
Registered: Jun 2009
Location: South Carolina
Distribution: Ubuntu and Trisquel GNU/Linux
Posts: 10

Original Poster
Rep: Reputation: 0
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?

Last edited by t8rsalad; 10-10-2009 at 10:26 PM.
 
Old 10-11-2009, 03:44 AM   #4
hpo3
LQ Newbie
 
Registered: Jun 2009
Posts: 1

Rep: Reputation: 0
Quote:
Originally Posted by t8rsalad View Post
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".

Last edited by hpo3; 10-11-2009 at 03:46 AM.
 
Old 10-12-2009, 08:11 PM   #5
nomad5000
LQ Newbie
 
Registered: Dec 2006
Posts: 4

Rep: Reputation: 0
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.
 
  


Reply

Tags
best, distribution, from, lfs, scratch


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
LXer: Microsoft to build new search base in Norway LXer Syndicated Linux News 0 10-06-2008 05:30 AM
how to base distribution on red hat ashmita04 Red Hat 2 06-24-2007 02:17 PM
image file of Debian 3.0 Woody base build on kernel 2.6 harlemno1 Linux - Software 1 03-09-2005 04:37 PM
Instructions: 2.6.x src. kernel build for Redhat Base. Package Updates from Fedora mchirico Red Hat 0 05-11-2004 07:19 PM
debian base for testing distribution palanisaravanan Debian 1 03-08-2004 08:06 AM


All times are GMT -5. The time now is 08:21 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