[Bug 66118] New: kdevelop cvs does not compile against kde cvs due to problem with kdockwidget_compat
Nick Brown
nicbrown at cisco.com
Thu Oct 16 15:49:15 UTC 2003
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=66118
Summary: kdevelop cvs does not compile against kde cvs due to
problem with kdockwidget_compat
Product: kdevelop
Version: unspecified
Platform: Compiled Sources
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: kdevelop-devel at kdevelop.org
ReportedBy: nicbrown at cisco.com
Version: (using KDE Devel)
Installed from: Compiled sources
OS: Linux
I have used the below method to build the latest KDE etc from CVS.
It all went great except for the final package kdevelop.
(All other packages build/installed fine and I've been using them just fine).
The error I'm seeing during the "make >& make.log" for kdevelop is below.
<Error seen>
Making all in qextmdi
make[3]: Entering directory `/home/kdedevel/kdecvs/build/kdevelop/lib/qextmdi'
if /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I../../../../source/kdevelop/lib/qextmdi -I../.. -I../../../../source/kdevelop/lib/qextmdi/res -I../../../../source/kdevelop/lib/structure -I/home/kdedevel/kdecvs/install/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -fno-builtin -g -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -MT kmdimainfrm.lo -MD -MP -MF ".deps/kmdimainfrm.Tpo" \
-c -o kmdimainfrm.lo `test -f '../../../../source/kdevelop/lib/qextmdi/kmdimainfrm.cpp' || echo '../../../../source/kdevelop/lib/qextmdi/'`../../../../source/kdevelop/lib/qextmdi/kmdimainfrm.cpp; \
then mv -f ".deps/kmdimainfrm.Tpo" ".deps/kmdimainfrm.Plo"; \
else rm -f ".deps/kmdimainfrm.Tpo"; exit 1; \
fi
../../../../source/kdevelop/lib/qextmdi/kmdimainfrm.cpp: In member function `virtual KMdiToolViewAccessor* KMdiMainFrm::addToolWindow(QWidget*, KDockWidget::DockPosition, QWidget*, int, const QString&, const QString&)':
../../../../source/kdevelop/lib/qextmdi/kmdimainfrm.cpp:524: warning: unused variable `const QPixmap&wndIcon'
../../../../source/kdevelop/lib/qextmdi/kmdimainfrm.cpp:526: warning: unused variable `KDockWidget*pCover'
../../../../source/kdevelop/lib/qextmdi/kmdimainfrm.cpp: In member function `virtual void KMdiMainFrm::removeWindowFromMdi(KMdiChildView*)':
../../../../source/kdevelop/lib/qextmdi/kmdimainfrm.cpp:741: warning: unused parameter `KMdiChildView*pWnd'
../../../../source/kdevelop/lib/qextmdi/kmdimainfrm.cpp: In member function `QStringList KMdiMainFrm::prepareIdealToTabs(KMdiDockWidget*)':
../../../../source/kdevelop/lib/qextmdi/kmdimainfrm.cpp:1867: error: `containedWidgets' undeclared (first use this function)
../../../../source/kdevelop/lib/qextmdi/kmdimainfrm.cpp:1867: error: (Each undeclared identifier is reported only once for each function it appears in.)
../../../../source/kdevelop/lib/qextmdi/kmdimainfrm.cpp: In member function `void KMdiMainFrm::idealToolViewsToStandardTabs(QStringList, KDockWidget::DockPosition, int)':
../../../../source/kdevelop/lib/qextmdi/kmdimainfrm.cpp:1878: warning: unused parameter `int size'
../../../../source/kdevelop/lib/qextmdi/kmdimainfrm.cpp: In member function `void KMdiMainFrm::setActiveToolDock(KMdiDockContainer*)':
../../../../source/kdevelop/lib/qextmdi/kmdimainfrm.cpp:2524: warning: unused variable `int offset'
../../../../source/kdevelop/lib/qextmdi/kmdimainfrm.cpp: In member function `void KMdiMainFrm::removeFromActiveDockList(KMdiDockContainer*)':
../../../../source/kdevelop/lib/qextmdi/kmdimainfrm.cpp:2536: warning: unused variable `int i2'
make[3]: *** [kmdimainfrm.lo] Error 1
make[3]: Leaving directory `/home/kdedevel/kdecvs/build/kdevelop/lib/qextmdi'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/kdedevel/kdecvs/build/kdevelop/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/kdedevel/kdecvs/build/kdevelop'
make: *** [all] Error 2
<Error seen>
<Method used>
#Build Qt
su - kdedevel
mkdir kdecvs && cd kdecvs && mkdir source build install
cd source
export CVSROOT=:pserver:anonymous at anoncvs.kde.org:/home/kde
cvs login
cvs co qt-copy
cd qt-copy
make -f Makefile.cvs
cd ../../build/ && mkdir qt-copy
cd qt-copy
export QTDIR=/home/kdedevel/kdecvs/build/qt-copy
export PATH=$QTDIR/bin:$PATH
export LD_LIBRARY_PATH=$QTDIR/lib
../../source/qt-copy/configure -system-zlib -qt-gif -system-libpng -system-libjpeg -plugin-imgfmt-mng -thread -no-stl -no-exceptions -debug -prefix ~/kdecvs/install
make sub-tools >& make.log
make install >& make-install.log
exit
#Build KDE packages
su - kdedevel
export QTDIR=/home/kdedevel/kdecvs/install
export KDEDIR=/home/kdedevel/kdecvs/install
export PATH=$QTDIR/bin:$KDEDIR/bin:$PATH
export LD_LIBRARY_PATH=LD_LIBRARY_PATH=$QTDIR/lib:$KDEDIR/lib
export CVSROOT=:pserver:anonymous at anoncvs.kde.org:/home/kde
cvs login
cd kdecvs/source
PACKAGES="arts kdelibs kdebase kdenetwork kdepim kdegraphics kdeutils kdetoys kdeadmin kdesdk kdegames kdemultimedia kdeaddons kdevelop"
cvs co $PACKAGES
cd ..
for package in $PACKAGES
do
cd source/$package
make -f Makefile.cvs
cd ../../build
mkdir $package
cd $package
../../source/$package/configure --enable-debug=yes --enable-closure --prefix=/home/kdedevel/kdecvs/install
make >& make.log
make install >& make-install.log
cd ../../
done
exit
<Method used>
More information about the KDevelop-devel
mailing list