Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems with qt
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
_lucky_
n00b
n00b


Joined: 15 Jun 2002
Posts: 31
Location: Innsbruck / Austria

PostPosted: Tue Jun 25, 2002 10:31 pm    Post subject: Problems with qt Reply with quote

Hello,

I tried to emerge mosfet-liquid-widgets and got the error:

checking for Qt... configure: error: Qt (>= Qt 3.0.2) (library qt-mt) not found.

Ok. So I emerged qt 3.0.4 and tried again and got the same error. After that I tried an emerge world and got the same error again when emerging the package kde-base/arts-1.0.1.20020604

Any suggestions?
Back to top
View user's profile Send private message
mksoft
l33t
l33t


Joined: 28 May 2002
Posts: 844

PostPosted: Tue Jun 25, 2002 11:30 pm    Post subject: Reply with quote

Maybe you have QT 2.X installed as well and the configure script picks it up, failing as a result :?:

Check where QTDIR env var points.
_________________
There's someone in my head but it's not me - Pink Floyd
Back to top
View user's profile Send private message
_lucky_
n00b
n00b


Joined: 15 Jun 2002
Posts: 31
Location: Innsbruck / Austria

PostPosted: Tue Jun 25, 2002 11:37 pm    Post subject: Reply with quote

echo $QTDIR
/usr/qt/3

I think that should be ok?

I looked also into the /usr/qt directory and there is only version 3.
Back to top
View user's profile Send private message
mksoft
l33t
l33t


Joined: 28 May 2002
Posts: 844

PostPosted: Wed Jun 26, 2002 7:23 am    Post subject: Reply with quote

check that /etc/ld.so.conf contains /usr/qt/3/lib.

Otherwise try to build liquid by yourself and see in config's output (config.log) where it fails. To do this, follow the steps in the FAQ under the entry "I want to perform the ./configure step myself. Can I? ".

After you unpack, run the ./configure script and search in config.log the cause of the error.
_________________
There's someone in my head but it's not me - Pink Floyd
Back to top
View user's profile Send private message
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Wed Jun 26, 2002 5:45 pm    Post subject: Reply with quote

moving to desktop forum.

--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
_lucky_
n00b
n00b


Joined: 15 Jun 2002
Posts: 31
Location: Innsbruck / Austria

PostPosted: Wed Jun 26, 2002 8:45 pm    Post subject: Reply with quote

I'm a little bit confused... :D

I run the configure script by myself and get no error, but if I try to emerge (I think emerge has to run the same configure, or not?) I get the error. In the config.log I found

Code:
configure:9621: rm -rf SunWS_cache; i686-pc-linux-gnu-g++ -o conftest -DNDEBUG $
/tmp/ccwZmOVz.o: In function `main':
/tmp/ccwZmOVz.o(.text+0x11): undefined reference to `QString::null'
/tmp/ccwZmOVz.o(.text+0x16): undefined reference to `QStyleFactory::create(QStr$
/tmp/ccwZmOVz.o(.text+0x20): undefined reference to `QCursor::QCursor(int)'
/tmp/ccwZmOVz.o(.text+0x28): undefined reference to `QCursor::~QCursor()'
collect2: ld returned 1 exit status
configure:9624: $? = 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 >= 302)
#error 1
#endif

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


thanks for any help
Back to top
View user's profile Send private message
mksoft
l33t
l33t


Joined: 28 May 2002
Posts: 844

PostPosted: Wed Jun 26, 2002 9:17 pm    Post subject: Reply with quote

_lucky_ wrote:
I run the configure script by myself and get no error, but if I try to emerge (I think emerge has to run the same configure, or not?) I get the error.


Try to look at the ebuild to see what flags are passed to configure (may be different according to your USE var).
_________________
There's someone in my head but it's not me - Pink Floyd
Back to top
View user's profile Send private message
_lucky_
n00b
n00b


Joined: 15 Jun 2002
Posts: 31
Location: Innsbruck / Austria

PostPosted: Wed Jun 26, 2002 10:10 pm    Post subject: Reply with quote

I looked into into the mosfet ebuild and there are no flags passed. Are there any other config files that could contain parameters for emerge / configure and overwrite my environment vars ?
Back to top
View user's profile Send private message
andee
n00b
n00b


Joined: 04 Jun 2002
Posts: 41

PostPosted: Wed Jun 26, 2002 10:41 pm    Post subject: Reply with quote

Hi _lucky_

I think your problem is this symlink: i686-pc-linux-gnu-g++, looked at the end of config.log and you see that this is what cannot be found.
Remove the symlink and u should be ok unless you have another symlink like that (symlink i686-pc-linux-gnu-c++ for example). I had those two and had the same errors like you when I wanted to emerge kdebase after removing them I was able to emerge kdebase at last.

gl ;)
Back to top
View user's profile Send private message
_lucky_
n00b
n00b


Joined: 15 Jun 2002
Posts: 31
Location: Innsbruck / Austria

PostPosted: Thu Jun 27, 2002 3:32 pm    Post subject: Reply with quote

Thanks,

I removed those and it worked!! :lol:
Back to top
View user's profile Send private message
Tatonet
n00b
n00b


Joined: 26 Apr 2002
Posts: 16
Location: Rome - Italy

PostPosted: Fri Jun 28, 2002 10:18 pm    Post subject: Reply with quote

Hi, I got exactly the same error after upgrading to gcc 3.1-r6.
I think it haven't the same cause: config.log does not show any error about links. Moreover /usr/bin/i686-pc-linux-gnu-g++ and /usr/bin/i686-pc-linux-gnu-c++ are "real" executables on my system, not symlinks.
What's up?
Thanks very much!
Back to top
View user's profile Send private message
andee
n00b
n00b


Joined: 04 Jun 2002
Posts: 41

PostPosted: Sat Jun 29, 2002 12:30 am    Post subject: Reply with quote

Hi Tatonet

I don't use gcc-3.1 (2.95 here) and /usr/bin/i686-pc-linux-gnu-g++ and /usr/bin/i686-pc-linux-gnu-c++ were symlinks for me I'd made to use ccache.
Try not to use /usr/bin/i686-pc-linux-gnu-g++ and /usr/bin/i686-pc-linux-gnu-c++ (rename it for that time) while emerging that package (maybe it doesn't like it)

best luck ;)
Back to top
View user's profile Send private message
krivi
n00b
n00b


Joined: 29 Jul 2003
Posts: 6
Location: Odense, Denmark

PostPosted: Fri Nov 14, 2003 11:49 pm    Post subject: Reply with quote

Hi,


I found that having done most of the things to patch the hole(s) leading to the QT qcursor-related error(s), the command:

opengl-update xfree

did the trick for arts and kdelibs, so far!
_________________
Regards/Hilsen
Jens Villadsen
Odense, Denmark
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