Hi,

i have recently upgraded to 6.1, and a bit later trying to upgrade kde to 3.5.3.

The qt has been upgraded to qt-copy-3.3.6_2, and kdelibs builds and
installs successfully.

However the build of kdebase (and any other kde stuff) failed with the
UIC cannot find the KDE plugins error

I have looked around on the net, and this sort of problem has happened
to other people, even on other platforms. The fix is to replace
"s/klineedit/KLineEdit/" in the configure script.
This has happened to people as far back as 2002, so i'm not sure why
this bug has resurfaced.

This fix allows for configure to succeed, and compile start. However
it later fails with
/usr/X11R6/bin/uic -L /usr/local/lib/kde3/plugins/designer -nounload
-tr tr2i18n -i main_widget.h ./main_widget.ui > main_widget.cpp.temp ;
ret=$?;  /usr/local/bin/perl -pe "s,tr2i18n( \"\" ),QString::null,g"
main_widget.cpp.temp | /usr/local/bin/perl -pe "s,tr2i18n( \"\"\, \"\"
),QString::null,g" | /usr/local/bin/perl -pe
"s,image([0-9][0-9]*)_data,img\$1_main_widget,g" | /usr/local/bin/perl
-pe "s,: QWizard\(,: KWizard(,g" >> main_widget.cpp ; rm -f
main_widget.cpp.temp ; if test "$ret" = 0; then echo '#include
"main_widget.moc"' >> main_widget.cpp; else rm -f main_widget.cpp ;
exit $ret ; fi
if /bin/sh /usr/local/bin/libtool --silent --tag=CXX --mode=compile
c++ -DHAVE_CONFIG_H  -I. -I. -I../..  -I../../libkonq
-I/usr/local/include -I/usr/X11R6/include  -I/usr/local/include
-D_THREAD_SAFE -pthread -DQT_THREAD_SUPPORT   -I/usr/local/include
-I/usr/local/include  -I/usr/X11R6/include -D_GETOPT_H -D_THREAD_SAFE
-Wno-long-long -Wundef -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG
-O2 -O2 -fno-strict-aliasing -pipe -march=pentiumpro
-Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
-DQT_NO_TRANSLATION -D_GNU_SOURCE  -MT main_widget.lo -MD -MP -MF
".deps/main_widget.Tpo" -c -o main_widget.lo main_widget.cpp;  then mv
-f ".deps/main_widget.Tpo" ".deps/main_widget.Plo"; else rm -f
".deps/main_widget.Tpo"; exit 1; fi
main_widget.cpp: In constructor `MainWidget::MainWidget(QWidget*,
const char*, uint)':
main_widget.cpp:37: error: invalid use of undefined type `struct KPushButton'
main_widget.h:20: error: forward declaration of `struct KPushButton'
main_widget.cpp:38: error: invalid use of undefined type `struct KPushButton'
main_widget.h:20: error: forward declaration of `struct KPushButton'

.
.
.

this is in the
/usr/ports/x11/kdebase3/work/kdebase-3.5.3/kdepasswd/kcm
directory.

Sorry if this is covered elsewhere, but google at least did not pick
up any clues.

Thanks for your help,
Kostas
_______________________________________________
kde-freebsd mailing list
[email protected]
http://freebsd.kde.org/mailman/listinfo/kde-freebsd

Reply via email to