configure script fails on Kdevelop 1.1-beta2 on Redhat 6.1 , please help.

Benno Senoner sbenno at gardena.net
Thu Mar 2 09:45:36 GMT 2000


Hi,

I installed the kdevelop-1.1beta2 RPM on a  Redhat 6.1 linux box,
which was updated with all rpms available on updates.redhat.com.
(rpm -F *.rpm  )

I followed all instructions and installed all kdevelop-related RPMS,
(kdbg , sgmltools etc, I followed the kdevelop-on-redhat-6.0 howto and
made the symolik link in opt:  /opt/kde points to /usr

kdevelop works (I installed the 1.1-beta2 RPM) but as soon I try to build a 
small application , the ./configure scripts fails

seems that it fails at line 3858
at the command

ac_link='/bin/sh ./libtool --mode=link ${CXX-g++} -o conftest $CXXFLAGS $all_includes 
$CPPFLAGS $LDFLAGS $all_libraries conftest.$ac_ext $LIBS -lkdecore -lqt -lXext
-lX11 $LIBSOCKET $KDE_TEST_RPATH 1>&5'

which expands to:

/bin/sh ./libtool --mode=link g++ -o conftest -O2 -Wall -I/usr/include/kde -I/usr/lib/qt-2.0.1/include 
 -I/usr/X11R6/include  -s -L/usr/lib -L/usr/lib/qt-2.0.1/lib  -L/usr/X11R6/lib
conftest.C  -lkdecore -lqt -lXext -lX11  -rpath /usr/lib -rpath
/usrq/lib/qt-2.0.1/lib -rpath /usr/X11R6/lib

when I try to run this command manually it gives me the following errors:

/usr/lib/libkdecore.so: undefined reference to `QComboBox::insertItem(char const *, int)'
/usr/lib/libkdecore.so: undefined reference to `darkMagenta'
/usr/lib/libkdecore.so: undefined reference to `QDir::exists(char const *, bool)'
/usr/lib/libkdecore.so: undefined reference to `QFont::QFont(char const *, int, int, bool)'
/usr/lib/libkdecore.so: undefined reference to `darkBlue'
/usr/lib/libkdecore.so: undefined reference to `QString::contains(char, bool) const'
/usr/lib/libkdecore.so: undefined reference to `QGDict::hashKey(char const *)'
/usr/lib/libkdecore.so: undefined reference to `QDir::QDir(char const *, char const *
..
..
..


Is this because an incompatibility between my kdecore and qt-2.0.1 ?
these are my qt rpms (installed by default on RH 6.1)

qt-2.0.1-5
qt1x-1.44-4
qt1x-devel-1.44-4
qt-devel-2.0.1-5

these are my KDE RPMs

kdesupport-1.1.2-3
kdeadmin-1.1.2-3
kdetoys-1.1.2-2
kdegames-1.1.2-2
kdegraphics-1.1.2-2
kdelibs-1.1.2-9
kdeutils-1.1.2-2
switchdesk-kde-1.7.1-1
kdebase-1.1.2-10
kdelibs-devel-1.1.2-9
kdemultimedia-1.1.2-3
kdenetwork-1.1.2-4
kdevelop-c_c++_ref-0.1-1
kdevelop-1.1beta2-1


I am still confused what's wrong with my system since , it is a standard redhat
6.1 + updates.

Can someone please give me an advice how to fix this ?
(so that kdevelop generates correct ./configure scripts ?)

regards,
Benno.






More information about the KDevelop mailing list