satimis 发表于 2005-8-3 23:10:33

Keymap and font

Hi folks,

LFS 6.1
FC3

Where can I find the keymap table and font set?

I'm now coming to
7.6. Configuring the Linux Console
http://www.linuxfromscratch.org/lfs/view/stable/chapter07/console.html

I mistakenly ran following commands
cat >/etc/sysconfig/console <<"EOF"
KEYMAP="[arguments for loadkeys]"
FONT="[arguments for setfont]"
EOFresulting in the /etc/sysconfig/console replaced.

Keymap preferred = American English
Font = standard font

Went through following sections without problem except those stated
6.15. Coreutils-5.2.1
6.16. Zlib-1.2.2
6.17. Mktemp-1.5
6.18. Iana-Etc-1.04
6.19. Findutils-4.2.23
6.19. Findutils-4.2.23
6.21. Ncurses-5.4
6.22. Readline-5.0
6.23. Vim-6.3
6.24. M4-1.4.3
6.25. Bison-2.0
6.26. Less-382
6.27. Groff-1.19.1
6.28. Sed-4.1.4
6.29. Flex-2.5.31
6.30. Gettext-0.14.3
6.31. Inetutils-1.4.2
6.32. IPRoute2-2.6.11-050330


6.33. Perl-5.8.6
http://www.linuxfromscratch.org/lfs/view/stable/chapter06/perl.html

root:/sources/iproute2-2.6.11# cd ..
root:/sources# tar xjf perl-5.8.6.tar.bz2
root:/sources# cd perl-5.8.6
root:/sources/perl-5.8.6# ./configure.gnu --prefix=/usr -Dpager="/bin/less -isR"            
root:/sources/perl-5.8.6# make
......
make[1]: Leaving directory `/sources/perl-5.8.6/ext/Errno'
make: [extras.make] Error 1 (ignored)

      Everything is up to date. Type 'make test' to run test suite.
root:/sources/perl-5.8.6# echo "127.0.0.1 localhost $(hostname)" > /etc/hosts   
root:/sources/perl-5.8.6# echo "127.0.0.1 localhost $(hostname)" > /etc/hosts
root:/sources/perl-5.8.6# make test
make[2]: *** [_test_tty] Error 1
make[2]: Leaving directory `/sources/perl-5.8.6'
make[1]: *** [_test] Error 2
make[1]: Leaving directory `/sources/perl-5.8.6'
make: *** [test] Error 2
root:/sources/perl-5.8.6# make install
(No complaint)

Is it necessary to redo this section because of the error warning?

6.34. Texinfo-4.8
6.35. Autoconf-2.59
6.36. Automake-1.9.5
6.37. Bash-3.0
6.38. File-4.13
6.39. Libtool-1.5.14
6.40. Bzip2-1.0.3
6.41. Diffutils-2.8.1
6.42. Kbd-1.12

6.43. E2fsprogs-1.37
I supposed to run following commands on the directory of e2fsprogs-1.37
root:/sources# cd e2fsprogs-1.37
root:/sources/e2fsprogs-1.37# sed -i -e 's/-DTEST/$(ALL_CFLAGS) &/' lib/e2p/Makefile.in   

Tried on sources/ directory
root:/sources/e2fsprogs-1.37# cd ..
root:/sources# sed -i -e 's/-DTEST/$(ALL_CFLAGS) &/' lib/e2p/Makefile.in
sed: can't read lib/e2p/Makefile.in: No such file or directory
root:/sources# cd e2fsprogs-1.37
root:/sources/e2fsprogs-1.37# mkdir build
root:/sources/e2fsprogs-1.37# cd build
root:/sources/e2fsprogs-1.37/build# ../configure --prefix=/usr --with-root-prefix="" \
> --enable-elf-shlibs --disable-evms
root:/sources/e2fsprogs-1.37/build# make
root:/sources/e2fsprogs-1.37/build# make install
root:/sources/e2fsprogs-1.37/build# make install-libs
All went throught without complaint

6.44. Grep-2.5.1a
6.45. GRUB-0.96
6.46. Gzip-1.3.5
6.47. Hotplug-2004_09_23

6.48. Man-1.5p
http://www.linuxfromscratch.org/lfs/view/stable/chapter06/man.html

root:/sources/hotplug-2004_09_23# cd ..
root:/sources# cd man-1.5p
root:/sources/man-1.5p# sed -i 's@-is@&R@g' configure
root:/sources/man-1.5p# sed -i 's@MANPATH./usr/man@#&@g' src/man.conf.in
root:/sources/man-1.5p# ./configure -confdir=/etc   
root:/sources/man-1.5p# make   
root:/sources/man-1.5p# make install   

Started another Console
$ nano /mnt/lfs/etc/man.conf
verifying:   
NROFF         /usr/bin/nroff -Tlatin1 -mandoc


6.49. Make-3.80
6.50. Module-Init-Tools-3.1
6.51. Patch-2.5.4
6.52. Procps-3.2.5
6.53. Psmisc-21.6

6.54. Shadow-4.0.9
http://www.linuxfromscratch.org/lfs/view/stable/chapter06/shadow.html
6.54.2. Configuring Shadow
root:/sources/shadow-4.0.9# pwconv
(No printout)
root:/sources/shadow-4.0.9# grpconv
(hanging for long time until pressing +c to stop it

skipped
6.54.3. Setting the root password

6.55. Sysklogd-1.4.1
6.56. Sysvinit-2.86
6.57. Tar-1.15.1
6.58. Udev-056
6.59. Util-linux-2.12q
6.61. Stripping Again

6.62. Cleaning Up
Re - Note
Removing /tools will also remove the temporary copies of Tcl, Expect, and DejaGNU which were used for running the toolchain tests. If you need these programs later on, they will need to be recompiled and re-installed. The BLFS book has instructions for this (see http://www.linuxfromscratch.org/blfs/).

I retained /tools for the time being

7.2. LFS-Bootscripts-3.2.1
7.5. Configuring the setclock Script

Please advise how to proceed further?Jump to Section 7.8. Creating the /etc/inputrc File?

TIA

B.R.
satimis

linky_fan 发表于 2005-8-4 10:40:04


root:/sources/perl-5.8.6# ./configure.gnu --prefix=/usr -Dpager="/bin/less -isR"
root:/sources/perl-5.8.6# make


Fix the problem and remake the perl

I mistakenly ran following commands
代码:

cat >/etc/sysconfig/console <<"EOF"
KEYMAP=""
FONT=""
EOF
resulting in the /etc/sysconfig/console replaced.

Keymap preferred = American English
Font = standard font

页: [1]
查看完整版本: Keymap and font