Bug 150516

Summary: running configure gives error "you need to install kdelibs first"
Product: [Applications] kst Reporter: Andrew Walker <arwalker>
Component: generalAssignee: kst
Status: RESOLVED INTENTIONAL    
Severity: normal    
Priority: NOR    
Version: 1.4.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

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