LinuxSir.cn,穿越时空的Linuxsir!

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

请各位帮帮我,我按照手册说的装glibc 2.25时出错!!代码我看不懂,请各位帮帮我!!

[复制链接]
发表于 2003-9-15 21:46:41 | 显示全部楼层 |阅读模式
I have no name!:/static/src/lfs-packages-cvs-20021023-1707# cd glibc-2.2.5
<-1707/glibc-2.2.5# patch -Np1 -i ../glibc-2.2.5-2.patch &&
> touch /etc/ld.so.conf &&
> mkdir ../glibc-build &&
> cd ../glibc-build &&
> ../glibc-2.2.5/configure --prefix=/usr --disable-profile \
>     --enable-add-ons --libexecdir=/usr/bin &&
> echo "cross-compiling = no" > configparms &&
> make &&
> make install &&
> make localedata/install-locales &&
> exec /static/bin/bash --login
patching file login/Makefile
patching file malloc/Makefile
patching file iconv/skeleton.c
can't find file to patch at input line 83
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -uNr glibc-2.2.5.orig/linuxthreads/signals.c glibc-2.2.5/linuxthreads/sign
als.c
|--- glibc-2.2.5.orig/linuxthreads/signals.c    2002-01-21 14:21:16.000000000 +1
100
|+++ glibc-2.2.5/linuxthreads/signals.c 2002-08-10 09:24:57.000000000 +1000
--------------------------
File to patch: malloc/Makefile
patching file malloc/Makefile
Hunk #1 FAILED at 198.
1 out of 1 hunk FAILED -- saving rejects to file malloc/Makefile.rej
patching file malloc/malloc.c
patching file posix/regex.h
patching file resolv/nss_dns/dns-network.c
patching file sunrpc/xdr_array.c
patching file sysdeps/i386/Makefile
patching file sysdeps/i386/fpu/libm-test-ulps
patching file sysdeps/m68k/Makefile
patching file sysdeps/s390/s390-32/Makefile
patching file sysdeps/unix/sysv/linux/errlist.c
patching file sysdeps/wordsize-32/divdi3.c
I have no name!:/static/src/lfs-packages-cvs-20021023-1707/glibc-2.2.5#  touch>
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking sysdep dirs... sysdeps/i386/elf sysdeps/unix/sysv/linux/i386/i686 sysde
ps/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 sys
deps/unix/i386 sysdeps/unix sysdeps/posix sysdeps/i386/i686/fpu sysdeps/i386/i68
6 sysdeps/i386/i486 sysdeps/i386/fpu sysdeps/i386 sysdeps/wordsize-32 sysdeps/ie
ee754/ldbl-96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754 sysd
eps/generic/elf sysdeps/generic
checking for a BSD compatible install... /static/bin/install -c
checking whether ln -s works... yes
checking for pwd... /static/bin/pwd
checking build system type... i686-pc-linux-gnu
checking for gcc... gcc
checking version of gcc... 3.2, ok
checking for gnumake... no
checking for gmake... no
checking for make... make
checking version of make... 3.80, ok
checking for gnumsgfmt... no
checking for gmsgfmt... no
checking for msgfmt... no
checking for makeinfo... makeinfo
checking version of makeinfo... 4.2, ok
checking for gsed... no
checking for sed... sed
checking version of sed... 4.0, ok
checking whether the C compiler (gcc  ) works... no
checking whether the C compiler (gcc  ) is a cross-compiler... (cached) yes
checking whether we are using GNU C... yes
checking build system type... i686-pc-linux-gnu
checking how to run the C preprocessor... /lib/cpp
checking whether /static/lib/gcc-lib/i686-pc-linux-gnu/3.2/../../../../i686-pc-l
inux-gnu/bin/as is GNU as... yes
checking whether /static/lib/gcc-lib/i686-pc-linux-gnu/3.2/../../../../i686-pc-l
inux-gnu/bin/ld is GNU ld... yes
checking for mig... mig
configure: warning:
*** These auxiliary programs are missing or too old: msgfmt
*** some features will be disabled.
*** Check the INSTALL file for required versions.
checking whether ranlib is necessary... no
checking LD_LIBRARY_PATH variable... ok
checking whether GCC supports -static-libgcc... -static-libgcc
checking for bash... /bin/sh
checking for mawk... no
checking for gawk... gawk
checking for perl... no
checking for install-info... /static/bin/install-info
checking for old Debian install-info... no
checking for bison... no
checking for signed size_t type... yes
checking for libc-friendly stddef.h... yes
checking whether we need to use -P to assemble .S files... no
checking whether .text pseudo-op must be used... yes
checking for assembler global-symbol directive... .globl
checking for .set assembler directive... no
checking for .symver assembler directive... yes
checking for ld --version-script... yes
checking for .previous assembler directive... yes
checking for .protected and .hidden assembler directive... yes
checking for -z nodelete option... yes
checking for -z nodlopen option... yes
checking for -z initfirst option... yes
checking for -Bgroup option... yes
checking for -z combreloc... yes
checking whether cc puts quotes around section names... no
checking for assembler .weak directive... yes
checking for ld --no-whole-archive... yes
checking for gcc -fexceptions... yes
checking for DWARF2 unwind info support... static
checking for __builtin_expect... yes
checking for local label subtraction... yes
checking for libgd... no
checking size of long double... 0
running configure fragment for ../glibc-2.2.5/sysdeps/unix/sysv/linux
checking installed Linux kernel header files... 2.0.10 or later
*** On GNU/Linux systems it is normal to compile GNU libc with the
*** `linuxthreads' add-on.  Without that, the library will be
*** incompatible with normal GNU/Linux systems.
*** If you really mean to not use this add-on, run configure again
*** using the extra parameter `--disable-sanity-checks'.
I have no name!:/static/src/lfs-packages-cvs-20021023-1707/glibc-build#
 楼主| 发表于 2003-9-15 21:52:12 | 显示全部楼层
在中途patch file时它好像问我少了个文件,我打了malloc/Makefile
是不是就是这里出错呢??
 楼主| 发表于 2003-9-15 21:52:18 | 显示全部楼层
在中途patch file时它好像问我少了个文件,我打了malloc/Makefile
是不是就是这里出错呢??
发表于 2003-9-15 22:12:44 | 显示全部楼层
你忘了解压linuxthreads
发表于 2003-9-15 22:20:24 | 显示全部楼层
要把linuxthreads解压到glibc目录下面把!
 楼主| 发表于 2003-9-15 22:24:56 | 显示全部楼层
哦,原来如此,怪不得,谢谢,谢谢,谢谢谢谢!!!!
我现在就去弄!!!
 楼主| 发表于 2003-9-15 22:36:11 | 显示全部楼层
谢谢,问题解决了,感谢各位的帮助,现在正在安装中,有问题我再来问!!谢谢!!
 楼主| 发表于 2003-9-15 22:51:28 | 显示全部楼层
还有一个问题,现在很晚了,明天还要上学,我现在安装到第6章的gblic,重新开机后应该怎样才能继续安装呢???
 楼主| 发表于 2003-9-16 18:08:53 | 显示全部楼层
help!!!~~~~~
发表于 2003-9-16 20:15:07 | 显示全部楼层
chroot
设置环境变量,
就像第六章开始做的那样。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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