This may be because I don't the right versions of
supporting libs, but I can't get dbdesigner to compile
on my Mandrake 7.2 box. Here are the versions of
relevant packages on my system:
KDE 2.1
QT 1.4.4
QT2 2.2.4
Compilation chugs along for a good 10 minutes and then
fails at the following section:
echo '#include <klocale.h>' > metaseqedit.cpp
/usr/lib/qt2/bin/uic -tr i18n -i metaseqedit.h
./metaseqedit.ui | sed -e "s,i18n( \&quot;\&quot;
),QString::null,g" >> metaseqedit.cpp || rm -f
metaseqedit.cpp
echo '#include "metaseqedit.moc"' >> metaseqedit.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include
-I/usr/lib/qt2/include -I/usr/X11R6/include -O2
-fno-exceptions -fno-check-new -Wall -pedantic -W
-Wpointer-arith -Wmissing-prototypes -Wwrite-strings
-Wno-long-long -Wnon-virtual-dtor -fno-builtin -c
metaseqedit.cpp
metaseqedit.cpp: In method
`CmetaSeqEdit::CmetaSeqEdit(QWidget * = 0, const char *
= 0, bool = FALSE, unsigned int = 0)':
metaseqedit.cpp:75: invalid use of undefined type
`class KIntSpinBox'
metaseqedit.h:17: forward declaration of `class
KIntSpinBox'
metaseqedit.cpp:76: invalid use of undefined type
`class KIntSpinBox'
metaseqedit.h:17: forward declaration of `class
KIntSpinBox'
metaseqedit.cpp:77: invalid use of undefined type
`class KIntSpinBox'
metaseqedit.h:17: forward declaration of `class
KIntSpinBox'
metaseqedit.cpp:78: invalid use of undefined type
`class KIntSpinBox'
metaseqedit.h:17: forward declaration of `class
KIntSpinBox'
metaseqedit.cpp:79: invalid use of undefined type
`class KIntSpinBox'
metaseqedit.h:17: forward declaration of `class
KIntSpinBox'
metaseqedit.cpp:81: invalid use of undefined type
`class KIntSpinBox'
metaseqedit.h:17: forward declaration of `class
KIntSpinBox'
metaseqedit.cpp:82: invalid use of undefined type
`class KIntSpinBox'
metaseqedit.h:17: forward declaration of `class
KIntSpinBox'
metaseqedit.cpp:83: invalid use of undefined type
`class KIntSpinBox'
metaseqedit.h:17: forward declaration of `class
KIntSpinBox'
metaseqedit.cpp:85: invalid use of undefined type
`class KIntSpinBox'
metaseqedit.h:17: forward declaration of `class
KIntSpinBox'
metaseqedit.cpp:86: invalid use of undefined type
`class KIntSpinBox'
metaseqedit.h:17: forward declaration of `class
KIntSpinBox'
metaseqedit.cpp:87: invalid use of undefined type
`class KIntSpinBox'
metaseqedit.h:17: forward declaration of `class
KIntSpinBox'
make[3]: *** [metaseqedit.o] Error 1
make[3]: Leaving directory
`/home/dkm/dbdesigner/dbdesign'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/dkm/dbdesigner/dbdesign'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dkm/dbdesigner'
make: *** [all-recursive-am] Error 2
I tried adding --with-qt-libraries=/usr/lib/qt2 and
--with-qt-headers=/usr/include/qt2 with no success.
Attached is my config.log
Config.log from ./configure
Logged In: YES
user_id=116278
Same compile error on Slackware 8.
QT: 2.3.1
KDE 2.1.2
Logged In: NO
I got the same problem, too.
just add a line:
#include <knuminput.h>
into your src/metaseqedit.cpp and compile it again.
Logged In: YES
user_id=501
Try the patch at:
https://sourceforge.net/tracker/index.php?
func=detail&aid=461884&group_id=26414&atid=386967
Logged In: NO
File metaseqedit.h/metaseqedit.cpp missing #include <knuminput.h> declaration.