Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kdelibs - configure error
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
sidcarter
n00b
n00b


Joined: 11 Sep 2002
Posts: 10

PostPosted: Wed Sep 11, 2002 2:48 pm    Post subject: kdelibs - configure error Reply with quote

I keep getting this error whenever I try to emerge kde, which of course needs kdelibs and I get this error

checking for libjpeg6b... no
checking for libjpeg... -ljpeg
checking for Qt... configure: error: Qt (>= Qt 3.0.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: The ebuild did not complete successfully.
!!! Function kde_src_compile, Line -6663, Exitcode 1
!!! died running ./configure, kde_src_compile:configure

I have qt installed

saruman root # /usr/lib/portage/bin/pkglist | grep qt
x11-libs/qt-3.0.5-r2

Something wrong in my install ?
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Wed Sep 11, 2002 4:21 pm    Post subject: Re: kdelibs - configure error Reply with quote

Code:
checking for libjpeg6b... no
checking for libjpeg... -ljpeg
checking for Qt... configure: error: Qt (>= Qt 3.0.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: The ebuild did not complete successfully.
!!! Function kde_src_compile, Line -6663, Exitcode 1
!!! died running ./configure, kde_src_compile:configure
Same error here. I find it especially amusing because of the Security Announcement. I'm going to look into it later in the day. I've noticed alot of problems with people trying to install KDE lately. The consistancy of 'Line -6663, Exitcode 1' may be helpful.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
sidcarter
n00b
n00b


Joined: 11 Sep 2002
Posts: 10

PostPosted: Wed Sep 11, 2002 5:44 pm    Post subject: Re: kdelibs - configure error Reply with quote

kanuslupus wrote:
I'm going to look into it later in the day. I've noticed alot of problems with people trying to install KDE lately. The consistancy of 'Line -6663, Exitcode 1' may be helpful.


Trying it again. Lemme see ..what it does now. I get the same error.. and this is what I found in the log
Code:
configure:20918: rm -rf SunWS_cache; i686-pc-linux-gnu-g++ -o conftest -DNDEBUG
-DNO_DEBUG -O2 -O2 -mcpu=i686 -pipe -fno-exceptions -fno-check-new -I/usr/qt/3/i
nclude -I/usr/X11R6/include  -DQT_THREAD_SUPPORT  -D_REENTRANT  -L/usr/qt/3/lib
-L/usr/X11R6/lib   conftest.cc  -lqt-mt -lpng -lz -lm -ljpeg -ldl  -lXext -lX11
-lSM -lICE  -lresolv -lpthread 1>&5
/usr/i686-pc-linux-gnu/bin/ld: warning: libGL.so.1, needed by /usr/qt/3/lib/libq
t-mt.so, not found (try using -rpath or -rpath-link)
/usr/qt/3/lib/libqt-mt.so: undefined reference to `glXQueryServerString'
/usr/qt/3/lib/libqt-mt.so: undefined reference to `glColor3ub'
/usr/qt/3/lib/libqt-mt.so: undefined reference to `glIndexi'
/usr/qt/3/lib/libqt-mt.so: undefined reference to `glReadPixels'
/usr/qt/3/lib/libqt-mt.so: undefined reference to `glFlush'
/usr/qt/3/lib/libqt-mt.so: undefined reference to `glXQueryExtension'
/usr/qt/3/lib/libqt-mt.so: undefined reference to `glViewport'
/usr/qt/3/lib/libqt-mt.so: undefined reference to `glXDestroyGLXPixmap'
/usr/qt/3/lib/libqt-mt.so: undefined reference to `glDrawBuffer'
/usr/qt/3/lib/libqt-mt.so: undefined reference to `glXMakeCurrent'
/usr/qt/3/lib/libqt-mt.so: undefined reference to `glXQueryExtensionsString'
/usr/qt/3/lib/libqt-mt.so: undefined reference to `glXChooseVisual'
/usr/qt/3/lib/libqt-mt.so: undefined reference to `glXDestroyContext'
/usr/qt/3/lib/libqt-mt.so: undefined reference to `glXWaitX'
/usr/qt/3/lib/libqt-mt.so: undefined reference to `glClearColor'
/usr/qt/3/lib/libqt-mt.so: undefined reference to `glClearIndex'
/usr/qt/3/lib/libqt-mt.so: undefined reference to `glXGetClientString'
/usr/qt/3/lib/libqt-mt.so: undefined reference to `glXIsDirect'
/usr/qt/3/lib/libqt-mt.so: undefined reference to `glXSwapBuffers'
/usr/qt/3/lib/libqt-mt.so: undefined reference to `glXCreateContext'
/usr/qt/3/lib/libqt-mt.so: undefined reference to `glXGetConfig'
/usr/qt/3/lib/libqt-mt.so: undefined reference to `glXCreateGLXPixmap'
collect2: ld returned 1 exit status
configure:20921: $? = 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 >= 303)
#error 1
#endif

int main() {
    (void)QStyleFactory::create(QString::null);
    QCursor c(Qt::WhatsThisCursor);
    return 0;
}
configure:20960: error: Qt (>= Qt 3.0.3) (library qt-mt) not found. Please check
 your installation!


Ok....After typing this, I actually found out what could be the problem. I modified /etc/ld.so.conf to include the line where libGL.so could be found and the compile seems to go fine. Isn't this supposed to be taken care by the Xfree install ?
One other query, any particular reason, why libraries are scattered all over the place ?

My /etc/ld.so.conf looks something like this.
Code:
# ld.so.conf autogenerated by env-update; make all changes to
# contents of /etc/env.d directory
/usr/local/lib
/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3
/usr/lib/opengl/nvidia/lib
/usr/lib/opengl/xfree/lib/
/usr/X11R6/lib
/opt/blackdown-jre-1.3.1/lib/
/usr/qt/3/lib


That's a pretty big list. 8O Will post if the compile goes fine and installs
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Wed Sep 11, 2002 5:53 pm    Post subject: Reply with quote

What did you change? Other than the nvidia part, my config file isn't lacking anything in yours.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
sidcarter
n00b
n00b


Joined: 11 Sep 2002
Posts: 10

PostPosted: Wed Sep 11, 2002 6:35 pm    Post subject: Reply with quote

kanuslupus wrote:
What did you change? Other than the nvidia part, my config file isn't lacking anything in yours.


I added:
Code:
/usr/lib/opengl/xfree/lib/
Back to top
View user's profile Send private message
sidcarter
n00b
n00b


Joined: 11 Sep 2002
Posts: 10

PostPosted: Wed Sep 11, 2002 6:54 pm    Post subject: env-updates and stuff Reply with quote

ok....the /etc/ld.so.conf goes bonkers whenever an app is installed using emerge. So, I had to add one in /etc/env.d for gl and I hope it works now. :-|

Waiting for kde to compile....
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Wed Sep 11, 2002 8:41 pm    Post subject: Reply with quote

emerge unmerge kdelibs and qt didn't help (other than breaking arts).

The only consistant errors that keep showing up are similar to
Code:
/usr/i686-pc-linux-gnu/bin/ld: warning: liblcms.so.1, needed by /usr/lib/libmng.so.1, not found (try using -rpath or -rpath-link)
A few have been present in the /usr/lib directory. emerged media-libs/lcms to get this particular one.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Wed Sep 11, 2002 9:47 pm    Post subject: Reply with quote

>>> x11-libs/qt-2.3.2-r1 merged.

On to kdelibs
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Wed Sep 11, 2002 9:52 pm    Post subject: Re: env-updates and stuff Reply with quote

sidcarter wrote:
ok....the /etc/ld.so.conf goes bonkers whenever an app is installed using emerge. So, I had to add one in /etc/env.d for gl and I hope it works now. :-|

If "bonkers" means "gets overwritten automatically", I think this is because env-update gets run.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Wed Sep 11, 2002 11:31 pm    Post subject: Reply with quote

>>> x11-libs/qt-3.0.5-r2 merged.

kdelibs has just begun churning.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Thu Sep 12, 2002 12:45 am    Post subject: Reply with quote

>>> kde-base/kdelibs-3.0.3-r1 merged.

All seems well so far.
_________________
Quis separabit? Quo animo?
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