Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved]emerge Probleme mit qt4?
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
Kodiak
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jun 2004
Posts: 104

PostPosted: Thu Mar 22, 2007 2:38 pm    Post subject: [solved]emerge Probleme mit qt4? Reply with quote

Hallo zusammen,

seit ich mein KDE geupdatet habe, wurde qt4 gleich mit installiert. Allerdings scheinen einige qt Programme damit nicht wirklich laufen zu wollen (z.B. kaffeine). Der emerge bricht mit folgender Fehlermeldung ab:

Code:
checking for Qt... configure: error: Qt(>=3.3 and < 4.0) (library qt-mt) not found <snip>


Schön und gut, das klingt ja erstmal recht einleuchtend. Mir ist dann aufgefallen das qt4 ein qt3compatibility useflag hat, und ich habs damit einfach mal neu emerged in der Hoffnung das es etwas bringen würde. Aber Fehlanzeige. Kann man da irgendwas machen? Tatsächlich scheine ich die entsprechende qt3 library aber unter "/usr/qt/3/lib/" vorliegen zu haben, jedenfalls befinden sich dort mehrere Dateien mit dem namen libqt-mt und laut Fehlermeldung verwendet er auch tatsächlich "/usr/qt/3/lib" als Parameter beim emerge.


Last edited by Kodiak on Fri Mar 23, 2007 3:14 pm; edited 1 time in total
Back to top
View user's profile Send private message
franzf
Advocate
Advocate


Joined: 29 Mar 2005
Posts: 4565

PostPosted: Thu Mar 22, 2007 2:55 pm    Post subject: Reply with quote

Hi,

Das aktuell im Portage befindliche kde und sämtliche kde-Programme brauche Qt3!
Ein parallel installiertes Qt4 sollte eigentlich keine Konflikte auslösen (qt ist ja geslottet).

Versuch vielleicht mal ein revdep-rebuild, ansonsten wäre die Ausgabe eines
Code:
emerge -pv kaffeine =qt-3*

interessant.

Hast du denn mit allen kde-Programmen Probleme, oder nur kaffeine?

Das qt3support-Flag bezieht sich auf Qt4-Programme:
Die Q3Support-Library erleichtert es Programmierern, ihre Programme von Qt3 nach Qt4 zu portieren, ohne dass sie alles neu schreiben müssten. Ist also für dich uninteressant, außer du willst ein Programm installieren, welches unbedingt dieses Feature braucht.

Grüße
Franz
Back to top
View user's profile Send private message
Kodiak
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jun 2004
Posts: 104

PostPosted: Thu Mar 22, 2007 3:29 pm    Post subject: Reply with quote

Warum installiert er dann überhaupt erst qt4 wenn das aktuelle KDE eigentlich qt3 will? Ich habs nicht aus einer bewussten Entscheidung her rauf gepackt. Und ich hatte das auch schon mit anderen Programmen die ich installieren wollte. z.B. ktorrent oder gtk-engines-qt

emerge -pv kaffeine =qt-3* output:
Code:

[ebuild   R   ] media-video/kaffeine-0.8.3  USE="arts encode gstreamer vorbis -debug -dvb -kdehiddenvisibility -xinerama" 0 kB
[ebuild   R   ] x11-libs/qt-3.3.6-r4  USE="cups gif ipv6 mysql -debug -doc -examples -firebird -immqt -immqt-bc -nas -nis -odbc -opengl* -postgres -sqlite -xinerama" 0 kB


revdep-rebuild wird wohl nicht helfen, da ich das erst vor kurzem gemacht habe. Um genau zu sein, hat er schon dabei die Fehlermeldung ausgespuckt.
Und gut das mit dem qt3support-Flag zu wissen. Na ja, jetzt ist es erstmal drinne, wird wohl nicht schaden :)
Back to top
View user's profile Send private message
Vortex375
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1739
Location: Deutschland

PostPosted: Thu Mar 22, 2007 3:40 pm    Post subject: Reply with quote

Mach am besten nochmal ein emerge =qt-3* (also installier qt3 nochmal neu) und mach anschließend nochmal ein revdep-rebuild, damit eventuell gegen qt3 gelinkte und nun defekte Programme neu installiert werden.

Weil hier stimmt was nicht:
Code:
checking for Qt... configure: error: Qt(>=3.3 and < 4.0)

obwohl qt installiert installiert ist:
Code:
[ebuild   R   ] x11-libs/qt-3.3.6-r4
Back to top
View user's profile Send private message
Kodiak
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jun 2004
Posts: 104

PostPosted: Thu Mar 22, 2007 4:41 pm    Post subject: Reply with quote

Ok, das hat erstmal weiter geholfen. Allerdings beschwert er sich jetzt darüber, das meine kdelibs nicht mit der selben qt Version kompiliert sind, die er jetzt verwenden will

Code:
checking if UIC has KDE plugins available... no
configure: error:
you need to install kdelibs first.

If you did install kdelibs, then the Qt version that is picked up by
this configure is not the same version you used to compile kdelibs.
The Qt Plugin installed by kdelibs is *ONLY* loadable if it is the
_same Qt version_, compiled with the _same compiler_ and the same Qt
configuration settings.


Sprich, ich darf jetzt wohl die kdelibs neu bauen... man, zum Glück muss mein alters schwaches Notebook nicht alleine ackern :) Ich hoffe mal das ganze endet nicht damit, das ich KDE nochmal komplett neu bauen muss...
Back to top
View user's profile Send private message
Carlo
Developer
Developer


Joined: 12 Aug 2002
Posts: 3356

PostPosted: Thu Mar 22, 2007 6:58 pm    Post subject: Reply with quote

Kodiak wrote:
Warum installiert er dann überhaupt erst qt4 wenn das aktuelle KDE eigentlich qt3 will?

Ein uralter Bug in Portage...

Kodiak wrote:
Allerdings beschwert er sich jetzt darüber, das meine kdelibs nicht mit der selben qt Version kompiliert sind, die er jetzt verwenden will

Das liegt an einer Eigenheit von Qt 3.
_________________
Please make sure that you have searched for an answer to a question after reading all the relevant docs.
Back to top
View user's profile Send private message
Kodiak
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jun 2004
Posts: 104

PostPosted: Fri Mar 23, 2007 2:52 pm    Post subject: Reply with quote

Ok, nachdem ich jetzt qt3 und die kdelibs zweimal durch kompilieren musste, klappt das jetzt alles wieder. Jetzt muss ich ihn nur wieder dazu bekommen das er nicht mehr qt4 emergen will.

edit: ok, hab endlich den richtigen package.mask Eintrag raus bekommen :)
Back to top
View user's profile Send private message
Child_of_Sun_24
Guru
Guru


Joined: 28 Jul 2004
Posts: 578

PostPosted: Mon Mar 26, 2007 4:49 am    Post subject: Reply with quote

setz doch einfach die use flags -qt4 und qt3.

CoS24
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