LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 07-10-2005, 04:12 PM   #1
gravesb
Member
 
Registered: May 2005
Distribution: Suse 9.3, Gentoo
Posts: 87

Rep: Reputation: 15
packages on LiveCD


I made a LFS live CD, and I can begin to configure things. I hace a couple of issues. First, when I mkdir binutils-build, it says to make it from the ../ directory, but what directory am I supposed to be in? $LFS? Because creating the user as per the instructions places you in a seperate directory. The second thing is that I cannot find the packages that I am supposed to install on the LiveCD. Where do I install the packages from?
 
Old 07-10-2005, 06:11 PM   #2
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
All of the LFS instructions expect you to automatically cd into any un-tarred package directory.

For instance, when you start working on the binutils package, you execute the un-tar command:
tar xvzf binutils-X.Y.Z.tar.gz
-or-
tar xvjf binutils-X.Y.Z.tar.bz2

That command creates a directory that holds the source code. The instructions expect you to cd into that directory after un-tar:
cd binutils-X.Y.Z

After that, the LFS book instructions take over. So issuing "mkdir ../binutils-build" will make a directory at the same level as where you un-tarred binutils to start with.

Where you choose to un-tar the packages is up to you, but I would suggest doing that somewhere such as $LFS/build

Last edited by Dark_Helmet; 07-10-2005 at 10:18 PM.
 
Old 07-10-2005, 08:02 PM   #3
gravesb
Member
 
Registered: May 2005
Distribution: Suse 9.3, Gentoo
Posts: 87

Original Poster
Rep: Reputation: 15
Maybe I am stupid....I tried to untar them and it said no such directory. I attempted a few permutations of the file extension you provided in case it was a typo. Do you have to download the packages seperately, or are they included on the Live CD?
 
Old 07-10-2005, 08:09 PM   #4
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445
Blog Entries: 9

Rep: Reputation: 45
I beleive it's actually binutils-X.Y.Z.tar.bz2. Where X, Y, and Z are numbers pertaining to the version number. You can do 'tar xvjf binutils<tab>' and it should complete the file name fore you. Hope this helps
 
Old 07-10-2005, 09:20 PM   #5
gravesb
Member
 
Registered: May 2005
Distribution: Suse 9.3, Gentoo
Posts: 87

Original Poster
Rep: Reputation: 15
No, it won't autocomplete. I tried locate and find as well. Neither one can find any of the libraries. I tried burning them to another CD, but the LiveCD won't let me unmount the CD drive, so I can't pull them off of another CD. I don't really have an Internet connection for the computer I am building, either. I had really hoped to get all of the packages off of the Live CD.
 
Old 07-10-2005, 10:17 PM   #6
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
What Live CD are you using? I used one provided by LFS for the 6.0 version of the book, and it includes all the packages you need to build the LFS system. If I recall, it was /mnt/cdrom/packages/<package name>

Replace "/mnt/cdrom" with wherever your CDROM is mounted. Check to make sure there is no /packages directory first.
 
  


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
When DEB packages need strange packages noteventime Linux - Software 0 11-29-2005 09:37 AM
have livecd of 'Linux Gentoo' how do i get past the "livecd root #" command line? randell6564 Linux - Distributions 11 11-20-2005 12:31 PM
Updating packages from redhat - insatlling *.hdr packages jomy Linux - Networking 1 01-18-2005 08:36 AM
Mandrake Update/Install Packages/Remove Packages wslyhbb Mandriva 2 03-15-2004 09:43 AM
creating packages (.tgz/.deb/.rpm) How from the source packages? l_9_l Linux - General 1 03-06-2002 06:03 PM


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