Linux From ScratchThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
when i put in the comand
cp -R include/asm-i386 /tools/include/asm
i get
cp: cannot stat `include/asm-i386': No such file or directory
so what do i need to do to fix that?
never mind i found out what the problem was when i read what you posted and after a some time away from working on this. i was untaring and unzipping the wrong file.
sorry but thanks for the help
Ok... I'm assuming you're working on Expect-5.43.0 (section 5.9).
$TCLPATH is supposed to be replaced with the path to the tcl source extracted earlier. So, you can either set an environment variable and use the command as written, or just replace $TCLPATH manually.
The configure script is looking to locate the file named tclInt.h. It looks for it in the directory specified by $TCLPATH and it also looks at $TCLPATH/generic
It needs to find that header file in one of those locations, or it will bomb out. So check your untar'ed TCL source directory for that file, and give the appropriate path to let the configure script find that file.
Last edited by Dark_Helmet; 10-18-2005 at 11:35 PM.
OK i a'm now on the second pass of gcc. i am being told to make a new directory called gcc-build but i still have the first one. do i delete the first one? do i make it in a different directory ?
You can safely assume that a directory can be deleted when the instructions tell you to reuse that directory.
If you don't feel comfortable deleting the directory without the book explicitly telling you to, the scan back over the sections. There is likely to be a footnote or a short sentence that tells you the gcc-build directory is no longer needed. If you can't find it and are still hesitant to delete the directory, you have two options:
1. Create a different directory. Instead of gcc-build, name it gcc-build2, gcc-build-second-pass, or whatever you like. Just adjust the command in the book appropriately (which amounts to little more than the mkdir and cd command)
2. Rename the old directory. Just do a "mv gcc-build gcc-build-first-pass" or something similar. Then you can use the book's commands exactly as written.
just to be sure in section 6.9.1. Installation of Linux-Libc-Headers i need to copy and install Linux-Libc-Headers-2.6.11.2 in the /usr/include/asm directory before i cp -R include/asm-i386 /usr/include/asm corect?
I'm not entirely sure if I understand your question.
At that point in the book, you've chrooted into a new, empty environment. The first command the book gives in that section is:
Code:
cp -R include/asm-i386 /usr/include/asm
That's saying to copy the include/asm-i386 directory to /usr/include, but rename it to "asm". In other words, there should not be any "asm" directory inside /usr/include at this point. The command above creates that directory.
when i intered the cp -R include/asm-i386 /usr/include/asm command i got
cp: cannot stat `include/asm-i386': No such file or directory. so i am wondering what to do about that. and that is my question
ok i copyed my tools/libc-headers-build/linux-libc-headers-2.6.11.2/include/asm-i386/ to /usr/include/asm and want to know if that will work? and befor i get to far into building my perminat system i would like to know if there any "offical placses" i should be instaling to? i don't know the linux file system as well as i should. just enough to get where i want to go. and i would like to apolige for taking so long getting back to you this week has just been busy.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.