Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

Re: lug-bg: glibc 2.2.4


  • Subject: Re: lug-bg: glibc 2.2.4
  • From: mmarkov@xxxxxxx (Minko Markov)
  • Date: Mon, 07 Jan 2002 02:40:49 -0800



Stefan Janev wrote:
> 
> zdrasti list.
> sledniat problem e nalice:
> 
> glibc 2.2.4 (source)
> glibc 2.2.3 (current)
> 
> iskam da go updatevam, no ne sym syvsem naiasno s
> procedurara - v sluchai che stane gaf; ili problem s
> ld.so.cache,
> problem pri samoto instalirane, overwrite na starite
> bibliuteki,
> vse pak systemata si gi polzva v tozi moment.
> predpolagam
> che s ./configure --prefix=/usr triabva da pochna :)

Dva pqti sqm go pravil, 2.1.3 --> 2.2.1 i 2.2.1 --> 2.2.3
Pqrviyat pqt, ot glupost, pri instaliraneto se okazah
bez C biblioteka, i me spasi tova, che imam vtora,
sqvsem malka Linux instalaciya na sqshtiya disk, ot koyato
bootnah. Predvaritelno byah napravil backup na /lib ,
/usr/lib i /usr/include, taka che mozheh da vqrna sqstoyanieto
otpredi make install.

Sled tova ne sqm imal problemi s tazi procedura:

        1. upgrade na binutils, ako versiyata e po-niska ot neobhodimata
        
        2. generirane na kernel headers s
                cd /usr/src/linux
                make mrproper
                make config (yes answers)
                make dep
        i tryabva da ima symlinks
                /usr/include/asm -> /usr/src/linux/include/asm-i386
                /usr/include/linux -> /usr/src/linux/include/linux

        3. backup za vseki sluchay

        4. vizh v dokumnetaciyata, dali nyakakvi patchove ne sa neobhodimi
        za 2.2.3 imashe nyakakqv patch, bez nego ne se kompilirashe.
        google is your friend.

        5. ako source-a e v /usr/local/src/glibc/glibc-2.2.3, to
                cd /usr/local/src/glibc && mkdir glibc_build 
        build direktoriyata da e izvqn source tree

        6. v /usr/.../glibc,   mv linuxthreads* glibc-2.2.3
        linuxthreads*  sa dve source direktorii

        7. unset LD_LIBRARY_PATH

        8. cd glibc_build

        9. ../glibc-2.2.3/configure --prefix=/usr --enable-add-ons \
                --enable-kernel=2.2.18
        ili kakqvto ti e kernela

        10. make > MAKE &
            tail -f MAKE 

        11. make check > MAKE.CHECK &
            tail -f MAKE.CHECK
        ako vsichko ne e OK i vse pak instalirash,
        sigurno shte sqzhalyavash

        12. make info && make dvi && make pdf

        13. telinit 1

        14. env LANGUAGE=C LC_ALL=C /usr/local/bin/make install > MAKE.INSTALL

        15. reboot

Sled tova ima locali za opravyane, no moyata sistema
ne e lokalizirana i ne sqm se zanimaval.

Nakraya, ima suma leftovers ot starata versiya na glibc v /lib
i /usr/lib. Az gi mahnah, za da ne stavat obqrkvaniya. Ako si
napravil backup, ne e trudno da vidish kakvo e ot starata versiya.

Uspeh,
Minko
===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora



 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.