k thanku druuna
|
k thanks druuna
|
can u clarify with one example
lfs-6.7, see pageno-75,3rd paragraph Chapter 6. Installing Basic System Software 6.1. Introduction -We do not recommend using optimizations. -If a package refuses to compile when using optimization, try to compile it without optimization and see if that fixes the problem. Even if the package does compile when using optimization, there is the risk it may have been compiled incorrectly because of the complex interactions between the code and build tools. what is the diff 'compile the package with optimization/without optimization' |
While compiling a software, a compiler can try to optimize for either performance or size. If you use optimization, the compiler has some techniques to alter the code that it more fits the need (performance/size). This can lead to situations where the code doesn't work in the way the developer intended it to do. Either the software doesn't work at all in your system or, and this is the real danger, it works, but in some situations becomes unstable or delivers wrong results.
Therefore the book recommends to not use optimizations. |
k thanks tobisgd
now its clear but i was expecting any exmples,to what the diff(u can give any webpage/website to exmples) |
hi druuna
1) i mounted it usb to /mnt/usbstick), cd /mnt tar jcf /mnt/usbstick/lfs.chapter5.tar.bz2 lfs janu@usbstick# lfs-chapter5.tar.bz2 janu@usbstick#tar -jxf lfs-chapter.tar.bz2 ( i try to extract) here the result tar: lfs/tools/include/inttypes.h: Cannot open: No such file or directory tar: lfs/tools/include/termio.h: Cannot open: No such file or directory tar: lfs/tools/include/iconv.h: Cannot open: No such file or directory tar: lfs/tools/include/pthread.h: Cannot open: No such file or directory tar: lfs/tools/include/poll.h: Cannot open: No such file or directory tar: lfs/tools/include/tic.h: Cannot open: No such file or directory tar: lfs/tools/include/expect_tcl.h: Cannot open: No such file or directory tar: lfs/tools/include/netrose: Cannot mkdir: No such file or directory tar: lfs/tools/include/netrose/rose.h: Cannot open: No such file or directory tar: lfs/tools/include/shadow.h: Cannot open: No such file or directory tar: lfs/tools/include/memory.h: Cannot open: No such file or directory tar: lfs/tools/include/fstab.h: Cannot open: No such file or directory tar: lfs/tools/include/fcntl.h: Cannot open: No such file or directory tar: lfs/tools/include/endian.h: Cannot open: No such file or directory tar: lfs/tools/include/error.h: Cannot open: No such file or directory tar: lfs/tools/include/aliases.h: Cannot open: No such file or directory tar: lfs/tools/include/ifaddrs.h: Cannot open: No such file or directory tar: lfs/tools/include/features.h: Cannot open: No such file or directory tar: lfs/tools/include/libintl.h: Cannot open: No such file or directory tar: lfs/tools/include/netrom: Cannot mkdir: No such file or directory tar: lfs/tools/include/netrom/netrom.h: Cannot open: No such file or directory tar: lfs/sources/gettext-0.18.1.1/gettext-tools/gnulib-lib/.libs: Directory renamed before its status could be extracted tar: lfs/sources/gettext-0.18.1.1/gettext-tools/gnulib-lib: Directory renamed before its status could be extracted tar: lfs/sources/gettext-0.18.1.1/gettext-tools/src/.libs: Directory renamed before its status could be extracted tar: lfs/sources/gettext-0.18.1.1/gettext-tools/src: Directory renamed before its status could be extracted tar: lfs/sources/gettext-0.18.1.1/gettext-tools: Directory renamed before its status could be extracted tar: lfs/sources/gettext-0.18.1.1: Directory renamed before its status could be extracted tar: lfs/sources: time stamp 2011-04-11 19:54:46 is 13244.265589325 s in the future tar: lfs: time stamp 2011-04-11 16:15:42 is 100.265498107 s in the future tar: Exiting with failure status due to previous errors some thing wrong,what to do ------------------------------------------------ 2)this q is not required now (but i told u power will go off in the night),so instead of redoing all the again till ch5) how can use this(lfs-chapter5.tar.bz2) in further,(if i start build tmw),from there i will move ch6 k --------------------------------------------------------------- 3)do i need to use lfs livecd till(which chapter) end of lfs(successful completion) ------------------------------------------------------------------------ 4)k i removed sources dir,build dir (i do not remove the packages) then i move to further 6.9.1. Installation of Glibc -pageno-86 root:/sources/glibc-build#grep Error glibc-check-log make[2]:[/sources/glibc-build/posix/annexc.out]error 1 {ignored] how to fix this error shall i install as fresh only glibc-2.12.1 again? thanks |
Hi,
First of all: - Please spell out your words. Not doing so makes understanding you even harder then it already is.... q -> question pgno -> page number k -> Ok na -> ???? ch -> chapter etc, etc, etc. Using [code] [/code] or [quote] [/quote] would also help in making your posts more readable. About your questions: Quote:
Also: If you want to restore the backup you should remove the original content first. If you do not do so, unwanted files and directories might still be present after the restore. If (!!!) you want to restore the backup, do the following as root user: Code:
cd /mnt Quote:
Have a look at the Note at the bottom of 6.4. Entering the Chroot Environment, which explains what it is you want. Quote:
Quote:
|
hi druuna
thanks a lot for reply sorry for spelling,now i will mention very clear according to ur 2 ans ,i can not use backup after reboot/restart right i can use backup only if i want to do redo all of chapter 6 -------------------------------------------------------- error about glibc yes you are right ,i didnt read the chapter 6, here 6.9.1. Installation of Glibc -they mentioned this error ,Though it is a harmless message i can ignore i will move to further thanku so much |
how to install the locale for 'your own ()country, language and character set.'
i want install locales of country-india,language-(english/can we select different languages as options) after this i will do next step 'make localedata/install-locales' pageno-87 |
I am wondering why people, especially druuna, can be so calm with posts like yours.
At first, it was said to you more than one time that you have to read the book and do exactly what is written there. You don't. Then you were asked to spell out your words to make your posts more readable for the people helping you. You don't. Sorry I have to say that, but when I see your threads regarding LFS I doubt that in the end you will have learned anything from LFS. Some people think if they follow the book and copy/paste the commands they will be more knowledgeable at the end. In some cases this is so, because people are willing to learn, even if they not have fulfilled the prerequisites in the beginning (like you did). But in your case you seem not even to be willing to follow the book. Furthermore you are wasting the time of the people on this forums with your threads about errors that wouldn't occur or could easily be solved if you actually would read the book. What do you think you will achieve with this? |
Quote:
Quote:
|
And You Do
|
Quote:
In chapter 7 you'll be able to set your wanted locale. |
hi druuna
thanks for reply see pageno-189 when i enter this command root:/sources/vim73#vim -c ':options' result is in diff colors text and options as red colour like 1,2,3..25 i quit(<enter> for quit) from this i moved to further is it k |
hidruuna
according to lfs book pageno-191.6.62. Stripping Again i logout from chroot ie root:/logout output is there are stopped jobs next i re enter to chroot ie root:/#chroot $LFS /tools/bin/env -i \ HOME=/root TERM=$TERM PS1='\u:\w\$ ' \ PATH=/bin:/usr/bin:/sbin:/usr/sbin \ /tools/bin/bash --login output is chroot:cannot change root directory t /tools/bin/env:not a directory(there is no directory with name) what to do |
All times are GMT -5. The time now is 03:14 AM. |