|
|
发表于 2004-9-8 21:48:48
|
显示全部楼层
#Keith Antoine wrote:
#> checking size of long double... configure: error: cannot compute sizeof (long
#> double), 77
#Known bug, introduced in glibc on April, 17. Details: Glibc configure
#script wants to run a test program linked against
#/tools/lib/libgcc_s.so.1. But this directroy is not in the library
#search path, and therefore the compiled program won't run. To work
#around this:
#LD_LIBRARY_PATH=/tools/lib ../glibc-2.3.4-20040510/configure --stuff
#make
#make install
#--
#Alexander E. Patrakov
#
#
# But the workaround suggested by Alexander E. Patrakov
# don't work here. Here is my workaround for this error
# 'cannot compute sizeof (long double), 77'
# in 'configure'ing. If you don't get this error,
# comment it out.
# - HongMingJian
rmdir /lib && ln -s /tools/lib /lib
#
mkdir ../glibc-2.3.3-lfs-5.1-build &&
cd ../glibc-2.3.3-lfs-5.1-build &&
../glibc-2.3.3-lfs-5.1/configure \
--prefix=/usr \
--disable-profile \
--enable-add-ons=linuxthreads \
--libexecdir=/usr/lib \
--with-headers=/usr/include \
--without-cvs
#
# But the workaround suggested by Alexander E. Patrakov
# don't work here. Here is my workaround for this error
# 'cannot compute sizeof (long double), 77'
# in 'configure'ing. If you don't get this error,
# comment it out.
# - HongMingJian
rm /lib && mkdir /lib
#
make && make install && ........
Hope this helps!
--
Hong MingJian |
|