View previous topic :: View next topic |
Author |
Message |
Progeny n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 12 Apr 2006 Posts: 40 Location: Italy
|
Posted: Wed Apr 12, 2006 11:53 pm Post subject: Chost |
|
|
Salve, sono passato da debian a gentoo da pochi giorni.
Ho fatto l'installazione dallo stage 3, in seguito all'installazione, ho modificato le variabili in /etc/make.conf sostituendo i386 con i686.
Ho notato che con alcuni pacchetti (tipo kpdf) ricevo questo errore durante la compilazione:
Code: | grep:[code] /usr/lib/gcc/[/code]i386-pc-linux-gnu/3.4.4/libstdc++.la: No such file or directory
/bin/sed: can't read /usr/lib/gcc/i386-pc-linux-gnu/3.4.4/libstdc++.la: No such file or directory
libtool: link: `/usr/lib/gcc/i386-pc-linux-gnu/3.4.4/libstdc++.la' is not a valid libtool archive
make[4]: *** [libxpdf.la] Error 1
..CUT..
!!! ERROR: kde-base/kpdf-3.4.3-r4 failed.
!!! Function kde_src_compile, Line 226, Exitcode 2
!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, NOT this status message |
Code: | progeny@nofx ~ $ ls /usr/lib/gcc/
i686-pc-linux-gnu |
Code: | progeny@nofx ~ $ cat /etc/make.conf | grep C
CFLAGS="-O2 -mtune=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="-O2 -mtune=i686 -pipe" |
Perchè cerca la directory relativa all'architettura i386 quando ho modificato la variabile CHOST?
Come posso risolvere? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
GuN_jAcK l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/128333625043130b2b13963.jpg)
Joined: 23 Mar 2005 Posts: 834 Location: Prague, Czech Republic
|
Posted: Thu Apr 13, 2006 12:03 am Post subject: |
|
|
gentilmente incollaci l'output:
almeno magari imposti il compilatori con i parametri per il tuo processore specifico. _________________ Rispondi in maniera intelligente anche a chi ti tratta stupidamente. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Peach Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/113917422347ec3b2cbcf21.gif)
Joined: 08 Mar 2003 Posts: 3686 Location: London, UK
|
Posted: Thu Apr 13, 2006 7:58 am Post subject: Re: Chost |
|
|
Progeny wrote: | Perchè cerca la directory relativa all'architettura i386 quando ho modificato la variabile CHOST? |
Quando hai modificato quella variabile? _________________ Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gutter Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/67030318436dd16c1dd5e.jpg)
Joined: 13 Mar 2004 Posts: 7162 Location: Aarau, Aargau, Switzerland
|
Posted: Thu Apr 13, 2006 8:18 am Post subject: |
|
|
Prova ad usare fix_libtool_files.sh. _________________ Registered as User #281564 and Machines #163761 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bender86 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/1325898804423b37b1504e1.jpg)
Joined: 18 Mar 2005 Posts: 484
|
Posted: Thu Apr 13, 2006 8:39 am Post subject: |
|
|
Da http://www.gentoo.org/doc/it/handbook/handbook-x86.xml?part=1&chap=5#doc_chap5
Quote: | CHOST
La variabile CHOST imposta il tipo di compilazione da effettuare. Dovrebbe già essere impostata al valore corretto. Non modificarla perchè potrebbe causare seri malfunzionamenti. Se la variabile CHOST non sembra essere quella corretta è probabile che sia stato scelto lo stage sbagliato. |
Avresti dovuto installare uno stage già preparato per i686. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Progeny n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 12 Apr 2006 Posts: 40 Location: Italy
|
Posted: Thu Apr 13, 2006 11:13 am Post subject: |
|
|
gutter wrote: | Prova ad usare fix_libtool_files.sh. |
risolto, grazie ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gutter Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/67030318436dd16c1dd5e.jpg)
Joined: 13 Mar 2004 Posts: 7162 Location: Aarau, Aargau, Switzerland
|
Posted: Thu Apr 13, 2006 2:23 pm Post subject: |
|
|
Progeny wrote: |
risolto, grazie ![Smile :)](images/smiles/icon_smile.gif) |
Bene .
Per favore edita il titolo del tuo primo post ed aggiungi il tag [Risolto]. _________________ Registered as User #281564 and Machines #163761 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|