|
|
发表于 2004-10-21 11:50:15
|
显示全部楼层
可能是这个原因:
http://forums.gentoo.org/viewtopic.php?t=96278&highlight=maya
用这个方法成功的搞定Matlab R13
i think i solved the problem (with a little help from my friends )
set the USE flag nptl (ufed or directly in the make.conf)
compile the glibc:
emerge glibc
now the glibc with nptl support is installed.
... and now compile the glibc a second time "by hand":
1, remove the temp files from the last emerge:
rm -rf /var/tmp/portage/glibc-2.3.3_pre20040207
2, unpack the glibc sources with the patches:
ebuild /usr/portage/sys-libs/glibc/glibc-2.3.3_pre20040207.ebuild unpack
3, goto buildhere:
cd /var/tmp/portage/glibc-2.3.3_pre20040207/work/glibc-2.3.2/buildhere
4, call configure
../configure --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --with-gd=no --without-cvs --disable-profile --prefix=/usr/glibc-2.3.3-non-nptl --mandir=/usr/share/man --infodir=/usr/share/info --libexecdir=/usr/lib/misc --without-__thread --with-tls --enable-add-ons=linuxthreads --with-headers=/usr/include --enable-kernel=2.4.1
5, call make
make
6, call install
make install
7, set library path
nano -w /etc/env.d/99glibc-linuxthreads
LDPATH="/usr/glibc-2.3.3-non-nptl/lib"
8, envirenment update
env-update
if i could - i would make a ebuild file .......
now you can use:
export LD_ASSUME_KERNEL=2.4.20 and run the maxdb
cheers,
joe |
|