Hello, I'm compiling kdevelop SVN 1260895 on
RHEL6/Fedora 15 with CMAKE.
But it fails as shown below:
===========
[ 83%] Building CXX object
languages/sql/CMakeFiles/libkdevsqlsupport-module.dir/sqlconfigwidget.cpp.o
cd /home/albator/rpmbuild/BUILD/kdevelop/build/languages/sql &&
/usr/lib64/ccache/c++ -Dlibkdevsqlsupport_module_EXPORTS
-DHAVE_CONFIG_H -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL
-DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -O2
-g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -Wno-deprecated -include
tqt.h -fPIC -I/home/albator/rpmbuild/BUILD/kdevelop/build/languages/sql
-I/home/albator/rpmbuild/BUILD/kdevelop/lib/interfaces
-I/home/albator/rpmbuild/BUILD/kdevelop/lib/interfaces/extensions
-I/home/albator/rpmbuild/BUILD/kdevelop/lib/interfaces/external
-I/home/albator/rpmbuild/BUILD/kdevelop/lib/util -I/opt/trinity/include
-I/usr/lib64/qt-3.3/include -I/opt/trinity/include/tqt -include tqt.h
-o CMakeFiles/libkdevsqlsupport-module.dir/sqlconfigwidget.cpp.o -c
/home/albator/rpmbuild/BUILD/kdevelop/build/languages/sql/sqlconfigwidget.cpp
In file included from
/home/albator/rpmbuild/BUILD/kdevelop/build/languages/sql/sqlconfigwidget.cpp:24:
/home/albator/rpmbuild/BUILD/kdevelop/build/languages/sql/sqlconfigwidget.ui.h:22:29:
error: sqlsupport_part.h: No such file or directory
===========
and then
===========
[ 93%] Building CXX object
kdevdesigner/designer/CMakeFiles/libkdevdesignerpart-module.dir/listeditor.cpp.o
cd /home/albator/rpmbuild/BUILD/kdevelop/build/kdevdesigner/designer &&
/usr/lib64/ccache/c++ -Dlibkdevdesignerpart_module_EXPORTS
-DHAVE_CONFIG_H -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL
-DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT
-DDESIGNER -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
-Wno-deprecated -include tqt.h -fPIC
-I/home/albator/rpmbuild/BUILD/kdevelop/build/kdevdesigner/designer
-I/home/albator/rpmbuild/BUILD/kdevelop/kdevdesigner/designer
-I/home/albator/rpmbuild/BUILD/kdevelop/kdevdesigner/shared
-I/home/albator/rpmbuild/BUILD/kdevelop/lib/interfaces/external
-I/opt/trinity/include -I/usr/lib64/qt-3.3/include
-I/opt/trinity/include/tqt -include tqt.h -UQT_NO_ASCII_CAST -o
CMakeFiles/libkdevdesignerpart-module.dir/listeditor.cpp.o -c
/home/albator/rpmbuild/BUILD/kdevelop/build/kdevdesigner/designer/listeditor.cpp
In file included from
/home/albator/rpmbuild/BUILD/kdevelop/build/kdevdesigner/designer/listeditor.cpp:22:0:
/home/albator/rpmbuild/BUILD/kdevelop/build/kdevdesigner/designer/listeditor.ui.h:
In member function 'virtual void ListEditor::addItem()':
/home/albator/rpmbuild/BUILD/kdevelop/build/kdevdesigner/designer/listeditor.ui.h:33:5:
error: 'App' was not declared in this scope
===========
The attached patch fixes both issues.
Thanks
Francois Andriot
I have committed the CMake patch to SVN in revision 1261448, however the
other part of the patch is a hotfix to a more serious underlying issue,
and therefore I did not commit it to SVN. The root cause of the problem
should be looked into for 3.5.14; in the mean time feel free to apply that
portion of the patch to the Fedora/RedHat builds.
Tim