Quote:
You are probably talking about chapter 6.60 and this is what the book says: Quote:
|
Quote:
Quote:
Is LFS set (echo $LFS), if not: it should be. |
hi druuna
1) i redo chapter 6.60. Vim-7.3 while running root:/sources# make test (6.60.1. Installation of Vim) is giving error in red colour (highlighted bold letters) moving fast(scrolling) but at the end of make test result no error messages are appearing ------------------------------------------------------------------------------------------------------------ 2)post no 29 yes this -6.60.2. Configuring Vim(pageno-189) ,here i will give very clear when i issue this----root:/sources/vim73#vim -c 'ptions' result is in diff colors text and options as red colour like 1,2,3........25 option window [while bar on that black letters with this name ) - - - - [no name] then i press from keyboard(cntl+c) following message showing type:i quit(<enter> for quit) then i press from keyboard(cntl+z) output mesage is [1]:stopped here i have to do nothing right(do i simply quit from this)when i issue this command 'vim -c 'ptions' is it k. ------------------------------------------------------------------------ 3)post 32 i am talking about 6.62. Stripping Again root:/sources/vim73#logout output is there are stopped jobs(not bold letter) --------------------------------------------------------- 4)here i checked LFS set with following root:/sources/:echo $LFS result nothing i need to set $LFS with export right -------------------------------------------- 5) where i have to perform this 6.60.2. Configuring Vim(,in vim source directory) |
6)i check
ls -l /tools/bin/env doent exist env dir in /tools/bin |
Hi,
If you have been building (parts of) chapter 6 without LFS being set, you need to start again from the beginning of chapter 6. You've been told the importance of the LFS variable again and again in the book........ You still do not follow the book and still don't have a clue what it is you are doing. I don't think it is wise for you to continue until you have a better understanding of linux in general and know how to follow the instructions in the book. This also means that I will not be answering your questions any more until I see a significant improvement. |
which i am asking above questions are conflict,i would have mention(above questions) as in the book
(but i followed the book as they mention) |
hi druuna
1)i have small doubt (echo $LFS)because of this i am not moving further first i exit from lfs usr then root[ ~ ]#chown -R root:root $LFS/tools root[ ~ ]#echo $ LFS result is /mn/lfs (this result till chapter 6.23) 2)but 6.4. Entering the Chroot Environment (page no-79) --------------------------------- see third paragaph From this point on, there is no need to use the LFS variable anymore, because all work will be restricted to the LFS file system. This is because the Bash shell is told that $LFS is now the root (/) directory. ------------------------------------------------------------------------------------------------ root[ ~ [#chroot "$LFS" /tools/bin/env -i \ HOME=/root TERM="$TERM" PS1='\u:\w\$ ' \ PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin \ /tools/bin/bash --login +h result is I have no name!:/# this is right according to book I have no name!:/#echo $LFS no (any) output this is continuing till end of chapter 6,you are saying that it should set (echo $LFS)) how can i set the variable this is the problem(exact) ,what to do i am going to be mad(with this) plz help me |
5.33. Changing Ownership(page no-73)
Note The commands in the remainder of this book must be performed while logged in as user root and no longer as user lfs. Also, double check that $LFS is set in root's environment. ------------------------------------ i set with the $LFS to root with export command ie export LFS=/ ---------------- then i moved to further i checked echo $LFS giving / this is right according to book(check that $LFS is set in root's environment) is this right |
Read post #35.
|
hi druuna
just give me clue before moving to chapter6 and till end of lfs build if i check(any time) echo $LFS,what would be the result |
hi druuna
this time i skip this (commands)step 5.32 5.33. Changing Ownership 1)i have gotten echo $LFS result is '/mnt/lfs' after issuing this command root:/#chown -R root:root $LFS/tools ---------------------------------------------------------------------------------- 2)but after this 6.4. Entering the Chroot Environment root [ ~ ]#chroot "$LFS" /tools/bin/env -i \ HOME=/root TERM="$TERM" PS1='\u:\w\$ ' \ PATH=/bin:/usr/bin:/sbin:/usr/ sbin:/tools/bin \ /tools/bin/bash --login +h result is i have no name!:/# (as per book is right) i have no name!:/#echo $LFS nothing result ----------------------------------- 3)i moved further till 6.16. GCC-4.5.1(pageno-103) )ie ulimit -s 16384 (Test the results, but do not stop at errors:) but root:/sources/gcc-build#make -k check giving errors make[2]:***[check] error 127 make[1]:***[check-fxincludes] error2 i moved further(but do not stop at errors:) ----------------------------------------------------------------- 4)and 6.49. Make-3.82 (pageno-167) root[:/sources/make-3.82#make result is full of errors i tred hole chapter 6(till 6.49),echo $LFS ITS NOT GIVING ANY result what i am doing mistake plz tell me |
7.8. The Bash Shell Startup Files
hi druuna
i learned little,i back with success of chapter 6 now @ 7.8. The Bash Shell Startup Files cat > /etc/profile << "EOF" # Begin /etc/profile export LANG=<ll>_<CC>.<charmap><@modifiers> # End /etc/profile EOF ------------------------------------- what i have to use(mine is country' india',language 'english',what about charmap and modifier in my case) <ll> below with the two-letter code for the desired language (e.g., “en”) and <CC> with the two-letter code for the appropriate country (e.g., “GB”). <charmap> should be replaced with the canonical charmap for your chosen locale. Optional modifiers such as “@euro” may also be present. is it necessary to use exact our country code and other things if i use defaultanything ,can we cnange later does it effect on anything further (if you need i will ouput of locale -a ) |
1 Attachment(s)
i am attaching below locale -a result
and my system is all hp-Hewlett-Packard INDIAN COMPANY (desktop,keyboard,everything) |
Hi,
I do believe India has more then one possible locale setting. These came up (there might be more): Quote:
Examples: Code:
export LANG=hi_IN.utf8 Do read the part in the book about using UTF-8! Hope this helps. |
hi druuna
thanks for reply i done following root:/sources# LC_ALL=en_IN.utf8 locale charmap UTF-8 root:/sources# LC_ALL=en_IN.utf8 locale language English root:/sources# LC_ALL=en_IN.utf8 locale charmap UTF-8 root:/sources# LC_ALL=en_IN.utf8 locale int_curr_symbol INR root:/sources# LC_ALL=en_IN.utf8 locale int_prefix 91 --------------------- root:/sources# cat > /etc/profile << "EOF" > # Begin /etc/profile > > export LANG=en_IN.utf8 INR > # End /etc/profile > EOF (there LC_ALL output is in all capital letters,but in above cat command i used small is it fine) i am giving above what i got on terminal ,while doing above steps |
All times are GMT -5. The time now is 04:16 PM. |