Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] gettext errors - recompile glibc?

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Andrew <afrayedknot AT thefrayedknot.armory.com>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] gettext errors - recompile glibc?
  • Date: Sat, 8 Feb 2003 20:59:09 -0800

> I noticed the lunar 'spell' had the following lines in it's BUILD file:
>
> # Preserve the old glibc temporarily
> cp /lib/ld-linux.so.2 /lib/ld-lunar.so &&
> cp /lib/libc.so.6 /lib/libc-lunar.so &&
> cp /lib/libdl.so.2 /lib/libdl-lunar.so &&
> cp /lib/libm.so.6 /lib/libm-lunar.so &&
> cp /lib/librt.so.1 /lib/librt-lunar.so &&
> cp /lib/libpthread.so.0 /lib/libpthread-lunar.so &&
> cp /lib/libnss_files.so.2 /lib/libnss_files-lunar.so &&
> cp /lib/libutil.so.1 /lib/libutil-lunar.so &&
>
> # Setup links for libraries
> sln /lib/ld-lunar.so /lib/ld-linux.so.2 &&
> sln /lib/libc-lunar.so /lib/libc.so.6 &&
> sln /lib/libdl-lunar.so /lib/libdl.so.2 &&
> sln /lib/libm-lunar.so /lib/libm.so.6 &&
> sln /lib/librt-lunar.so /lib/librt.so.1 &&
> sln /lib/libpthread-lunar.so /lib/libpthread.so.0 &&
> sln /lib/libnss_files-lunar.so /lib/libnss_files.so.2 &&
> sln /lib/libutil-lunar.so /lib/libutil.so.1 &&
>
> # This removes the old glibc
> prepare_install &&
>
> # And now we install the new
> make install &&
>
> # Rebuild the ld cache
> rm -f /etc/ld.so.cache 2>/dev/null &&
> ldconfig &&
>
> # Remove the temporary libc
> rm /lib/ld-lunar.so &&
> rm /lib/libc-lunar.so &&
> rm /lib/libdl-lunar.so &&
> rm /lib/libm-lunar.so &&
> rm /lib/librt-lunar.so &&
> rm /lib/libpthread-lunar.so &&
> rm /lib/libnss_files-lunar.so &&
> rm /lib/libutil-lunar.so &&
>

I am in the process of testing this on the tree smgl boxes in the
house. Along with a fix for -ffast-math. If i win I will post my working
BUILD file.




Archive powered by MHonArc 2.6.24.

Top of Page