LinuxSir.cn,穿越时空的Linuxsir!

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

装glibc2.3.4时出现问题

[复制链接]
 楼主| 发表于 2006-5-3 18:48:27 | 显示全部楼层
tar的时候当前目录是source
patch的时候,当前目录是/source/glibc-2.3.4
回复 支持 反对

使用道具 举报

发表于 2006-5-3 19:08:10 | 显示全部楼层
BEGIN { subdirs = ""; inhibit = "" }; /^#/{ next };
/^[^-]/ { subdirs = subdirs " " $0 }; /^-/ { inhibit =
inhibit " " substr($0, 2) }; END { printf
"sysdep-subdirs=%s\n", subdirs; printf "sysdep-inhibit-subdirs
=%s\n", inhibit; print "sysd-dirs-done = t" }
这个是 sed 的语法吧?还是awk的?

我不知道是什么原因,不过你的glibc没找到sed或者awk。。很奇怪。


BTW,下次把路径说清楚,以免误导。
回复 支持 反对

使用道具 举报

发表于 2006-5-3 19:12:45 | 显示全部楼层
glibc-linuxthreads-2.3.4.tar.bz2 应该是在 glibc-2.3.4 里面解包的吧!
回复 支持 反对

使用道具 举报

发表于 2006-5-3 19:27:41 | 显示全部楼层
好象不是缺少命令,似乎像是缺少什么重要的文件.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-5-3 21:03:05 | 显示全部楼层
我的glibc-linuxthreads-2.3.4.tar.bz2也是在source解的
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-5-3 21:03:54 | 显示全部楼层
我的glibc-linuxthreads-2.3.4.tar.bz2也是在source解的
回复 支持 反对

使用道具 举报

发表于 2006-5-3 22:09:34 | 显示全部楼层
應該在 glibc 裡面解包才對吧!
回复 支持 反对

使用道具 举报

发表于 2006-5-3 22:16:57 | 显示全部楼层
其实,好像这个 glibc-linuxthreads-2.3.4.tar.bz2 是否解压都没关系,因为用的是 NPTL 的。

楼主重装一下sed,再重新编译glibc试试。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-5-4 12:34:45 | 显示全部楼层
还是不行啊,我重装了sed,但装sed的时候也出错了,在make install的时候.
错误信息:
king install in intl
make[1]: Entering directory `/mnt/lfs/sources/sed-4.1.4/intl'
if test "sed" = "gettext" \
   && test '' = 'intl-compat.o'; then \
  mkdir -p -- /tools/lib /tools/include; \
  /tools/bin/install -c -m 644 libintl.h /tools/include/libintl.h; \
  @LIBTOOL@ --mode=install \
    /tools/bin/install -c -m 644 libintl.a /tools/lib/libintl.a; \
else \
  : ; \
fi
if test 'no' = yes; then \
  test yes != no || mkdir -p -- /tools/lib; \
  temp=/tools/lib/t-charset.alias; \
  dest=/tools/lib/charset.alias; \
  if test -f /tools/lib/charset.alias; then \
    orig=/tools/lib/charset.alias; \
    sed -f ref-add.sed $orig > $temp; \
    /tools/bin/install -c -m 644 $temp $dest; \
    rm -f $temp; \
  else \
    if test yes = no; then \
      orig=charset.alias; \
      sed -f ref-add.sed $orig > $temp; \
      /tools/bin/install -c -m 644 $temp $dest; \
      rm -f $temp; \
    fi; \
  fi; \
  mkdir -p -- /tools/share/locale; \
  test -f /tools/share/locale/locale.alias \
    && orig=/tools/share/locale/locale.alias \
    || orig=./locale.alias; \
  temp=/tools/share/locale/t-locale.alias; \
  dest=/tools/share/locale/locale.alias; \
  sed -f ref-add.sed $orig > $temp; \
  /tools/bin/install -c -m 644 $temp $dest; \
  rm -f $temp; \
else \
  : ; \
fi
if test "sed" = "gettext"; then \
  mkdir -p -- /tools/share/gettext/intl; \
  /tools/bin/install -c -m 644 VERSION /tools/share/gettext/intl/VERSION; \
  /tools/bin/install -c -m 644 ChangeLog.inst /tools/share/gettext/intl/ChangeLog; \
  dists="COPYING.LIB-2.0 COPYING.LIB-2.1 Makefile.in config.charset locale.alias ref-add.sin ref-del.sin gmo.h gettextP.h hash-string.h plural-exp.h eval-plural.h os2compat.h libgnuintl.h loadinfo.h bindtextdom.c dcgettext.c dgettext.c gettext.c finddomain.c loadmsgcat.c localealias.c textdomain.c l10nflist.c explodename.c dcigettext.c dcngettext.c dngettext.c ngettext.c plural.y plural-exp.c localcharset.c localename.c osdep.c os2compat.c intl-compat.c"; \
  for file in $dists; do \
    /tools/bin/install -c -m 644 ./$file \
                    /tools/share/gettext/intl/$file; \
  done; \
  chmod a+x /tools/share/gettext/intl/config.charset; \
  dists="plural.c"; \
  for file in $dists; do \
    if test -f $file; then dir=.; else dir=.; fi; \
    /tools/bin/install -c -m 644 $dir/$file \
                    /tools/share/gettext/intl/$file; \
  done; \
  dists="xopen-msg.sed linux-msg.sed po2tbl.sed.in cat-compat.c COPYING.LIB-2 gettext.h libgettext.h plural-eval.c"; \
  for file in $dists; do \
    rm -f /tools/share/gettext/intl/$file; \
  done; \
else \
  : ; \
fi
make[1]: Leaving directory `/mnt/lfs/sources/sed-4.1.4/intl'
Making install in lib
make[1]: Entering directory `/mnt/lfs/sources/sed-4.1.4/lib'
make[2]: Entering directory `/mnt/lfs/sources/sed-4.1.4/lib'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/mnt/lfs/sources/sed-4.1.4/lib'
make[1]: Leaving directory `/mnt/lfs/sources/sed-4.1.4/lib'
Making install in po
make[1]: Entering directory `/mnt/lfs/sources/sed-4.1.4/po'
mkdir -p -- /tools/share
/tools/bin/install: cannot remove `/tools/share/locale/af/LC_MESSAGES/sed.mo': Permission denied
installing af.gmo as /tools/share/locale/af/LC_MESSAGES/sed.mo
/tools/bin/install: cannot remove `/tools/share/locale/ca/LC_MESSAGES/sed.mo': Permission denied
installing ca.gmo as /tools/share/locale/ca/LC_MESSAGES/sed.mo
/tools/bin/install: cannot remove `/tools/share/locale/cs/LC_MESSAGES/sed.mo': Permission denied
installing cs.gmo as /tools/share/locale/cs/LC_MESSAGES/sed.mo
/tools/bin/install: cannot remove `/tools/share/locale/da/LC_MESSAGES/sed.mo': Permission denied
installing da.gmo as /tools/share/locale/da/LC_MESSAGES/sed.mo
/tools/bin/install: cannot remove `/tools/share/locale/de/LC_MESSAGES/sed.mo': Permission denied
installing de.gmo as /tools/share/locale/de/LC_MESSAGES/sed.mo
/tools/bin/install: cannot remove `/tools/share/locale/el/LC_MESSAGES/sed.mo': Permission denied
installing el.gmo as /tools/share/locale/el/LC_MESSAGES/sed.mo
/tools/bin/install: cannot remove `/tools/share/locale/eo/LC_MESSAGES/sed.mo': Permission denied
installing eo.gmo as /tools/share/locale/eo/LC_MESSAGES/sed.mo
/tools/bin/install: cannot remove `/tools/share/locale/es/LC_MESSAGES/sed.mo': Permission denied
installing es.gmo as /tools/share/locale/es/LC_MESSAGES/sed.mo
/tools/bin/install: cannot remove `/tools/share/locale/et/LC_MESSAGES/sed.mo': Permission denied
installing et.gmo as /tools/share/locale/et/LC_MESSAGES/sed.mo
/tools/bin/install: cannot remove `/tools/share/locale/fi/LC_MESSAGES/sed.mo': Permission denied
installing fi.gmo as /tools/share/locale/fi/LC_MESSAGES/sed.mo
/tools/bin/install: cannot remove `/tools/share/locale/fr/LC_MESSAGES/sed.mo': Permission denied
installing fr.gmo as /tools/share/locale/fr/LC_MESSAGES/sed.mo
/tools/bin/install: cannot remove `/tools/share/locale/ga/LC_MESSAGES/sed.mo': Permission denied
installing ga.gmo as /tools/share/locale/ga/LC_MESSAGES/sed.mo
/tools/bin/install: cannot remove `/tools/share/locale/gl/LC_MESSAGES/sed.mo': Permission denied
installing gl.gmo as /tools/share/locale/gl/LC_MESSAGES/sed.mo
/tools/bin/install: cannot remove `/tools/share/locale/he/LC_MESSAGES/sed.mo': Permission denied
installing he.gmo as /tools/share/locale/he/LC_MESSAGES/sed.mo
/tools/bin/install: cannot remove `/tools/share/locale/hr/LC_MESSAGES/sed.mo': Permission denied
installing hr.gmo as /tools/share/locale/hr/LC_MESSAGES/sed.mo
/tools/bin/install: cannot remove `/tools/share/locale/hu/LC_MESSAGES/sed.mo': Permission denied
installing hu.gmo as /tools/share/locale/hu/LC_MESSAGES/sed.mo
/tools/bin/install: cannot remove `/tools/share/locale/id/LC_MESSAGES/sed.mo': Permission denied
installing id.gmo as /tools/share/locale/id/LC_MESSAGES/sed.mo
/tools/bin/install: cannot remove `/tools/share/locale/it/LC_MESSAGES/sed.mo': Permission denied
installing it.gmo as /tools/share/locale/it/LC_MESSAGES/sed.mo
/tools/bin/install: cannot remove `/tools/share/locale/ja/LC_MESSAGES/sed.mo': Permission denied
installing ja.gmo as /tools/share/locale/ja/LC_MESSAGES/sed.mo
/tools/bin/install: cannot remove `/tools/share/locale/ko/LC_MESSAGES/sed.mo': Permission denied
installing ko.gmo as /tools/share/locale/ko/LC_MESSAGES/sed.mo
/tools/bin/install: cannot remove `/tools/share/locale/nl/LC_MESSAGES/sed.mo': Permission denied
installing nl.gmo as /tools/share/locale/nl/LC_MESSAGES/sed.mo
/tools/bin/install: cannot remove `/tools/share/locale/pl/LC_MESSAGES/sed.mo': Permission denied
installing pl.gmo as /tools/share/locale/pl/LC_MESSAGES/sed.mo
/tools/bin/install: cannot remove `/tools/share/locale/pt_BR/LC_MESSAGES/sed.mo': Permission denied
installing pt_BR.gmo as /tools/share/locale/pt_BR/LC_MESSAGES/sed.mo
/tools/bin/install: cannot remove `/tools/share/locale/ro/LC_MESSAGES/sed.mo': Permission denied
installing ro.gmo as /tools/share/locale/ro/LC_MESSAGES/sed.mo
/tools/bin/install: cannot remove `/tools/share/locale/ru/LC_MESSAGES/sed.mo': Permission denied
installing ru.gmo as /tools/share/locale/ru/LC_MESSAGES/sed.mo
/tools/bin/install: cannot remove `/tools/share/locale/sk/LC_MESSAGES/sed.mo': Permission denied
installing sk.gmo as /tools/share/locale/sk/LC_MESSAGES/sed.mo
/tools/bin/install: cannot remove `/tools/share/locale/sl/LC_MESSAGES/sed.mo': Permission denied
installing sl.gmo as /tools/share/locale/sl/LC_MESSAGES/sed.mo
/tools/bin/install: cannot remove `/tools/share/locale/sr/LC_MESSAGES/sed.mo': Permission denied
installing sr.gmo as /tools/share/locale/sr/LC_MESSAGES/sed.mo
/tools/bin/install: cannot remove `/tools/share/locale/sv/LC_MESSAGES/sed.mo': Permission denied
installing sv.gmo as /tools/share/locale/sv/LC_MESSAGES/sed.mo
/tools/bin/install: cannot remove `/tools/share/locale/tr/LC_MESSAGES/sed.mo': Permission denied
installing tr.gmo as /tools/share/locale/tr/LC_MESSAGES/sed.mo
/tools/bin/install: cannot remove `/tools/share/locale/zh_CN/LC_MESSAGES/sed.mo': Permission denied
installing zh_CN.gmo as /tools/share/locale/zh_CN/LC_MESSAGES/sed.mo
if test "sed" = "gettext"; then \
  mkdir -p -- /tools/share/gettext/po; \
  for file in Makefile.in.in Makevars quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot  ; do \
    /tools/bin/install -c -m 644 ./$file \
                    /tools/share/gettext/po/$file; \
  done; \
else \
  : ; \
fi
make[1]: Leaving directory `/mnt/lfs/sources/sed-4.1.4/po'
Making install in sed
make[1]: Entering directory `/mnt/lfs/sources/sed-4.1.4/sed'
make[2]: Entering directory `/mnt/lfs/sources/sed-4.1.4/sed'
test -z "/tools/bin" || mkdir -p -- "/tools/bin"
  /tools/bin/install -c 'sed' '/tools/bin/sed'
/tools/bin/install: cannot remove `/tools/bin/sed': Permission denied
make[2]: *** [install-binPROGRAMS] Error 1
make[2]: Leaving directory `/mnt/lfs/sources/sed-4.1.4/sed'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/sed-4.1.4/sed'
make: *** [install-recursive] Error 1
回复 支持 反对

使用道具 举报

发表于 2006-5-4 18:32:56 | 显示全部楼层
没权限,你之前用的是root,现在用lfs用户?。。
用root执行make install试试。
回复 支持 反对

使用道具 举报

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

本版积分规则

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