Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Qt Plugin installed by kdelibs is *ONLY* loadable [gelöst]
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
UTgamer
Veteran
Veteran


Joined: 10 Aug 2003
Posts: 1326
Location: Troisdorf (Köln) Deutschland

PostPosted: Fri Oct 12, 2007 8:52 am    Post subject: Qt Plugin installed by kdelibs is *ONLY* loadable [gelöst] Reply with quote

( @ Mods Überschriftenzeilen zu kurz)

Hallo,

egal was ich auch nach einem GCC-Update anstelle verschiedene Qt-Versionen und kdelibs emergen ok, aber jegliche KDE-Komponente nach kdelibs bieten mir diese Fehlermeldung:
Code:
checking whether uic supports -nounload ... yes
checking if Qt needs -ljpeg... no
checking for rpath... yes
checking for KDE... libraries /usr/kde/3.5/lib64, headers /usr/kde/3.5/include
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.


!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/kde-base/kdebase-data-3.5.7/work/kdebase-data-3.5.7/config.log
 *
 * ERROR: kde-base/kdebase-data-3.5.7 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   ebuild.sh, line 1334:   Called kde-meta_src_compile
 *   kde-meta.eclass, line 380:   Called kde_src_compile
 *   kde.eclass, line 170:   Called kde_src_compile 'all'
 *   kde.eclass, line 340:   Called kde_src_compile 'myconf' 'configure' 'make'
 *   kde.eclass, line 322:   Called econf '--without-java' '--with-x' '--enable-mitshm' '--with-xinerama' '--with-qt-dir=/usr/qt/3' '--enable-mt' '--with-qt-libraries=/usr/qt/3/lib64' '--disable-dependency-tracking' '--disable-debug' '--without-debug' '--disable-final' '--without-arts' '--prefix=/usr/kde/3.5' '--mandir=/usr/kde/3.5/share/man' '--infodir=/usr/kde/3.5/share/info' '--datadir=/usr/kde/3.5/share' '--sysconfdir=/usr/kde/3.5/etc' '--enable-libsuffix=64'
 *   ebuild.sh, line 591:   Called die
 *
 * econf failed


selbst das ausführen von "ldconfig" oder "export QTDIR=/usr/lib/qt4" oder "export PATH=$%QTDIR/bin:$PATH" machen keinen Unterschied.
Ich kann nach jeder Änderung auch Qt und kdelibs neu emergen, kde-Komponenten weigern sich das installierte kdelibs mit mit oben aufgeführter Fehlermeldung anzunehmen.

Wie kriege ich KDE-3.5.7 wieder für den neuen Kompiler gebaut?

[Edit]
Ich hatte vorher mit Qt dieses Problem:
http://www.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1&chap=3#doc_chap6
"Lack of `-fPIC' flag in the software to be built" Der angegebene Lösungsvorschlag half aber nicht weiter,
es half jedoch die neuesten binutils zu emergen. Ich muß dazu sagen das ich von GCC4.2.0 auf GCC-4.2.1 am upgraden bin. Also Qt kompiliert nun durch und kdelibs akzeptiert es wohl auch, aber eben alles weitere von KDE nicht.


[Edit]
https://bugs.gentoo.org/show_bug.cgi?id=81066
Der Bug scheint seit 2,5 Jahren aktuell zu sein. Im allerletzten Beitrag "Comment #84"
Diese Methode klappt, nur muß ich jetzt wohl jedesmal bevor ich irgendetwas was KDE nutzt vor emerge dies davorsetzen:
Code:
kde_cv_uic_plugins=yes emerge --resume

Das kann es ja wohl nicht auf Dauer sein :(
Hoffentlich funktioniert KDE auch wenn ich jetzt alles wieder mit dem neuen GCC-4.2.1 neu baue.
_________________
AMD Phenom II x4 >> CFLAGS="-march=amdfam10 -O2 -mmmx -msse3 -mfpmath=sse,387 -pipe -ffast-math" is stable and here in use.

Did Intel produce at any time bugfree HW?
http://www.urbanmyth.org/microcode/
http://www.heise.de/newsticker/meldung/91748


Last edited by UTgamer on Fri Oct 12, 2007 5:23 pm; edited 1 time in total
Back to top
View user's profile Send private message
Carlo
Developer
Developer


Joined: 12 Aug 2002
Posts: 3356

PostPosted: Fri Oct 12, 2007 11:04 am    Post subject: Re: Qt Plugin installed by kdelibs is *ONLY* loadable Reply with quote

UTgamer wrote:
Wie kriege ich KDE-3.5.7 wieder für den neuen Kompiler gebaut?

emerge --oneshot \<qt-4 \<kdelibs-4

UTgamer wrote:
[Edit]
Ich hatte vorher mit Qt dieses Problem:
http://www.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1&chap=3#doc_chap6
"Lack of `-fPIC' flag in the software to be built" Der angegebene Lösungsvorschlag half aber nicht weiter,
es half jedoch die neuesten binutils zu emergen. Ich muß dazu sagen das ich von GCC4.2.0 auf GCC-4.2.1 am upgraden bin. Also Qt kompiliert nun durch und kdelibs akzeptiert es wohl auch, aber eben alles weitere von KDE nicht.
[Edit]

Von dem "Lösungsvorschlag" solltest du unbedingt Abstand nehmen. Offensichtlich irgendein obskures Problem mit der toolchain in deinem Falle...

UTgamer wrote:
Das kann es ja wohl nicht auf Dauer sein :(

Leider doch. Der Grund ist in bug 81066 auch verlinkt.
_________________
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
UTgamer
Veteran
Veteran


Joined: 10 Aug 2003
Posts: 1326
Location: Troisdorf (Köln) Deutschland

PostPosted: Fri Oct 12, 2007 11:24 am    Post subject: Re: Qt Plugin installed by kdelibs is *ONLY* loadable Reply with quote

Carlo wrote:
UTgamer wrote:
Wie kriege ich KDE-3.5.7 wieder für den neuen Kompiler gebaut?

emerge --oneshot \<qt-4 \<kdelibs-4

UTgamer wrote:
[Edit]
Ich hatte vorher mit Qt dieses Problem:
http://www.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1&chap=3#doc_chap6
"Lack of `-fPIC' flag in the software to be built" Der angegebene Lösungsvorschlag half aber nicht weiter,
es half jedoch die neuesten binutils zu emergen. Ich muß dazu sagen das ich von GCC4.2.0 auf GCC-4.2.1 am upgraden bin. Also Qt kompiliert nun durch und kdelibs akzeptiert es wohl auch, aber eben alles weitere von KDE nicht.
[Edit]

Von dem "Lösungsvorschlag" solltest du unbedingt Abstand nehmen. Offensichtlich irgendein obskures Problem mit der toolchain in deinem Falle...

Ich hoffe du meintest mit "unbedingt Abstand nehmen" die Lösung aus dem howto und nicht die die mit den binutils.

Carlo wrote:
UTgamer wrote:
Das kann es ja wohl nicht auf Dauer sein :(

Leider doch. Der Grund ist in bug 81066 auch verlinkt.

8O
Kann man diese Einstellung auch irgendwo fest setzen, damit man sie nicht immer von Hand eingeben muß?


emerge --oneshot \<qt-4 \<kdelibs-4
^^ werde ich jetzt auch mal probieren.

Danke
_________________
AMD Phenom II x4 >> CFLAGS="-march=amdfam10 -O2 -mmmx -msse3 -mfpmath=sse,387 -pipe -ffast-math" is stable and here in use.

Did Intel produce at any time bugfree HW?
http://www.urbanmyth.org/microcode/
http://www.heise.de/newsticker/meldung/91748
Back to top
View user's profile Send private message
Carlo
Developer
Developer


Joined: 12 Aug 2002
Posts: 3356

PostPosted: Fri Oct 12, 2007 3:01 pm    Post subject: Re: Qt Plugin installed by kdelibs is *ONLY* loadable Reply with quote

UTgamer wrote:
Ich hoffe du meintest mit "unbedingt Abstand nehmen" die Lösung aus dem howto und nicht die die mit den binutils.

Selbstverständlich nicht letzteres.

UTgamer wrote:
Kann man diese Einstellung auch irgendwo fest setzen, damit man sie nicht immer von Hand eingeben muß?

Einstellung?!? Du brauchst nicht unbedingt ein Compilerupdate machen...
_________________
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
UTgamer
Veteran
Veteran


Joined: 10 Aug 2003
Posts: 1326
Location: Troisdorf (Köln) Deutschland

PostPosted: Fri Oct 12, 2007 3:49 pm    Post subject: Re: Qt Plugin installed by kdelibs is *ONLY* loadable Reply with quote

Carlo wrote:
UTgamer wrote:
Ich hoffe du meintest mit "unbedingt Abstand nehmen" die Lösung aus dem howto und nicht die die mit den binutils.

Selbstverständlich nicht letzteres.

Danke das beruhigt ungemein.
Carlo wrote:
UTgamer wrote:
Kann man diese Einstellung auch irgendwo fest setzen, damit man sie nicht immer von Hand eingeben muß?

Einstellung?!? Du brauchst nicht unbedingt ein Compilerupdate machen...

Ich baue gerade für jemanden anderes ein Gentoo Linux auf (ein Rechner hat momentan GCC-4.1.2 der andere GCC-4.2.1) und habe so gut wie die gleiche HW vor mir, 2* Athlon 64x2 mit 3800GHz. :)
Da dachte ich mir probiere doch mal aus solange diese HW noch bei mir steht ob ich mit dem neuen Kompiler auch soweit alles mit OpenMP kompilieren kann. Falls etwas absolut in die Hose gehen sollte kann ich vom anderen immer noch Notutilities wie z.B. coreutils, binutils, ... noch rüberkopieren und so das System retten. :D
Zudem habe ich dann auch direkt Vergleichswerte wenn solch ein System steht.

[Edit]
Wichtige KDE-Teile (~15%) lassen sich teilweise überhaupt garnicht übersetzen, ich wechse nun zurück zum bewährten GCC-4.1.2. War ein netter Spaß der mich sicher so 3-4 Tage für hin & zurück gekostet hat. Es hat überhaupt keinen Sinn als Einzelperson an dieser Stelle weiter zumachen. Eine Menge anderer Sachen habe ich dadurch aber wieder gelernt.
_________________
AMD Phenom II x4 >> CFLAGS="-march=amdfam10 -O2 -mmmx -msse3 -mfpmath=sse,387 -pipe -ffast-math" is stable and here in use.

Did Intel produce at any time bugfree HW?
http://www.urbanmyth.org/microcode/
http://www.heise.de/newsticker/meldung/91748
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