Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo rebult/uudelleen asennus
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Finnish
View previous topic :: View next topic  
Author Message
dizues
n00b
n00b


Joined: 21 Apr 2004
Posts: 18

PostPosted: Sun Feb 06, 2005 12:46 pm    Post subject: Gentoo rebult/uudelleen asennus Reply with quote

Mistä johtunee ja mikä olisi korjaus alla olevaan virheeseen? Tuo ilmotus tulee kun yrittää asentaa ohjelmia gentooseen. Voiko järjestelmän asentaa uudelleen komennolla scripts/bootstrap.sh jne... Kun komento emerge --update --deep --newuse world jumahtaa myös.

Code:
checking for i686-pc-linux-gnu-g++... no
checking for i686-pc-linux-gnu-c++... no
checking for i686-pc-linux-gnu-gpp...
checking for i686-pc-linux-gnu-aCC... no
checking for i686-pc-linux-gnu-CC... no
checking for i686-pc-linux-gnu-cxx... no
checking for i686-pc-linux-gnu-cc++... no
checking for i686-pc-linux-gnu-cl... no
checking for i686-pc-linux-gnu-FCC... no
checking for i686-pc-linux-gnu-KCC... no
checking for i686-pc-linux-gnu-RCC... no
checking for i686-pc-linux-gnu-xlC_r... no
checking for i686-pc-linux-gnu-xlC... no
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
Back to top
View user's profile Send private message
Flammie
Retired Dev
Retired Dev


Joined: 02 Jun 2003
Posts: 633
Location: Dublin, Ireland

PostPosted: Sun Feb 06, 2005 1:19 pm    Post subject: Reply with quote

Eiköhän tuossa joku gcc:n päivitys ole mennyt pieleen. Gcc-configilla voi koettaa säätää.
Back to top
View user's profile Send private message
dizues
n00b
n00b


Joined: 21 Apr 2004
Posts: 18

PostPosted: Sun Feb 06, 2005 1:47 pm    Post subject: Reply with quote

Mihinkäs pakettiin tuo libart_lgpl-2.3.16 liitty voisko sen asennusta jotenkin estää?
Back to top
View user's profile Send private message
Flammie
Retired Dev
Retired Dev


Joined: 02 Jun 2003
Posts: 633
Location: Dublin, Ireland

PostPosted: Sun Feb 06, 2005 2:07 pm    Post subject: Reply with quote

dizues wrote:
Mihinkäs pakettiin tuo libart_lgpl-2.3.16 liitty voisko sen asennusta jotenkin estää?


Eikös tuo libart_lgpl ole oma pakettinsa? Jos se asentuu jonkin muun ohella, emerge --pretend --verbose --tree auttaa.
Back to top
View user's profile Send private message
dizues
n00b
n00b


Joined: 21 Apr 2004
Posts: 18

PostPosted: Sun Feb 06, 2005 2:22 pm    Post subject: Reply with quote

gcc-config säätäminen auttoi... Muutamia paketteja piti asentaa käsin mm. acl attr. Sit rupes komento emerge --update --deep --newuse world toimimaan. Saas nähä että kääntyykö kaikki paketit nyt on 12 pakettia 70 mennyt. Mitäs tuon jälkeen pitäs ottaa huomioon?
Back to top
View user's profile Send private message
Flammie
Retired Dev
Retired Dev


Joined: 02 Jun 2003
Posts: 633
Location: Dublin, Ireland

PostPosted: Sun Feb 06, 2005 3:28 pm    Post subject: Reply with quote

dizues wrote:
gcc-config säätäminen auttoi... Muutamia paketteja piti asentaa käsin mm. acl attr. Sit rupes komento emerge --update --deep --newuse world toimimaan. Saas nähä että kääntyykö kaikki paketit nyt on 12 pakettia 70 mennyt. Mitäs tuon jälkeen pitäs ottaa huomioon?


revdep-rebuild on yleensä avuksi, sitten olisi hyvä lukea kaikki ne varoitusviestit ja ilmot jotka menivät 70 paketin aikana ohi ;-)

Ja etc-updaten tai vastaavan kanssa kannattaa säätää tarkkaan.

Yleisemmällä tasolla olen huomannut että Gentoota on helpointa ylläpitää jos ei päivitä useampia kuin muutaman paketin kerrallaan. Varsinkin testingissä joutuu yleensä käsin säätämään jotain, niin se vian lähde on helpompi paikantaa kun on asentanut vain yhden sovelluksen kuin jos olisi asentanut kerralla koko worldin.
Back to top
View user's profile Send private message
Zarhan
l33t
l33t


Joined: 27 Feb 2004
Posts: 994

PostPosted: Sun Feb 06, 2005 4:38 pm    Post subject: Reply with quote

Mää kyllä päivittelen yleensä iloisesti koko worldiä kerralla. Jos päivitysrupeamassa näyttää olevan hillitön läjä paketteja niin varmistan että viestit näkyvät yksinkertaisesti sanomalla

emerge -(mitä sitten tuleekaan) world | grep " *" > logi.txt

Voin sitten tarkistaa onko jotain erityistä huomautettavaa.

Tähän asti (Gentoota käytetty since 1.4, yli vuosi) ei ole tullut mitään mistä ei selviäisi revdep-rebuildilla (Paitsi ekalla kerralla, jolloin tyhmänä ajelin unstablea enkä käytellyt package.keywordsiä niitten pari paketin kohdalla joista oikeasti tarvii tuoretta versiota).

Ainoat ilmoitukset mitkä varsinaisesti ovat olleet hyödyllisiä ovat olleet sellaiset jossa on kerrottu jotain tyyliin "tämä päivitys ei poista kirjastotiedostoa X yhteensopivuuden vuoksi. Jos haluat, voit poistaa sen itse ja sanoa sitten revdep-rebuild". Muistaakseni alsa-lib teki tuon joskus.

Jos käyttää stabiileja paketteja, ei tule ongelmia. Jos käyttää epästabiileita versioista ohjelmista, ei yleensä ole hätää - vika on vain tuossa yhdessä ohjelmassa.

Jos edessä on jonkin "systeemikirjaston" josta useampi softa riippuu päivitys epästabiiliin versioon (esim. kun jokin ~x86-ohjelma sitä vaatii) niin sanon ennen päivitystä että quickpkg <kirjasto>. Jos jokin menee käteen niin vanha versio menee hetkessä takaisin.

Granted, joskus "stabiileiksi" luokitellaan juttuja jotka eivät oikeasti sitä ole, esimerkiksi henkilökohtaisesti koettu https://bugs.gentoo.org/show_bug.cgi?id=75833
Back to top
View user's profile Send private message
dizues
n00b
n00b


Joined: 21 Apr 2004
Posts: 18

PostPosted: Sun Feb 06, 2005 5:46 pm    Post subject: Reply with quote

emerge --update --deep --newuse world <-- jos tuo pysähtyy johonkin virheeseen miten tuota pystyy sit jatkamaan että ei tarviis taas kaikkea alottaa alusta?
Back to top
View user's profile Send private message
Zarhan
l33t
l33t


Joined: 27 Feb 2004
Posts: 994

PostPosted: Sun Feb 06, 2005 6:05 pm    Post subject: Reply with quote

dizues wrote:
emerge --update --deep --newuse world <-- jos tuo pysähtyy johonkin virheeseen miten tuota pystyy sit jatkamaan että ei tarviis taas kaikkea alottaa alusta?


emerge --resume.

Yksittäisen ebuildin (jos ei halua jotain openofficea alkaa kääntämään alusta mikäli keskeytyi sen aikana) voi pistää jatkumaan sanomalla ebuild <polkuebuildiin> compile && ebuild <polkuebuildiin> install && ebuild <polkuebuildiin> qmerge
Back to top
View user's profile Send private message
dizues
n00b
n00b


Joined: 21 Apr 2004
Posts: 18

PostPosted: Sun Feb 06, 2005 8:43 pm    Post subject: Reply with quote

Onkohan php-4.3.10 ja mod_php-4.3.10 kääntämisessä jotain erityistä? Kun ei millään meinaa kääntyä. /var/tmp/portage/php-4.3.10/work/php-4.3.10/config.log tulee seuraavaa.

Code:
#include <unix.h>
configure:13355: checking for utime.h
configure:13365: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13355: checking for sys/utsname.h
configure:13365: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13355: checking for sys/ipc.h
configure:13365: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13355: checking for dlfcn.h
configure:13365: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13394: checking for fopencookie
configure:13422: gcc -o conftest -mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer -mfpmath=sse,387 -msse -mmmx -m3dnow   -ltiff -L/usr/lib conftest.c -lm  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: warning: libmysqlclient.so.12, needed by /usr/lib/libxmlparse.so, not found (try using -rpath or -rpath-link)
configure:13453: gcc -c -mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer -mfpmath=sse,387 -msse -mmmx -m3dnow  conftest.c 1>&5
Back to top
View user's profile Send private message
Zarhan
l33t
l33t


Joined: 27 Feb 2004
Posts: 994

PostPosted: Sun Feb 06, 2005 9:05 pm    Post subject: Reply with quote

dizues wrote:
Onkohan php-4.3.10 ja mod_php-4.3.10 kääntämisessä jotain erityistä?
configure:13422: gcc -o conftest -mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer -mfpmath=sse,387 -msse -mmmx -m3dnow
[/code]


Vaikka se, että älä pyytele apua tämmöisillä kääntäjäoptioilla. Tuettuja Gentoon puolesta ovat -march=xx, -Ox ja -fomit-frame-pointer.
Back to top
View user's profile Send private message
Flammie
Retired Dev
Retired Dev


Joined: 02 Jun 2003
Posts: 633
Location: Dublin, Ireland

PostPosted: Sun Feb 06, 2005 10:15 pm    Post subject: Reply with quote

dizues wrote:
Code:

/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: warning: libmysqlclient.so.12, needed by /usr/lib/libxmlparse.so, not found (try using -rpath or -rpath-link)
configure:13453: gcc -c -mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer -mfpmath=sse,387 -msse -mmmx -m3dnow  conftest.c 1>&5


Onko käytössä gcc-3.3.4? Jollei niin fix-libtool.sh tjsp. auttaa ja lisäksi emerge libtool.

Jos vika taas on mysql-kirjastossa niin se pitää uudelleenasentaa (jos mysql on joskus päivitetty vaikka versiosta 3 versioon 4, kaikki mysql:ää käyttävät ohjelmat pitää asentaa uudelleen, tämä on yleinen käytäntö open source -sovellusten pääversionumeron päivityksissä).

Jos se on xmlparsessa niin pitää arpoa xmlparse uudelleenasennettavaksi.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Finnish All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum