LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: homesp

安装LFS6.1遇到的几点问题,大家帮忙看一下

[复制链接]
 楼主| 发表于 2005-12-22 12:32:05 | 显示全部楼层
这是configure时的内容 :

  1. lfs@debian:/mnt/lfs/sources/glibc-build$ ../glibc-2.3.4/configure --prefix=/tools \
  2. >     --disable-profile --enable-add-ons \
  3. >     --enable-kernel=2.6.0 --with-binutils=/tools/bin \
  4. >     --without-gd --with-headers=/tools/include \
  5. >     --without-selinux
  6. checking build system type... i686-pc-linux-gnu
  7. checking host system type... i686-pc-linux-gnu
  8. running configure fragment for add-on nptl
  9. checking sysdep dirs... sysdeps/i386/elf nptl/sysdeps/unix/sysv/linux/i386/i686 nptl/sysdeps/unix/sysv/linux/i386 nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread nptl/sysdeps/unix/sysv nptl/sysdeps/unix nptl/sysdeps/i386/i686 nptl/sysdeps/i386 sysdeps/unix/sysv/linux/i386 sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet sysdeps/unix/sysv/i386 sysdeps/unix/sysv sysdeps/unix/i386 sysdeps/unix sysdeps/posix sysdeps/i386/i686/fpu sysdeps/i386/i686 sysdeps/i386/i486 nptl/sysdeps/i386/i486 sysdeps/i386/fpu sysdeps/i386 sysdeps/wordsize-32 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic
  10. checking for a BSD-compatible install... /usr/bin/install -c
  11. checking whether ln -s works... yes
  12. checking for gcc... gcc
  13. checking for suffix of object files... o
  14. checking whether we are using the GNU C compiler... yes
  15. checking whether gcc accepts -g... yes
  16. checking for gcc option to accept ANSI C... none needed
  17. checking how to run the C preprocessor... gcc -E
  18. checking for g++... g++
  19. checking whether we are using the GNU C++ compiler... yes
  20. checking whether g++ accepts -g... yes
  21. checking whether /tools/bin/as is GNU as... yes
  22. checking whether /tools/bin/ld is GNU ld... yes
  23. checking for /tools/bin/as... /tools/bin/as
  24. checking version of /tools/bin/as... 2.15.94.0.2.2, ok
  25. checking for /tools/bin/ld... /tools/bin/ld
  26. checking version of /tools/bin/ld... 2.15.94.0.2.2, ok
  27. checking for pwd... /bin/pwd
  28. checking for gcc... gcc -B/tools/bin/
  29. checking version of gcc -B/tools/bin/... 3.4.3, ok
  30. checking for gnumake... no
  31. checking for gmake... no
  32. checking for make... make
  33. checking version of make... 3.81, ok
  34. checking for gnumsgfmt... no
  35. checking for gmsgfmt... no
  36. checking for msgfmt... msgfmt
  37. checking version of msgfmt... 0.14.5, ok
  38. checking for makeinfo... makeinfo
  39. checking version of makeinfo... 4.8, ok
  40. checking for sed... sed
  41. checking version of sed... 4.1.4, ok
  42. checking for autoconf... autoconf
  43. checking whether autoconf works... no
  44. configure: WARNING:
  45. *** These auxiliary programs are missing or incompatible versions: autoconf
  46. *** some features will be disabled.
  47. *** Check the INSTALL file for required versions.
  48. checking whether ranlib is necessary... no
  49. checking LD_LIBRARY_PATH variable... ok
  50. checking whether GCC supports -static-libgcc... -static-libgcc
  51. checking for bash... /bin/sh
  52. checking for gawk... gawk
  53. checking for perl... /usr/bin/perl
  54. checking for install-info... /usr/sbin/install-info
  55. checking for bison... /usr/bin/bison
  56. checking for signed size_t type... no
  57. checking for libc-friendly stddef.h... yes
  58. checking whether we need to use -P to assemble .S files... no
  59. checking whether .text pseudo-op must be used... yes
  60. checking for assembler global-symbol directive... .globl
  61. checking for .set assembler directive... yes
  62. checking for assembler .type directive prefix... @
  63. checking for .symver assembler directive... yes
  64. checking for ld --version-script... yes
  65. checking for .previous assembler directive... yes
  66. checking for .protected and .hidden assembler directive... yes
  67. checking whether __attribute__((visibility())) is supported... yes
  68. checking for broken __attribute__((visibility()))... no
  69. checking for broken __attribute__((alias()))... no
  70. checking whether to put _rtld_local into .sdata section... no
  71. checking for .preinit_array/.init_array/.fini_array support... yes
  72. checking for libunwind-support in compiler... no
  73. checking for -z nodelete option... yes
  74. checking for -z nodlopen option... yes
  75. checking for -z initfirst option... yes
  76. checking for -z relro option... yes
  77. checking for -Bgroup option... yes
  78. checking for libgcc_s suffix...
  79. checking for --as-needed option... yes
  80. checking whether --noexecstack is desirable for .S files... yes
  81. checking for -z combreloc... yes
  82. checking for -z execstack... yes
  83. checking for -fpie... yes
  84. checking for -fno-unit-at-a-time... yes
  85. checking whether cc puts quotes around section names... no
  86. checking for assembler .weak directive... yes
  87. checking whether CFI directives are supported... yes
  88. checking if -g produces usable source locations for assembler-with-cpp... yes
  89. checking for ld --no-whole-archive... yes
  90. checking for gcc -fexceptions... yes
  91. checking for DWARF2 unwind info support... no_registry_needed
  92. checking for __builtin_expect... yes
  93. checking for __builtin_memset... no
  94. checking for redirection of built-in functions... yes
  95. checking for local label subtraction... yes
  96. checking for __thread... yes
  97. checking for tls_model attribute... yes
  98. checking for libgd... no
  99. checking for egrep... grep -E
  100. checking for ANSI C header files... yes
  101. checking for sys/types.h... yes
  102. checking for sys/stat.h... yes
  103. checking for stdlib.h... yes
  104. checking for string.h... yes
  105. checking for memory.h... yes
  106. checking for strings.h... yes
  107. checking for inttypes.h... yes
  108. checking for stdint.h... yes
  109. checking for unistd.h... yes
  110. checking for long double... yes
  111. checking size of long double... 12
  112. running configure fragment for sysdeps/i386/elf
  113. checking for i386 TLS support... yes
  114. running configure fragment for nptl/sysdeps/unix/sysv/linux
  115. running configure fragment for nptl/sysdeps/pthread
  116. checking for forced unwind support... yes
  117. checking for C cleanup handling... yes
  118. running configure fragment for sysdeps/pthread
  119. running configure fragment for sysdeps/unix/sysv/linux
  120. checking for egrep... (cached) grep -E
  121. checking installed Linux kernel header files... 2.0.10 or later
  122. checking for kernel header at least 2.6.0... ok
  123. checking for symlinks in /tools/include... ok
  124. running configure fragment for sysdeps/unix/common
  125. running configure fragment for sysdeps/unix
  126. running configure fragment for sysdeps/generic
  127. checking for old glibc 2.0.x headers... no
  128. checking whether -fPIC is default... no
  129. configure: creating ./config.status
  130. config.status: creating config.make
  131. config.status: creating Makefile
  132. config.status: creating config.h
  133. config.status: executing default commands
复制代码
回复 支持 反对

使用道具 举报

发表于 2005-12-22 20:24:29 | 显示全部楼层
拷贝的,不是 /usr/include 里边的文件。你们仔细看了LFS没有呢?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-12-22 21:59:07 | 显示全部楼层
Post by 终极幻想
拷贝的,不是 /usr/include 里边的文件。你们仔细看了LFS没有呢?


不好意思,版主,我没有看5.5.1下面那个链接,谢谢了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-12-22 22:57:44 | 显示全部楼层
在第5.8节出问题了

  1. lfs@debian:/mnt/lfs/sources/tcl8.4.9/unix$ ./configure --prefix=/tools
  2. creating cache ./config.cache
  3. checking whether to use symlinks for manpages... no
  4. checking whether to compress the manpages... no
  5. checking whether to add a package name suffix for the manpages... no
  6. checking for gcc... gcc
  7. checking whether the C compiler (gcc  ) works... yes
  8. checking whether the C compiler (gcc  ) is a cross-compiler... no
  9. checking whether we are using GNU C... yes
  10. checking whether gcc accepts -g... yes
  11. checking for building with threads... no (default)
  12. checking if the compiler understands -pipe... yes
  13. checking how to run the C preprocessor... gcc -pipe -E
  14. checking for sin... no
  15. checking for main in -lieee... yes
  16. checking for main in -linet... no
  17. checking for net/errno.h... no
  18. checking for connect... yes
  19. checking for gethostbyname... yes
  20. checking how to build libraries... shared
  21. checking for ranlib... ranlib
  22. checking if 64bit support is requested... no
  23. checking if 64bit Sparc VIS support is requested... no
  24. checking system version (for dynamic loading)... ./configure: line 7338: syntax error near unexpected token `)'
  25. ./configure: line 7338: `       OSF*)'
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-12-22 23:04:00 | 显示全部楼层
如图所示行..

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

发表于 2005-12-22 23:49:35 | 显示全部楼层
奇怪,我从来没碰到过这些问题。。是不是你下载的包有问题呢?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-12-23 11:54:34 | 显示全部楼层
Post by 终极幻想
奇怪,我从来没碰到过这些问题。。是不是你下载的包有问题呢?


我是从置顶里找到的下载地址,而且下载的是整个一个tar包
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-12-23 13:46:18 | 显示全部楼层
我又单独下载了一遍,还是相同问题
是不是系统的问题?我用的是Debian Sid
回复 支持 反对

使用道具 举报

发表于 2005-12-23 19:36:20 | 显示全部楼层
你试过liveCD没?我没用过其他发行版。:(。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-12-23 20:02:30 | 显示全部楼层
Post by 终极幻想
你试过liveCD没?我没用过其他发行版。:(。


没有试过

我试着把出错那行上面的三行注释删除掉后,出现了新的错误

checking system version (for dynamic loading)... ./configure: line 7849: syntax error: unexpected end of file
回复 支持 反对

使用道具 举报

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

本版积分规则

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