Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems installing arts-1.3.0
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
thirteen
n00b
n00b


Joined: 25 Mar 2003
Posts: 39

PostPosted: Sat Sep 25, 2004 9:48 am    Post subject: Problems installing arts-1.3.0 Reply with quote

Hi,

Seem to be having a problem installing the new KDE 3.3 onto my system. I have qt-3.3.3-r1 installed and it is compiled with multi threading support, however whenever I try and emerge -up kde arts quits out complaining that I either don't have qt >= 3.3.0 or mt support is disabled. The error message is:

Code:
checking for Qt... configure: error: Qt (>= Qt 3.3) (library qt-mt) not found. Please check your installation!
For more details about this problem, look at the end of config.log.
Make sure that you have compiled Qt with thread support!

!!! ERROR: kde-base/arts-1.3.0 failed.
!!! Function kde_src_compile, Line 130, Exitcode 1
!!! died running ./configure, kde_src_compile:configure
!!! If you need support, post the topmost build error, NOT this status message.


When I look in the config.log I find this:

Code:
configure:31670: rm -rf SunWS_cache; g++ -o conftest -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -march=opteron -O2 -pipe -fomit-frame-pointer -frename-registers -ftracer -fweb -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -I/usr/qt/3/include -I/usr/X11R6/include  -DQT_THREAD_SUPPORT  -D_REENTRANT  -L/usr/qt/3/lib -L/usr/X11R6/lib64   conftest.cc  -lqt-mt -lpng -lz -lm -ljpeg -ldl  -lXext -lX11 -lSM -lICE  -lpthread 1>&5
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lqt-mt
collect2: ld returned 1 exit status
configure:31673: $? = 1
configure: failed program was:
#include "confdefs.h"
#include <qglobal.h>
#include <qapplication.h>
#include <qcursor.h>
#include <qstylefactory.h>
#include <private/qucomextra_p.h>
#if ! (QT_VERSION >= 0x030300)
#error 1
#endif

int main() {
    (void)QStyleFactory::create(QString::null);
    QCursor c(Qt::WhatsThisCursor);
    return 0;
}
configure:31713: error: Qt (>= Qt 3.3) (library qt-mt) not found. Please check your installation!
For more details about this problem, look at the end of config.log.
Make sure that you have compiled Qt with thread support!


Everything looks ok in my env.d directory, I have a file 45qt3 that seems to have the correct entries:

Code:
PATH=/usr/qt/3/bin
ROOTPATH=/usr/qt/3/bin
LDPATH=/usr/qt/3/lib
QMAKESPEC=linux-g++
MANPATH=/usr/qt/3/doc/man


And also in my /usr/qt/3/lib directory I seem to have the correct libraries:

Code:
opteron env.d # ls /usr/qt/3/lib
lib                libqassistantclient.a  libqt-mt.so.3.3.3  libqui.so.1.0
libdesignercore.a  libqt-mt.la            libqui.so          libqui.so.1.0.0
libeditor.a        libqt-mt.so.3          libqui.so.1


Also checked in my ld.so.conf file and the /usr/qt/3/lib directory is all correct and present there too.

Has anyone run into any issues like this before? Anyone got any ideas where things may be borked?

Thanks.
Back to top
View user's profile Send private message
Zviratko
Tux's lil' helper
Tux's lil' helper


Joined: 21 Feb 2004
Posts: 106
Location: Prague, Czech Republic

PostPosted: Sun Sep 26, 2004 11:09 am    Post subject: Reply with quote

I just encountered the same thing, there were two problems I think

1) /usr/qt/3/lib symlink was wrong (thus qt-mt was not in ld cache)
2) i reemerged binutils and voilla, it works :)

not sure which step fixed it... but i suppose it was both
Back to top
View user's profile Send private message
servermonk
Apprentice
Apprentice


Joined: 07 Nov 2003
Posts: 182
Location: MI

PostPosted: Sun Sep 26, 2004 5:24 pm    Post subject: Reply with quote

have you tried re-emergeing Qt?
_________________
Gentoo makes me wanna shoop.
Back to top
View user's profile Send private message
thirteen
n00b
n00b


Joined: 25 Mar 2003
Posts: 39

PostPosted: Mon Sep 27, 2004 3:34 pm    Post subject: Reply with quote

Have tried re-emerging qt. May unmerge and emerge again but will try to re-emerge binutils first tonight and see if that helps.

Fingers crossed! and thanks for the replies.
Back to top
View user's profile Send private message
yamakawa
Guru
Guru


Joined: 28 Jul 2003
Posts: 340

PostPosted: Thu Oct 07, 2004 9:18 pm    Post subject: Reply with quote

How did it go?
I just have the same trouble with the same versions.
Not solved even after reemerging Qt and emerging arts. :(
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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