View previous topic :: View next topic |
Author |
Message |
_lucky_ n00b
Joined: 15 Jun 2002 Posts: 31 Location: Innsbruck / Austria
|
Posted: Tue Jun 25, 2002 10:31 pm Post subject: Problems with qt |
|
|
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 |
|
|
mksoft l33t
Joined: 28 May 2002 Posts: 844
|
Posted: Tue Jun 25, 2002 11:30 pm Post subject: |
|
|
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 |
|
|
_lucky_ n00b
Joined: 15 Jun 2002 Posts: 31 Location: Innsbruck / Austria
|
Posted: Tue Jun 25, 2002 11:37 pm Post subject: |
|
|
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 |
|
|
mksoft l33t
Joined: 28 May 2002 Posts: 844
|
Posted: Wed Jun 26, 2002 7:23 am Post subject: |
|
|
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 |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Wed Jun 26, 2002 5:45 pm Post subject: |
|
|
moving to desktop forum.
--kurt _________________ The problem with political jokes is that they get elected |
|
Back to top |
|
|
_lucky_ n00b
Joined: 15 Jun 2002 Posts: 31 Location: Innsbruck / Austria
|
Posted: Wed Jun 26, 2002 8:45 pm Post subject: |
|
|
I'm a little bit confused...
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 |
|
|
mksoft l33t
Joined: 28 May 2002 Posts: 844
|
Posted: Wed Jun 26, 2002 9:17 pm Post subject: |
|
|
_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 |
|
|
_lucky_ n00b
Joined: 15 Jun 2002 Posts: 31 Location: Innsbruck / Austria
|
Posted: Wed Jun 26, 2002 10:10 pm Post subject: |
|
|
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 |
|
|
andee n00b
Joined: 04 Jun 2002 Posts: 41
|
Posted: Wed Jun 26, 2002 10:41 pm Post subject: |
|
|
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 |
|
|
_lucky_ n00b
Joined: 15 Jun 2002 Posts: 31 Location: Innsbruck / Austria
|
Posted: Thu Jun 27, 2002 3:32 pm Post subject: |
|
|
Thanks,
I removed those and it worked!! |
|
Back to top |
|
|
Tatonet n00b
Joined: 26 Apr 2002 Posts: 16 Location: Rome - Italy
|
Posted: Fri Jun 28, 2002 10:18 pm Post subject: |
|
|
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 |
|
|
andee n00b
Joined: 04 Jun 2002 Posts: 41
|
Posted: Sat Jun 29, 2002 12:30 am Post subject: |
|
|
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 |
|
|
krivi n00b
Joined: 29 Jul 2003 Posts: 6 Location: Odense, Denmark
|
Posted: Fri Nov 14, 2003 11:49 pm Post subject: |
|
|
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 |
|
|
|