LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   packages on LiveCD (https://www.linuxquestions.org/questions/linux-from-scratch-13/packages-on-livecd-341945/)

gravesb 07-10-2005 04:12 PM

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?

Dark_Helmet 07-10-2005 06:11 PM

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

gravesb 07-10-2005 08:02 PM

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?

microsoft/linux 07-10-2005 08:09 PM

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:)

gravesb 07-10-2005 09:20 PM

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.

Dark_Helmet 07-10-2005 10:17 PM

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.


All times are GMT -5. The time now is 12:20 AM.