Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

GLIBC 2.2.5 installation problem

98 views
Skip to first unread message

Laurence Morin-Daoust

unread,
May 5, 2002, 7:53:38 PM5/5/02
to
I tried several times to install glibc 2.2.5 and it never works !!!
I tried to compile it on a new partition with the method in LINUX FROM
SCRATCH BOOK.
Last time, I get a SEGMENTION ERROR.
There are the command I used :

tar -xzf glibc-2.2.5.tar.gz
cd glibc-2.2.5
tar -xzf glibc-linuxthreads.tar.gz

make compile
cd compile

../glibc-2.2.5/configure --host=i686-linux-pc-gnu --prefix=/mnt/lfs/usr --en
able-add-ons=linuxthreads

make [ERROR1] - Segmentation error

I know there are several options. Maybe I forgot to initialize something !

Laurence Morin-Daoust
laurence_m...@hotmail.com

Peter T. Breuer

unread,
May 6, 2002, 6:09:34 AM5/6/02
to
Laurence Morin-Daoust <laurence_m...@hotmail.com> wrote:
> I tried several times to install glibc 2.2.5 and it never works !!!
> I tried to compile it on a new partition with the method in LINUX FROM
> SCRATCH BOOK.
> Last time, I get a SEGMENTION ERROR.

Use a working compiler.

And recompile the bits it can't compile without optimization.

And fix the source.

Peter

Laurence Morin-Daoust

unread,
May 7, 2002, 6:03:05 PM5/7/02
to
The compiler was good, a little bit old maybe. You thinks the source is
corrupted ??


Peter T. Breuer <p...@oboe.it.uc3m.es> a écrit dans le message :
1gk5ba...@news.it.uc3m.es...

David

unread,
May 7, 2002, 6:58:21 PM5/7/02
to
Laurence Morin-Daoust wrote:
> I tried several times to install glibc 2.2.5 and it never works !!!
> I tried to compile it on a new partition with the method in LINUX FROM
> SCRATCH BOOK.


This is how I did it on my LFS-3.2 system.

tar -xzf glibc-2.2.5.tar.gz
cd glibc-2.2.5
tar -xzf glibc-linuxthreads.tar.gz

touch /etc/ld.so.conf &&
cp malloc/Makefile malloc/Makefile.backup &&
sed 's%\$(PERL)%/usr/bin/perl%' malloc/Makefile.backup > malloc/Makefile &&
cp login/Makefile login/Makefile.backup &&
sed 's/root/0/' login/Makefile.backup > login/Makefile &&

mkdir ../glibc-build &&
cd ../glibc-build &&

../glibc-2.2.5/configure --prefix=/usr \
--enable-add-ons --libexecdir=/usr/bin &&
echo "cross-compiling = no" > configparms &&
make &&
make install &&
make localedata/install-locales


--
Confucius: He who play in root, eventually kill tree.
Registered with the Linux Counter. http://counter.li.org


Laurence Morin-Daoust

unread,
May 9, 2002, 7:43:16 PM5/9/02
to
Yeah, this is EXACTLY what I did, but it does not work ! Do you think the
source is corrupted ??

David <thunde...@netscape.net> a écrit dans le message :
3CD85C07...@netscape.net...

David

unread,
May 9, 2002, 11:30:11 PM5/9/02
to
Laurence Morin-Daoust wrote:
> Yeah, this is EXACTLY what I did, but it does not work ! Do you think the
> source is corrupted ??
>


Did you optimize gcc when you compiled it? Did you optimize bash or
binutils when you compiled them?

I had problems with glibc and found that I had compiled bash with an
option that was causing problems with glibc, recompiled it with only the
"-O3 -march=i586" options and then I was able to compile glibc. If you
optimized gcc when you compiled it then it maybe where the problem is
at. I don't remember now but I know there were 3 or 4 packages that
shouldn't be optimized. I think they were gcc, binutils, glibc, and
depending which options you use on bash.

Laurence Morin-Daoust

unread,
May 12, 2002, 12:23:36 PM5/12/02
to
I don't optimize these packages, I don't know how to optimize !!?
"-O3 -march=i586" how do you use this options, what the optimization
options does ???, where do find documentation on the optimization and all
the stuff about BUILD A NEW LINUX SYSTEM ?


David <thunde...@netscape.net> a écrit dans le message :

3CDB3EC2...@netscape.net...

0 new messages