LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-06-2011, 03:01 PM   #1
linux/unix87
Member
 
Registered: Oct 2010
Posts: 190

Rep: Reputation: 6
having a problem with lfs linux from scratch


ok i was wondering if anybody has done linux from scratch? my only problem is that i cant find a development option when im installing any of the distros? The manual for lfs says to select on the development option when installing the distro but i have not yet found one. does anybody know what they are talking about? thank you
 
Old 01-06-2011, 03:03 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
most distro's will provide this... they mean installing gcc, glibc headers etc, which is typically bundled as a development tools group in a typical graphical installer. If you've tried any redhat derived distro then it's definitely there, as with ubuntu an co.
 
Old 01-06-2011, 03:05 PM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852
They mean that you have to install the development tools and that you need some development-packages of some libraries and tools. Simplest way to do that is to install Slackware, it has all what you need integrated.
 
1 members found this post helpful.
Old 01-06-2011, 03:17 PM   #4
linux/unix87
Member
 
Registered: Oct 2010
Posts: 190

Original Poster
Rep: Reputation: 6
ok so how do you access the development tools because lfs... the manual confused me so bad first they said you do it with the distro already installed then they said while you r installing the distro select the development tool?????? I do have slackware 13.1 i tried installing that last night it wouldnt work> I do believe its usr error but... So do i install the distro first or no? and how do i access the development tools?????? thanks
 
Old 01-06-2011, 03:22 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
erm, might I suggest from this thread that maybe LFS should wait for a while until this doesn't seem complicated to you? This is the very very easy bit in terms of LFS as a whole.

Last edited by acid_kewpie; 01-06-2011 at 03:24 PM.
 
Old 01-06-2011, 03:57 PM   #6
linux/unix87
Member
 
Registered: Oct 2010
Posts: 190

Original Poster
Rep: Reputation: 6
well i just installed ubuntu 10.10 on the computer and i still didnt see a development tool option? I understand what you mean but me waiting isnt going to help there is a lot of things i dont know but the only thing thats complicated to me is how they wrote the manual to contradict itself. First they said i should be installed then they said while installing the distro select the development option. does that make any sense to you???
 
Old 01-06-2011, 03:59 PM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
Quote:
The LFS system will be built by using an already installed Linux distribution (such as Debian, Mandriva, Red Hat, or SUSE). This existing Linux system (the host) will be used as a starting point to provide necessary programs, including a compiler, linker, and shell, to build the new system. Select the “development” option during the distribution installation to be able to access these tools.
Yep, that makes perfect sense to me.

You can easily add the tools in later, from synaptic / aptitude etc, or run (according to a quick google) "sudo apt-get install build-essentials"

Last edited by acid_kewpie; 01-06-2011 at 04:04 PM.
 
Old 01-06-2011, 04:19 PM   #8
linux/unix87
Member
 
Registered: Oct 2010
Posts: 190

Original Poster
Rep: Reputation: 6
ok so the distro is installed then thats where you go from there with lfs got it
 
Old 01-06-2011, 06:09 PM   #9
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852
Quote:
Originally Posted by linux/unix87 View Post
I understand what you mean but me waiting isnt going to help there is a lot of things i dont know
I think that exactly that is your problem. I hope that you have read the prerequisites-page from LFS. If you are not fulfilling these prerequisites (and I assume that, regarding your questions here) you will run into serious problems with LFS, just because of lacking knowledge. Please read at least the given links on that page, before proceeding further.
You will learn nothing from LFS just by copy and paste the commands from the manual, the point is to understand what the commands are actually doing, and why you are doing it so. This is simply not possible without knowing the prerequisites.
 
Old 01-12-2011, 04:28 PM   #10
linux/unix87
Member
 
Registered: Oct 2010
Posts: 190

Original Poster
Rep: Reputation: 6
i have read the prerequisites it told me what programs to use and learn the only problem with that is for example fdisk, it shows me the commands options but when i type that stuff in just like it shows on the usuage it doesnt work sometimes and also what people say on this website doesnt work either. now im not saying they r wrong but i have a book by mark g sobell. the book says commands to use and diff stuff like that but what is said in the book and what you guys say is two diff things. so yes i can say im confused. sometimes the book is wrong and you guys r right but then again the book is right then you r wrong. i hope im making sense its kinda like a lose lose situation for me. i have read all of that stuff more than once really the only thing im asking is how do you use cfdisk or fdisk? for some reason cfdisk wont work but i can use fdisk.
 
Old 01-12-2011, 04:31 PM   #11
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
man fdisk. read.

I really think you should leave LFS alone for now. Go back to it in a year or two.
 
Old 01-12-2011, 04:44 PM   #12
linux/unix87
Member
 
Registered: Oct 2010
Posts: 190

Original Poster
Rep: Reputation: 6
lolololo i just got done reading that before your last message it tells me how to change a partition but not make one
 
Old 01-12-2011, 04:46 PM   #13
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
h for help once you're inside if you need any more tips. Offhand I think it's "n" for new.
 
Old 01-12-2011, 06:02 PM   #14
linux/unix87
Member
 
Registered: Oct 2010
Posts: 190

Original Poster
Rep: Reputation: 6
yeah it is well m first then n then p then 1-4 i have a problem with the 1-4 part it says not enough free sectors sorry no free sectors im reinstalling ubuntu i partioned it last time i think i know what i did but anyway thanks for the help out of curiosity why does everybody tell me to wait? Im not the person that can figure it out by reading im a hands on guy i like using my hands and alot of reps thats how ive learned or at least remembered something. thanks again.
 
Old 01-12-2011, 06:59 PM   #15
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,892
Blog Entries: 27

Rep: Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183
Hi,

Quote:
Originally Posted by linux/unix87 View Post
yeah it is well m first then n then p then 1-4 i have a problem with the 1-4 part it says not enough free sectors sorry no free sectors im reinstalling ubuntu i partioned it last time i think i know what i did but anyway thanks for the help out of curiosity why does everybody tell me to wait? Im not the person that can figure it out by reading im a hands on guy i like using my hands and alot of reps thats how ive learned or at least remembered something. thanks again.
LFS is a fun experience when one has the know how to enjoy.

Ultimate Linux Newbie Guide will help you to understand some elementary elements. But overall I do suggest that a tutorial may help here: Rute Tutorial & Exposition will get you some user experience.

But you still need to follow
the prerequisites page from LFS so that you meet the required experiences. I personally feel the Rute tutorial will provide some insight & experience that will lead you to getting to LFS by investing some time with the tutorial.

Just a few links to aid you to gaining some understanding;





Linux Documentation Project
The LiveCD List
Linux Command Guide
Linux Newbie Administrator Guide (pdf format)
LinuxSelfHelp
Bash Beginners Guide
Bash Reference Manual
Advanced Bash-Scripting Guide
Linux Home Networking

The above links and others can be found at 'Slackware-Links'. More than just SlackwareŽ links!
 
3 members found this post helpful.
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
I need Hepl about Compilation in LFS (Linux From Scratch)...!!! luckybtn Linux - Newbie 1 07-30-2008 06:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:40 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration