Bug 150516 - running configure gives error "you need to install kdelibs first"
Summary: running configure gives error "you need to install kdelibs first"
Status: RESOLVED INTENTIONAL
Alias: None
Product: kst
Classification: Applications
Component: general (show other bugs)
Version: 1.4.0
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-05 21:36 UTC by Andrew Walker
Modified: 2007-10-05 23:49 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Walker 2007-10-05 21:36:33 UTC
Version:           1.4.0 (using KDE KDE 3.5.1)
Installed from:    Compiled From Sources
OS:                Linux

The following is primarily for my own benefit as a record of how to avoid this problem:

PROBLEM:
When running
make -f Makefile.cvs
./configure --enable-debug --prefix=/usr

you amy encounter the error:
==============================
checking if UIC has KDE plugins available... no

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.
===============================

This is caused by (from config.log):

configure:31033: /usr/lib/qt-3.3/bin/uic -L /usr/lib/kde3/plugins/designer -nounload -impl actest.h actest.ui > actest.cpp
./configure: line 31034: 17660 Segmentation fault      /usr/lib/qt-3.3/bin/uic -L /usr/lib/kde3/plugins/designer -nounload -impl actest.h actest.ui >actest.cpp

This in turn is caused by the presence of:
/usr/lib/kde3/plugins/designer/kstwdigets.la
/usr/lib/kde3/plugins/designer/kstwidgets.so

Deleting these files solves the problem.
Comment 1 Andrew Walker 2007-10-05 21:37:20 UTC
If there is a better solution please let me know.

I'll close this bug report shortly.

Comment 2 Andrew Walker 2007-10-05 23:49:22 UTC
Work around has been described