LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1468|回复: 4

[原来我 是没有安装内核头文件!]按照论坛里的信息,成功chroot到了目标目录。想编译下载

[复制链接]
发表于 2009-12-5 18:52:38 | 显示全部楼层 |阅读模式
make,automake ,ncurses,gcc,g++ 等等已安装,不知道还缺什么东东。
以下为从网站上下载的内容,已经成功安装,并且可以chroot到/mnt/slack/。
A

  1. /home/jian/slack/a/aaa_base-13.0-i486-2.txz
  2. /home/jian/slack/a/aaa_elflibs-13.0-i486-2.txz
  3. /home/jian/slack/a/aaa_terminfo-5.7-noarch-1.txz
  4. /home/jian/slack/a/acl-2.2.47_1-i486-1.txz
  5. /home/jian/slack/a/attr-2.4.43_1-i486-1.txz
  6. /home/jian/slack/a/bash-3.1.017-i486-2.txz
  7. /home/jian/slack/a/bin-11.1-i486-1.txz
  8. /home/jian/slack/a/bzip2-1.0.5-i486-1.txz
  9. /home/jian/slack/a/coreutils-7.4-i486-1.txz
  10. /home/jian/slack/a/cpio-2.9-i486-2.txz
  11. /home/jian/slack/a/cryptsetup-1.0.7-i486-1.txz
  12. /home/jian/slack/a/cxxlibs-6.0.10-i486-1.txz
  13. /home/jian/slack/a/dbus-1.2.14-i486-1.txz
  14. /home/jian/slack/a/dcron-2.3.3-i486-6.txz
  15. /home/jian/slack/a/device-mapper-1.02.28-i486-1.txz
  16. /home/jian/slack/a/devs-2.3.1-noarch-25.txz
  17. /home/jian/slack/a/dialog-1.1_20080819-i486-2.txz
  18. /home/jian/slack/a/e2fsprogs-1.41.8-i486-1.txz
  19. /home/jian/slack/a/ed-1.3-i486-1.txz
  20. /home/jian/slack/a/elvis-2.2_0-i486-2.txz
  21. /home/jian/slack/a/etc-13.0-i486-2.txz
  22. /home/jian/slack/a/file-5.03-i486-1.txz
  23. /home/jian/slack/a/findutils-4.4.2-i486-1.txz
  24. /home/jian/slack/a/gawk-3.1.6-i486-1.txz
  25. /home/jian/slack/a/genpower-1.0.5-i486-2.txz
  26. /home/jian/slack/a/gettext-0.17-i486-2.txz
  27. /home/jian/slack/a/glibc-solibs-2.9-i486-3.txz
  28. /home/jian/slack/a/glibc-zoneinfo-2.9-noarch-3.txz
  29. /home/jian/slack/a/gpm-1.20.1-i486-5.txz
  30. /home/jian/slack/a/grep-2.5.4-i486-1.txz
  31. /home/jian/slack/a/gzip-1.3.12-i486-1.tgz
  32. /home/jian/slack/a/hdparm-9.3-i486-1.txz
  33. /home/jian/slack/a/infozip-6.0-i486-1.txz
  34. /home/jian/slack/a/inotify-tools-3.13-i486-1.txz
  35. /home/jian/slack/a/isapnptools-1.26-i486-2.txz
  36. /home/jian/slack/a/kbd-1.15-i486-3.txz
  37. /home/jian/slack/a/less-418-i486-2.txz
  38. /home/jian/slack/a/lha-114i-i486-1.txz
  39. /home/jian/slack/a/logrotate-3.7.4-i486-1.txz
  40. /home/jian/slack/a/mdadm-2.6.4-i486-1.txz
  41. /home/jian/slack/a/mkinitrd-1.3.4-i486-3.txz
  42. /home/jian/slack/a/module-init-tools-3.6-i486-2.txz
  43. /home/jian/slack/a/mt-st-0.9b-i486-2.txz
  44. /home/jian/slack/a/mtx-1.3.9-i486-2.txz
  45. /home/jian/slack/a/ncompress-4.2.4-i486-1.txz
  46. /home/jian/slack/a/pciutils-3.1.3-i486-1.txz
  47. /home/jian/slack/a/pkgtools-13.0-noarch-3.tgz
  48. /home/jian/slack/a/procps-3.2.7-i486-2.txz
  49. /home/jian/slack/a/quota-3.17-i486-1.txz
  50. /home/jian/slack/a/rpm2tgz-1.1-i486-1.txz
  51. /home/jian/slack/a/sdparm-1.01-i486-2.txz
  52. /home/jian/slack/a/sed-4.1.5-i486-1.txz
  53. /home/jian/slack/a/sharutils-4.7-i486-1.txz
  54. /home/jian/slack/a/slackpkg-2.80.2-noarch-3.tgz
  55. /home/jian/slack/a/slocate-3.1-i486-3.txz
  56. /home/jian/slack/a/smartmontools-5.38-i486-1.txz
  57. /home/jian/slack/a/sysfsutils-2.1.0-i486-1.txz
  58. /home/jian/slack/a/syslinux-3.52-i486-1.txz
  59. /home/jian/slack/a/sysvinit-2.86-i486-6.txz
  60. /home/jian/slack/a/sysvinit-functions-8.53-i486-2.txz
  61. /home/jian/slack/a/sysvinit-scripts-1.2-noarch-30.txz
  62. /home/jian/slack/a/sysvinit-scripts-1.2-noarch-30(2).txz
  63. /home/jian/slack/a/tar-1.22-i486-2.tgz
  64. /home/jian/slack/a/tcsh-6.15.00-i486-1.txz
  65. /home/jian/slack/a/time-1.7-i486-1.txz
  66. /home/jian/slack/a/tree-1.5.2.2-i486-1.txz
  67. /home/jian/slack/a/udev-141-i486-3.txz
  68. /home/jian/slack/a/unarj-265-i486-1.txz
  69. /home/jian/slack/a/usbutils-0.82-i486-2.txz
  70. /home/jian/slack/a/utempter-1.1.4-i486-1.txz
  71. /home/jian/slack/a/util-linux-ng-2.14.2-i486-1.txz
  72. /home/jian/slack/a/which-2.20-i486-1.txz
  73. /home/jian/slack/a/xz-4.999.8beta-i486-1.tgz
  74. /home/jian/slack/a/zoo-2.10-i486-1.txz
复制代码

------------------------分隔线---------------------
ap

  1. /home/jian/slack/ap/a2ps-4.14-i486-3.txz
  2. /home/jian/slack/ap/acct-6.4pre1-i486-1.txz
  3. /home/jian/slack/ap/alsa-utils-1.0.18-i486-1.txz
  4. /home/jian/slack/ap/amp-0.7.6-i386-1.txz
  5. /home/jian/slack/ap/ash-0.4.0-i386-1.txz
  6. /home/jian/slack/ap/at-3.1.10-i486-1.txz
  7. /home/jian/slack/ap/bc-1.06.95-i486-1.txz
  8. /home/jian/slack/ap/bpe-2.01.00-i486-1.txz
  9. /home/jian/slack/ap/cdparanoia-III_10.2-i486-1.txz
  10. /home/jian/slack/ap/cdrdao-1.2.1-i486-1.txz
  11. /home/jian/slack/ap/cdrtools-2.01.01a57-i486-2.txz
  12. /home/jian/slack/ap/dc3dd-6.12.3-i486-1.txz
  13. /home/jian/slack/ap/diffstat-1.43-i486-1.txz
  14. /home/jian/slack/ap/diffutils-2.8.1-i486-3.txz
  15. /home/jian/slack/ap/flac-1.2.1-i486-2.txz
  16. /home/jian/slack/ap/ghostscript-8.70-i486-1.txz
  17. /home/jian/slack/ap/ghostscript-fonts-std-8.11-noarch-1.txz
  18. /home/jian/slack/ap/gphoto2-2.4.5-i486-1.txz
  19. /home/jian/slack/ap/groff-1.20.1-i486-1.txz
  20. /home/jian/slack/ap/gutenprint-5.2.4-i486-1.txz
  21. /home/jian/slack/ap/ispell-3.2.06-i386-1.txz
  22. /home/jian/slack/ap/libx86-1.1-i486-1.txz
  23. /home/jian/slack/ap/linux-2.6.32.tar.gz
  24. /home/jian/slack/ap/linuxdoc-tools-0.9.56-i486-5.txz
  25. /home/jian/slack/ap/man-1.6f-i486-2.txz
  26. /home/jian/slack/ap/man-pages-3.22-noarch-2.txz
  27. /home/jian/slack/ap/mc-20090714_git-i486-1.txz
  28. /home/jian/slack/ap/pm-utils-1.2.5-i486-1.txz
  29. /home/jian/slack/ap/slackpkg-2.80.2-noarch-3.tgz
  30. /home/jian/slack/ap/sox-14.3.0-i486-1.txz
  31. /home/jian/slack/ap/sqlite-3.6.14.2-i486-1.txz
  32. /home/jian/slack/ap/sudo-1.6.8p12-i486-1.txz
  33. /home/jian/slack/ap/sysstat-7.0.0-i486-1.txz
  34. /home/jian/slack/ap/texinfo-4.13a-i486-2.txz
  35. /home/jian/slack/ap/vbetool-1.1-i486-1.txz
  36. /home/jian/slack/ap/vorbis-tools-1.2.0-i486-1.txz
  37. /home/jian/slack/ap/workbone-2.40-i386-3.txz
  38. /home/jian/slack/ap/zsh-4.3.10-i486-1.txz
复制代码

--------------------分隔线-------------------
D

  1. /home/jian/slack/d/autoconf-2.63-noarch-1.txz
  2. /home/jian/slack/d/automake-1.10.1-noarch-1.txz
  3. /home/jian/slack/d/binutils-2.18.50.0.9-i486-1.txz
  4. /home/jian/slack/d/bison-2.4.1-i486-1.txz
  5. /home/jian/slack/d/ccache-2.4-i486-1.txz
  6. /home/jian/slack/d/clisp-2.47-i486-1.txz
  7. /home/jian/slack/d/cmake-2.6.2-i486-1.txz
  8. /home/jian/slack/d/cscope-15.6-i486-1.txz
  9. /home/jian/slack/d/cvs-1.11.23-i486-1.txz
  10. /home/jian/slack/d/dev86-0.16.17-i486-1.txz
  11. /home/jian/slack/d/distcc-2.18.3-i486-2.txz
  12. /home/jian/slack/d/doxygen-1.5.8-i486-1.txz
  13. /home/jian/slack/d/flex-2.5.35-i486-1.txz
  14. /home/jian/slack/d/gcc-4.3.3-i486-3.txz
  15. /home/jian/slack/d/gcc-g++-4.3.3-i486-3.txz
  16. /home/jian/slack/d/gcc-gfortran-4.3.3-i486-3.txz
  17. /home/jian/slack/d/gcc-gnat-4.3.3-i486-3.txz
  18. /home/jian/slack/d/gcc-java-4.3.3-i486-3.txz
  19. /home/jian/slack/d/gcc-objc-4.3.3-i486-3.txz
  20. /home/jian/slack/d/gdb-6.8-i486-1.txz
  21. /home/jian/slack/d/gettext-tools-0.17-i486-3.txz
  22. /home/jian/slack/d/git-1.6.4-i486-1.txz
  23. /home/jian/slack/d/gperf-3.0.3-i486-1.txz
  24. /home/jian/slack/d/guile-1.8.7-i486-1.txz
  25. /home/jian/slack/d/indent-2.2.10-i486-1.txz
  26. /home/jian/slack/d/intltool-0.40.5-i486-1.txz
  27. /home/jian/slack/d/libtool-1.5.26-i486-1.txz
  28. /home/jian/slack/d/m4-1.4.13-i486-1.txz
  29. /home/jian/slack/d/make-3.81-i486-1.txz
  30. /home/jian/slack/d/mercurial-1.2.1-i486-1.txz
  31. /home/jian/slack/d/nasm-2.05.01-i486-1.txz
  32. /home/jian/slack/d/oprofile-0.9.4-i486-2.txz
  33. /home/jian/slack/d/p2c-1.21alpha2-i486-3.txz
  34. /home/jian/slack/d/perl-5.10.0-i486-1.txz
  35. /home/jian/slack/d/pkg-config-0.23-i486-2.txz
  36. /home/jian/slack/d/pmake-1.111-i486-3.txz
  37. /home/jian/slack/d/python-2.6.2-i486-3.txz
  38. /home/jian/slack/d/rcs-5.7-i486-2.txz
  39. /home/jian/slack/d/ruby-1.8.7_p174-i486-1.txz
  40. /home/jian/slack/d/strace-4.5.18-i486-1.txz
  41. /home/jian/slack/d/subversion-1.6.4-i486-1.txz
  42. /home/jian/slack/d/swig-1.3.38-i486-1.txz
复制代码

-------------分隔线-------------------------
L

  1. /home/jian/slack/l/AAAmpfr-2.3.1-i486-1.txzAAA
  2. /home/jian/slack/l/aalib-1.4rc5-i486-2.txz
  3. /home/jian/slack/l/akonadi-1.1.2-i486-1.txz
  4. /home/jian/slack/l/alsa-lib-1.0.18-i486-2.txz
  5. /home/jian/slack/l/alsa-oss-1.0.17-i486-1.txz
  6. /home/jian/slack/l/apr-1.3.8-i486-1.txz
  7. /home/jian/slack/l/apr-util-1.3.9-i486-1.txz
  8. /home/jian/slack/l/aspell-0.60.5-i486-2.txz
  9. /home/jian/slack/l/aspell-en-6.0_0-noarch-4.txz
  10. /home/jian/slack/l/atk-1.26.0-i486-1.txz
  11. /home/jian/slack/l/audiofile-0.2.6-i486-2.txz
  12. /home/jian/slack/l/automoc4-0.9.88-i486-1.txz
  13. /home/jian/slack/l/babl-0.0.22-i486-1.txz
  14. /home/jian/slack/l/boost-1.38.0-i486-2.txz
  15. /home/jian/slack/l/clucene-0.9.21b-i486-1.txz
  16. /home/jian/slack/l/db44-4.4.20-i486-2.txz
  17. /home/jian/slack/l/dbus-glib-0.80-i486-1.txz
  18. /home/jian/slack/l/djvulibre-3.5.21-i486-1.txz
  19. /home/jian/slack/l/eigen2-r948353-i486-1.txz
  20. /home/jian/slack/l/fribidi-0.10.9-i486-2.txz
  21. /home/jian/slack/l/gd-2.0.35-i486-3.txz
  22. /home/jian/slack/l/gegl-0.0.22-i486-1.txz
  23. /home/jian/slack/l/glib2-2.18.4-i486-1.txz
  24. /home/jian/slack/l/glib-1.2.10-i486-3.txz
  25. /home/jian/slack/l/glibc-2.9-i486-3.txz
  26. /home/jian/slack/l/ilmbase-1.0.1-i486-1.txz
  27. /home/jian/slack/l/imlib-1.9.15-i486-5.txz
  28. /home/jian/slack/l/lcms-1.18-i486-1.txz
  29. /home/jian/slack/l/lesstif-0.95.0-i486-5.txz
  30. /home/jian/slack/l/libaio-0.3.106-i486-1.txz
  31. /home/jian/slack/l/libao-0.8.8-i486-1.txz
  32. /home/jian/slack/l/libarchive-2.6.2-i486-1.txz
  33. /home/jian/slack/l/libtermcap-1.2.3-i486-7.txz
  34. /home/jian/slack/l/libtheora-1.0-i486-1.txz
  35. /home/jian/slack/l/mm-1.4.2-i486-2.txz
  36. /home/jian/slack/l/ncurses-5.7-i486-1.txz
  37. /home/jian/slack/l/neon-0.28.4-i486-1.txz
  38. /home/jian/slack/l/netpbm-10.35.22-i486-1.txz
  39. /home/jian/slack/l/openexr-1.6.1-i486-1.txz
  40. /home/jian/slack/l/pcre-7.7-i486-1.txz
  41. /home/jian/slack/l/pil-1.1.6-i486-1.txz
  42. /home/jian/slack/l/pilot-link-0.12.3-i486-8.txz
  43. /home/jian/slack/l/popt-1.7-i486-2.txz
  44. /home/jian/slack/l/wv2-0.2.3-i486-1.txz
  45. /home/jian/slack/l/zlib-1.2.3-i486-2.txz
复制代码


---------------------------
错误信息

  1. [root@tuxbox linux]# make menuconfig
  2.   HOSTCC  scripts/basic/fixdep
  3. 在包含自 /usr/include/bits/posix1_lim.h:153 的文件中,
  4.                  从 /usr/include/limits.h:145,
  5.                  从 /usr/lib/gcc/i486-slackware-linux/4.3.3/include-fixed/limits.h:122,
  6.                  从 /usr/lib/gcc/i486-slackware-linux/4.3.3/include-fixed/syslimits.h:7,
  7.                  从 /usr/lib/gcc/i486-slackware-linux/4.3.3/include-fixed/limits.h:11,
  8.                  从 scripts/basic/fixdep.c:114:
  9. /usr/include/bits/local_lim.h:39:26: 错误:linux/limits.h:没有那个文件或目录
  10. 在包含自 /usr/include/sys/socket.h:40 的文件中,
  11.                  从 /usr/include/netinet/in.h:25,
  12.                  从 /usr/include/arpa/inet.h:23,
  13.                  从 scripts/basic/fixdep.c:116:
  14. /usr/include/bits/socket.h:355:24: 错误:asm/socket.h:没有那个文件或目录
  15. scripts/basic/fixdep.c: 在函数‘use_config’中:
  16. scripts/basic/fixdep.c:204: 错误:‘PATH_MAX’未声明(在此函数内第一次使用)
  17. scripts/basic/fixdep.c:204: 错误:(即使在一个函数内多次出现,每个未声明的标识符在其
  18. scripts/basic/fixdep.c:204: 错误:所在的函数内也只报告一次。)
  19. scripts/basic/fixdep.c:204: 警告:未使用的变量‘s’
  20. scripts/basic/fixdep.c: 在函数‘parse_dep_file’中:
  21. scripts/basic/fixdep.c:304: 错误:‘PATH_MAX’未声明(在此函数内第一次使用)
  22. scripts/basic/fixdep.c:304: 警告:未使用的变量‘s’
  23. make[1]: *** [scripts/basic/fixdep] 错误 1
  24. make: *** [scripts_basic] 错误 2

复制代码
发表于 2009-12-6 09:51:58 | 显示全部楼层
最可能的原因是l目录的软件包少装了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-12-6 10:25:07 | 显示全部楼层
谢谢,已经装好,全新安装。等到零辰才装好。早上起来,起动xfce桌面,发现中文很好,文泉驿正黑已经装好,挺省心的。
回复 支持 反对

使用道具 举报

发表于 2009-12-6 10:27:40 | 显示全部楼层
Wenq是默认组件,最好把点阵开启,这样字体好看一点
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-12-6 16:11:56 | 显示全部楼层
嗯,我找下试试。PS:顺便编译了个新的内核,U盘不再乱码。

这行:<edit name="embeddedbitmap"><bool>true</bool></edit>。false改为ture也没效果啊。
回复 支持 反对

使用道具 举报

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

本版积分规则

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