Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Chost
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
Progeny
n00b
n00b


Joined: 12 Apr 2006
Posts: 40
Location: Italy

PostPosted: Wed Apr 12, 2006 11:53 pm    Post subject: Chost Reply with quote

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
View user's profile Send private message
GuN_jAcK
l33t
l33t


Joined: 23 Mar 2005
Posts: 834
Location: Prague, Czech Republic

PostPosted: Thu Apr 13, 2006 12:03 am    Post subject: Reply with quote

gentilmente incollaci l'output:

Code:
cat /proc/cpuinfo


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
View user's profile Send private message
Peach
Advocate
Advocate


Joined: 08 Mar 2003
Posts: 3686
Location: London, UK

PostPosted: Thu Apr 13, 2006 7:58 am    Post subject: Re: Chost Reply with quote

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
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Thu Apr 13, 2006 8:18 am    Post subject: Reply with quote

Prova ad usare fix_libtool_files.sh.
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
bender86
Guru
Guru


Joined: 18 Mar 2005
Posts: 484

PostPosted: Thu Apr 13, 2006 8:39 am    Post subject: Reply with quote

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
View user's profile Send private message
Progeny
n00b
n00b


Joined: 12 Apr 2006
Posts: 40
Location: Italy

PostPosted: Thu Apr 13, 2006 11:13 am    Post subject: Reply with quote

gutter wrote:
Prova ad usare fix_libtool_files.sh.


risolto, grazie :)
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Thu Apr 13, 2006 2:23 pm    Post subject: Reply with quote

Progeny wrote:

risolto, grazie :)


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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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