LinuxSir.cn,穿越时空的Linuxsir!

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

关于安装Glibc-2.3.2时出现的问题.(求助)

[复制链接]
发表于 2003-9-17 11:12:49 | 显示全部楼层 |阅读模式
每次到这儿都会出现问题.
我都重起了好多次...问题还是没有解决.
我用的是REDHAT8.0.
下面是全部的过程,注意倒数第二行.每次到那个地方就没有了.并不是我CUT掉了.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
[root@localhost glibc]# ../glibc-2.3.2/configure --prefix=/stage1 --disable-prof
ile --enable-add-ons --with-headers=/stage1/include --with-binutils=/stage1/bin
--without-gd
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking sysdep dirs... sysdeps/i386/elf linuxthreads/sysdeps/unix/sysv/linux/i3
86 linuxthreads/sysdeps/unix/sysv/linux linuxthreads/sysdeps/pthread sysdeps/pth
read linuxthreads/sysdeps/unix/sysv linuxthreads/sysdeps/unix linuxthreads/sysde
ps/i386/i686 linuxthreads/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 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
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for pwd... /bin/pwd
checking for gcc... gcc
checking version of gcc... 3.2, ok
checking for gnumake... no
checking for gmake... gmake
checking version of gmake... 3.79.1, ok
checking for gnumsgfmt... no
checking for gmsgfmt... no
checking for msgfmt... msgfmt
checking version of msgfmt... 0.11.4, ok
checking for makeinfo... makeinfo
checking version of makeinfo... 4.2, ok
checking for sed... sed
checking version of sed... 3.02, ok
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking whether /stage1/bin/as is GNU as... yes
checking whether /stage1/bin/ld is GNU ld... yes
checking for /stage1/bin/as... /stage1/bin/as
checking version of /stage1/bin/as... 2.13.2, ok
checking for /stage1/bin/ld... /stage1/bin/ld
checking version of /stage1/bin/ld... 2.13.2, ok
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 gawk... gawk
checking for perl... /usr/bin/perl
checking for install-info... /sbin/install-info
checking for old Debian install-info... no
checking for bison... /usr/bin/bison
checking for signed size_t type... no
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... yes
checking for assembler .type directive prefix... @
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 whether __attribute__((visibility())) is supported... yes
checking for broken __attribute__((visibility()))... no
checking for broken __attribute__((alias()))... no
checking whether to put _rtld_local into .sdata section... no
checking for .preinit_array/.init_array/.fini_array support... 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... no_registry_needed
checking for __builtin_expect... yes
checking for __builtin_memset... no
checking for local label subtraction... yes
checking for __thread... yes
checking for tls_model attribute... no
checking for libgd... no
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for long double... yes
checking size of long double... 12
running configure fragment for ../glibc-2.3.2/sysdeps/i386/elf
running configure fragment for ../glibc-2.3.2/sysdeps/pthread
running configure fragment for ../glibc-2.3.2/sysdeps/unix/sysv/linux
checking for egrep... (cached) grep -E
checking installed Linux kernel header files... 2.0.10 or later
checking for symlinks in /stage1/include... ok
running configure fragment for ../glibc-2.3.2/sysdeps/unix/common
running configure fragment for ../glibc-2.3.2/sysdeps/unix
running configure fragment for ../glibc-2.3.2/sysdeps/generic
checking for old glibc 2.0.x headers... no
checking whether -fPIC is default... no
configure: creating ./config.status
config.status: creating config.make
config.status: creating glibcbug
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default commands
configure: configuring in linuxthreads
configure: running /bin/sh '../../glibc-2.3.2/linuxthreads/configure' --prefix=/                                                              stage1  '--prefix=/stage1' '--disable-profile' '--enable-add-ons' '--with-header                                                              s=/stage1/include' '--with-binutils=/stage1/bin' '--without-gd' --cache-file=/de                                                              v/null --srcdir=../../glibc-2.3.2/linuxthreads
[root@localhost glibc]#
发表于 2003-9-18 03:14:13 | 显示全部楼层
make??
 楼主| 发表于 2003-9-19 13:25:53 | 显示全部楼层
我MAKE过的.但是MAKE了以后还是有错误信息...我贴出来看看吧...

=======================================
make[2]: *** [/data/lfs-wget/glibc/csu/init-first.o] Error 1
make[2]: Leaving directory `/data/lfs-wget/glibc-2.3.2/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/data/lfs-wget/glibc-2.3.2'
make: *** [all] Error 2
=======================================

这个是MAKE以后的错误信息...怎么办呢?
发表于 2003-9-19 13:56:06 | 显示全部楼层
error 1 前面是什么??
 楼主| 发表于 2003-9-19 13:59:17 | 显示全部楼层
=============================================
In file included from ../linuxthreads/internals.h:29,
                 from ../linuxthreads/sysdeps/pthread/bits/libc-lock.h:27,
                 from ../sysdeps/generic/ldsodefs.h:38,
                 from ../sysdeps/unix/sysv/linux/ldsodefs.h:25,
                 from ../sysdeps/unix/sysv/linux/init-first.c:30:
../linuxthreads/descr.h:43:40: linuxthreads_db/thread_dbP.h: No such file or directory
In file included from ../linuxthreads/internals.h:29,
                 from ../linuxthreads/sysdeps/pthread/bits/libc-lock.h:27,
                 from ../sysdeps/generic/ldsodefs.h:38,
                 from ../sysdeps/unix/sysv/linux/ldsodefs.h:25,
                 from ../sysdeps/unix/sysv/linux/init-first.c:30:
../linuxthreads/descr.h:164: parse error before "td_eventbuf_t"
../linuxthreads/descr.h:164: warning: no semicolon at end of struct or union
../linuxthreads/descr.h:184: parse error before '}' token
../linuxthreads/descr.h:184: warning: empty declaration
../linuxthreads/descr.h: In function `thread_self':
../linuxthreads/descr.h:250: invalid use of undefined type `struct _pthread_descr_struct'
In file included from ../linuxthreads/sysdeps/pthread/bits/libc-lock.h:27,
                 from ../sysdeps/generic/ldsodefs.h:38,
                 from ../sysdeps/unix/sysv/linux/ldsodefs.h:25,
                 from ../sysdeps/unix/sysv/linux/init-first.c:30:
../linuxthreads/internals.h: At top level:
../linuxthreads/internals.h:159: parse error before "__pthread_threads_events"
../linuxthreads/internals.h:159: warning: type defaults to `int' in declaration of `__pthread_threads_events'
../linuxthreads/internals.h:159: warning: data definition has no type or storage class
../linuxthreads/internals.h: In function `invalid_handle':
../linuxthreads/internals.h:178: dereferencing pointer to incomplete type
../linuxthreads/internals.h:178: dereferencing pointer to incomplete type
../linuxthreads/internals.h: In function `nonexisting_handle':
../linuxthreads/internals.h:183: dereferencing pointer to incomplete type
make[2]: *** [/data/lfs-wget/glibc/csu/init-first.o] Error 1
make[2]: Leaving directory `/data/lfs-wget/glibc-2.3.2/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/data/lfs-wget/glibc-2.3.2'
make: *** [all] Error 2
================================================

全部信息太多了.这是后面的部分.
发表于 2003-9-19 15:13:49 | 显示全部楼层
你解压了linuxthreads么?
 楼主| 发表于 2003-9-19 15:24:56 | 显示全部楼层
解了.解在glibc-2.3.2目录了.

还会有什么可能发生的问题呢?
发表于 2003-9-19 20:22:41 | 显示全部楼层
我想还有可能就是前面的binutils和gcc没装好吧,仔细看一下安装的结果.最后如果有error就不行了.当然gcc的check是无所谓的.
 楼主| 发表于 2003-9-20 23:11:17 | 显示全部楼层
好的.谢谢你的指点.

我再试试吧.
发表于 2003-9-20 23:29:36 | 显示全部楼层
configure: running /bin/sh '../../glibc-2.3.2/linuxthreads/configure' --prefix=/ stage1 '--prefix=/stage1' '--disable-profile' '--enable-add-ons' '--with-header s=/stage1/include' '--with-binutils=/stage1/bin' '--without-gd' --cache-file=/de v/null --srcdir=../../glibc-2.3.2/linuxthreads
[root@localhost glibc]#

这里有个问题 /de v/null  。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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