QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1071|回复: 1

Keymap and font

[复制链接]
发表于 2005-8-3 23:10:33 | 显示全部楼层 |阅读模式
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/ ... pter07/console.html

I mistakenly ran following commands[code:1]
cat >/etc/sysconfig/console <<"EOF"
KEYMAP="[arguments for loadkeys]"
FONT="[arguments for setfont]"
EOF[/code:1]resulting 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/ ... 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[code:1]
......
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.[/code:1]
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 [code:1]
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[/code:1]
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[code:1]
sed: can't read lib/e2p/Makefile.in: No such file or directory[/code:1]
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/ ... /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
[satimis@localhost ~]$ 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/ ... apter06/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 [Ctrl]+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[code:1]
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/).[/code:1]

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
发表于 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="[arguments for loadkeys]"
FONT="[arguments for setfont]"
EOF
resulting in the /etc/sysconfig/console replaced.

Keymap preferred = American English
Font = standard font
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-10-6 16:43 , Processed in 0.088752 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表