Fwd: Building the latest trunk under openSuSE 12.1 and 12.2

Michael Hart michael.george.hart at gmail.com
Sat Sep 1 14:42:09 UTC 2012


An here I was thinking everything was going too smoothly
Problems in paradise

[ 99%] Building CXX object
utils/okteta/CMakeFiles/kdevokteta.dir/kdevokteta_automoc.o

In file included from
/home/XMan/Documents/Projects/kdevelop4/src/kdevelop/build/utils/okteta/moc_oktetadocument.cpp:10:0,

                 from
/home/XMan/Documents/Projects/kdevelop4/src/kdevelop/build/utils/okteta/kdevokteta_automoc.cpp:8:
/home/XMan/Documents/Projects/kdevelop4/src/kdevelop/build/utils/okteta/../../../utils/okteta/oktetadocument.h:29:24:
fatal error: kastencore.h: No such file or directory
compilation terminated.
make[2]: *** [utils/okteta/CMakeFiles/kdevokteta.dir/kdevokteta_automoc.o]
Error 1
make[1]: *** [utils/okteta/CMakeFiles/kdevokteta.dir/all] Error 2
make: *** [all] Error 2

I am certain that kastencore.h exist on my system. Anyone knows how to fix
this.
if the offending line with #include <kasten/kastencore.h>
I get this strange error that let me believe that kastencore.h in openSuSE
12.1 is not the same as the one you guys are building kdevelop with
 99%] Built target kdevokteta_automoc
[ 99%] Building CXX object
utils/okteta/CMakeFiles/kdevokteta.dir/kdevokteta_automoc.o
In file included from
/home/XMan/Documents/Projects/kdevelop4/src/kdevelop/build/utils/okteta/../../../utils/okteta/oktetadocument.h:29:0,

                 from
/home/XMan/Documents/Projects/kdevelop4/src/kdevelop/build/utils/okteta/moc_oktetadocument.cpp:10,
                 from
/home/XMan/Documents/Projects/kdevelop4/src/kdevelop/build/utils/okteta/kdevokteta_automoc.cpp:8:
/usr/include/kasten/kastencore.h:27:1: error: namespace alias ‘Kasten’ not
allowed here, assuming ‘Kasten1’
make[2]: *** [utils/okteta/CMakeFiles/kdevokteta.dir/kdevokteta_automoc.o]
Error 1
make[1]: *** [utils/okteta/CMakeFiles/kdevokteta.dir/all] Error 2
make: *** [all] Error 2



---------- Forwarded message ----------
From: Michael Hart <michael.george.hart at gmail.com>
Date: Sat, Sep 1, 2012 at 10:32 AM
Subject: Building the latest trunk under openSuSE 12.1 and 12.2
To: KDevelop <kdevelop-devel at kdevelop.org>


I just upgraded to openSuSE 12.1 and will probably upgrade to 12.2 to get
the gcc 4.7.1 compiler

Anyone following in my foot steps for the first time need to do at lease
the following for 12.1 and perhaps similarly for 12.2

cd /usr/lib64/
ln -s libkdeui.so.5.7.0 libkdeui.so.5.6.0
ln -s libkparts.so.4.7.0 libkparts.so.4.6.0
ln -s libkio.so.5.7.0 libkio.so.5.6.0
ln -s libnepomukutils.so.4.7.0 libnepomukutils.so.4.6.0
ln -s libnepomuk.so.4.7.0 libnepomuk.so.4.6.0
ln -s libkdecore.so.5.7.0 libkdecore.so.5.6.0
ln -s libkcmutils.so.4.7.0 libkcmutils.so.4.6.0
ln -s libknotifyconfig.so.4.7.0 libknotifyconfig.so.4.6.0
ln -s libktexteditor.so.4.7.0 libktexteditor.so.4.6.0
ln -s libthreadweaver.so.4.7.0 libthreadweaver.so.4.6.0
ln -s libkrosscore.so.4.7.0 libkrosscore.so.4.6.0
ln -s libkfile.so.4.7.0 libkfile.so.4.6.0
ln -s libknewstuff3.so.4.7.0 libknewstuff3.so.4.6.0

for openSuSE 12.2 replace 4.7 with 4.8

Had to grab from "http://download.opensuse.org/update/12.1/x86_64/" the two
rpm's
rpm -ivh /home/XMan/Downloads/subversion-1.6.18-2.3.1.x86_64.rp
rpm -ivh /home/XMan/Downloads/subversion-devel-1.6.18-2.6.1.x86_64.rpm

and install qjson

The only problem I see at this time is when I move to openSuSE 12.2 that
comes with gcc 4.7.1 I need to have at lease QT 4.8.1 (which I am not sure
comes with 12.2)
see "
https://bugreports.qt-project.org/browse/QTBUG-22847?focusedCommentId=168644"
for an explanation
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20120901/c7942cd1/attachment.html>


More information about the KDevelop-devel mailing list