Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
möchte chost von i386 zu i686 ändern, problem?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
n0e
n00b
n00b


Joined: 06 Sep 2005
Posts: 11

PostPosted: Tue Sep 06, 2005 9:23 am    Post subject: möchte chost von i386 zu i686 ändern, problem? Reply with quote

Also wie in der überschrift schon gesagt, moechte ich mein chost auf i686 stellen und dann moechte ich ein emerge --update world --deep machen, gibt eine derartige änderung probleme oder kann ich das einfach machen?
Back to top
View user's profile Send private message
Mr_Maniac
Guru
Guru


Joined: 10 Jun 2004
Posts: 546

PostPosted: Tue Sep 06, 2005 10:23 am    Post subject: Re: möchte chost von i386 zu i686 ändern, problem? Reply with quote

n0e wrote:
Also wie in der überschrift schon gesagt, moechte ich mein chost auf i686 stellen und dann moechte ich ein emerge --update world --deep machen, gibt eine derartige änderung probleme oder kann ich das einfach machen?


Hmm... Wenn es geht, dann nicht mit "--update world --deep"...
Ich würde hier ein
"emerge -e system
emerge -e world" vorschlagen...
_________________
AMD Ryzen 5900X
64 GB DDR4 RAM
GeForce RTX 3080
Gentoo Linux (most recent stable kernel - amd64)
Windows 11 x64
Back to top
View user's profile Send private message
Anarcho
Advocate
Advocate


Joined: 06 Jun 2004
Posts: 2970
Location: Germany

PostPosted: Tue Sep 06, 2005 10:35 am    Post subject: Reply with quote

Du könntest auf Probleme bei manchen Paketen stossen.

Guck dir mal fix_libtool_files.sh an. Damit kann man das Profil ändern.
_________________
...it's only Rock'n'Roll, but I like it!
Back to top
View user's profile Send private message
UncleOwen
Veteran
Veteran


Joined: 27 Feb 2003
Posts: 1493
Location: Germany, Hamburg

PostPosted: Tue Sep 06, 2005 10:36 am    Post subject: Reply with quote

Eigentlich ist das ein Grund, nochmal neu zu bootstrappen.
Back to top
View user's profile Send private message
amne
Bodhisattva
Bodhisattva


Joined: 17 Nov 2002
Posts: 6378
Location: Graz / EU

PostPosted: Tue Sep 06, 2005 10:55 am    Post subject: Reply with quote

UncleOwen wrote:
Eigentlich ist das ein Grund, nochmal neu zu bootstrappen.

Richtig, entweder neu installieren oder emerge -e world.
_________________
Dinosaur week! (Ok, this thread is so last week)
Back to top
View user's profile Send private message
n0e
n00b
n00b


Joined: 06 Sep 2005
Posts: 11

PostPosted: Tue Sep 06, 2005 11:03 am    Post subject: Reply with quote

wieso entweder, oder? es ist doch viel angenehmer fuer mich einfach emerge -e world zu machen als das komplette system neu aufzusetzen!!
Back to top
View user's profile Send private message
Mr_Maniac
Guru
Guru


Joined: 10 Jun 2004
Posts: 546

PostPosted: Tue Sep 06, 2005 12:23 pm    Post subject: Reply with quote

n0e wrote:
wieso entweder, oder? es ist doch viel angenehmer fuer mich einfach emerge -e world zu machen als das komplette system neu aufzusetzen!!


Nun... Was macht emerge -e world?
-e == --emptytree

Er emerged also ALLE Pakete neu...
Okay... Das partitionieren, neu konfigurieren, etc. fällt weg, aber im Grunde genommen ist es eine neuinstallation aller Pakete...
_________________
AMD Ryzen 5900X
64 GB DDR4 RAM
GeForce RTX 3080
Gentoo Linux (most recent stable kernel - amd64)
Windows 11 x64
Back to top
View user's profile Send private message
n0e
n00b
n00b


Joined: 06 Sep 2005
Posts: 11

PostPosted: Tue Sep 06, 2005 4:43 pm    Post subject: Reply with quote

Vielen dank für die hilfestellung, es hat mir sehr geholfen, ich mache im moment ein emerge -e world, wenn ich noch probleme kriege die ich nicht lösen kann melde ich mich.
Back to top
View user's profile Send private message
Sushi
n00b
n00b


Joined: 06 Sep 2005
Posts: 1

PostPosted: Tue Sep 06, 2005 5:07 pm    Post subject: Reply with quote

meld dich mal bitte auch wenn alles geklappt hat und schilder vielleicht mal kurz die probleme auf die du gestossen bist

danke
Back to top
View user's profile Send private message
amne
Bodhisattva
Bodhisattva


Joined: 17 Nov 2002
Posts: 6378
Location: Graz / EU

PostPosted: Tue Sep 06, 2005 5:10 pm    Post subject: Reply with quote

n0e wrote:
wieso entweder, oder? es ist doch viel angenehmer fuer mich einfach emerge -e world zu machen als das komplette system neu aufzusetzen!!

Natürlich ist -e viel angenehmer. Ich habe nur die 2 Situationen aufgezählt unter denen eine CHOST-Änderung möglich ist, nämlich Neuinstallation (also vor dem Bootstrap) oder vor einem emerge -e world. ;)
_________________
Dinosaur week! (Ok, this thread is so last week)
Back to top
View user's profile Send private message
n0e
n00b
n00b


Joined: 06 Sep 2005
Posts: 11

PostPosted: Tue Sep 06, 2005 9:00 pm    Post subject: Reply with quote

Quote:
meld dich mal bitte auch wenn alles geklappt hat und schilder vielleicht mal kurz die probleme auf die du gestossen bist



Also, einfach die chost Einstellungen zu ändern, fix_libtool_files.sh anzuwenden und dann emerge -e world auszuführen hat bei mir nicht funktioniert. Beim kompilieren von groff bekam ich folgende fehlermeldung:

Quote:
Trying to compile groff-1.19.1-r2 I had the error:
gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc"
make: *** [xditview.o] Error 1


Deshalb versuche ich im Moment in dieser reihenfolge emergen zu lassen ( nach Beschreibung von hier ) :

Code:

# emerge glibc binutils gcc
# emerge glibc binutils gcc
# emerge -e system
# emerge -e world


Das klappt bisher auch ganz gut. So ich berichte dann, wenn ich fertig bin weiter.[/code]


Last edited by n0e on Tue Sep 06, 2005 9:33 pm; edited 2 times in total
Back to top
View user's profile Send private message
pablo_supertux
Advocate
Advocate


Joined: 25 Jan 2004
Posts: 2953
Location: Somewhere between reality and Middle-Earth and in Freiburg (Germany)

PostPosted: Tue Sep 06, 2005 9:17 pm    Post subject: Reply with quote

n0e wrote:
Code:

# emerge glibc binutils gcc
# emerge glibc binutils gcc
# emerge -e system
# emerge -e world


ich denke, so wirst du einige Packete wie glibc, binutils, gcc 4 Mal mergen. Ich hab's zwar nie getan, aber ich denke emerge -e world genügt.
_________________
A! Elbereth Gilthoniel!
silivren penna míriel
o menel aglar elenath,
Gilthoniel, A! Elbereth!
Back to top
View user's profile Send private message
n0e
n00b
n00b


Joined: 06 Sep 2005
Posts: 11

PostPosted: Tue Sep 06, 2005 9:31 pm    Post subject: Reply with quote

So während emerge -e system wars dann trotz allem wieder soweit:

Quote:
gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc"
make: *** [xditview.o] Error 1


Obwohl nach dem ersten mal kompilieren von: # emerge glibc binutils gcc diese meldung angezeigt wurde,von der ich eigentlich dachte, sie bedeutet, das jetzt alles funktioniert:

Quote:
The currently selected specs-specific gcc config,
* 20050130, doesn't exist anymore. This is usually
* due to enabling/disabling hardened or switching to a version
* of gcc that doesnt create multiple specs files. The default
* config will be used, and the previous preference forgotten.
* Switching native-compiler to i686-pc-linux-gnu-3.3.5-20050130 ...


was mir vorhin noch eingefallen ist, ich wollte nochmal nach der gcc config schaun und krieg das hier:
Quote:
# cd `gcc-config -B
> cd `gcc-config -B
bash: cd: /usr/i686-pc-linux-gnu/gcc-bin/3.3.5-20050130gcc-config: No such file or directory


also, bitte helft mir, ich weiss nicht weiter...
Back to top
View user's profile Send private message
n0e
n00b
n00b


Joined: 06 Sep 2005
Posts: 11

PostPosted: Wed Sep 07, 2005 4:03 pm    Post subject: Reply with quote

hat niemand mehr eine idee?
Back to top
View user's profile Send private message
n0e
n00b
n00b


Joined: 06 Sep 2005
Posts: 11

PostPosted: Wed Sep 07, 2005 5:55 pm    Post subject: Reply with quote

So, ich glaube dieser befehl war meine rettung:

Code:
ln -sf /usr/bin/i686-pc-linux-gnu-gcc /usr/bin/i386-pc-linux-gnu-gcc
Back to top
View user's profile Send private message
Anarcho
Advocate
Advocate


Joined: 06 Jun 2004
Posts: 2970
Location: Germany

PostPosted: Wed Sep 07, 2005 7:21 pm    Post subject: Reply with quote

Anarcho wrote:
Du könntest auf Probleme bei manchen Paketen stossen.

Guck dir mal fix_libtool_files.sh an. Damit kann man das Profil ändern.


Für solche Fälle war das gemeint...
_________________
...it's only Rock'n'Roll, but I like it!
Back to top
View user's profile Send private message
n0e
n00b
n00b


Joined: 06 Sep 2005
Posts: 11

PostPosted: Wed Sep 07, 2005 7:53 pm    Post subject: Reply with quote

So und doch, immer wieder das gleiche...bei groff fliegt er raus: gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc"
make: *** [xditview.o] Error 1

was soll ich jetzt tun, ich möchte eigentlich keinen reinstall machen und mache jetzt schon seit tagen an diesem problem rum, finde mindestens 20 topics, die auf das gleiche Problem verweisen und sogar teilweise als solved gekenntzeichnet sind, aber all diese lösungen beheben das problem bei mir nicht.

Quote:
Guck dir mal fix_libtool_files.sh an.


hat bei mir angeziegt, das es nichts zu beheben gibt, das alles in ordnung sei...aber meine gcc version hat sich ja auch gar nicht geändert...ich hatte die neueste.

Was mir aber gerade noch seltsames aufgefallen ist, ist folgendes: wenn ich emerge -s gcc eingebe, zeigt er mir für gcc an:

Quote:
Latest version available: 3.3.5.20050130-r1
Latest version installed: 3.4.4-r1
Back to top
View user's profile Send private message
Anarcho
Advocate
Advocate


Joined: 06 Jun 2004
Posts: 2970
Location: Germany

PostPosted: Wed Sep 07, 2005 9:14 pm    Post subject: Reply with quote

Hast du auch das hier beachtet?

Code:
 If you updated to gcc-3.2.3, and the old CHOST was i586-pc-linux-gnu
    but you now have CHOST as i686-pc-linux-gnu, run:

      # fix_libtool_files.sh 3.2 --oldarch i586-pc-linux-gnu

    Note that if only the CHOST and not the version changed, you can run
    it with the current version and the '--oldarch <old-CHOST>' arguments,
    and it will do the expected:

      # fix_libtool_files.sh `gcc -dumpversion` --oldarch i586-pc-linux-gnu

_________________
...it's only Rock'n'Roll, but I like it!
Back to top
View user's profile Send private message
jamapii
l33t
l33t


Joined: 16 Sep 2004
Posts: 637

PostPosted: Thu Sep 08, 2005 4:37 pm    Post subject: Reply with quote

Ich setze CC=gcc und CXX=g++ in /etc/make.conf, dadurch funktioniert distcc bei gemischten CHOST. Mag sein, dass das ein "nicht ganz korrekter" Workaround ist. Aber analog dazu würde ich mal CC=gcc auf der command line setzen, wenn der Fehler auftaucht, damit sollte zumindest das emerge funktionieren.

Andererseits ist das ein guter Test: Solange der Fehler auftaucht, ist die CHOST-Migration nicht komplett.
Back to top
View user's profile Send private message
dR0PS
Tux's lil' helper
Tux's lil' helper


Joined: 27 Feb 2005
Posts: 116
Location: DE/Hamburg

PostPosted: Fri Sep 09, 2005 12:04 am    Post subject: Reply with quote

hab das ändern auch schon hinter mich gebracht, vielleicht hilft dir dieser beitrag auch noch weiter.

https://forums.gentoo.org/viewtopic-t-320206-highlight-.html

gruß
dR0PS
_________________

~x86 gentoo / zen-sources 2.6.36-zen1
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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