This forum has been archived. All content is frozen. Please use KDE Discuss instead.

[Solved]quanta svn; errors during compilation

Tags: None
(comma "," separated)
User avatar
zakonnik
Registered Member
Posts
37
Karma
0
OS
Hi everyone,
I've got some problems during compilation of quanta from svn:
Code: Select all
svn co svn://anonsvn.kde.org/home/kde/trunk/KDE/kdewebdev/quanta

Tried to search them, but no results.
Here's the output of cmake:
http://js1008.ovh.org/plik.txt

Thanks in advance for any info how to solve it.

/edit, my specs:
slackware-current
kde 4.2.0
gcc 4.2.4

Last edited by zakonnik on Wed Mar 11, 2009 10:10 am, edited 1 time in total.


HP Pavilion dv9680
Slackware64-current | kernel 2.6.32 | kde 4.4beta2 | QT 4.6 | opera 10.10
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
It appears that for some reason the Automoc4 CMake search script is failing to set the internal variable _AUTOMOC4_CURRENT_DIR which results in a invalid path being set for the configure file.

Try passing this to CMake when executing it:
Code: Select all
-D_AUTOMOC4_CURRENT_DIR=/usr/lib/automoc4/


If this works, please report the error to the KDE Buildsystem mailing list: kde-buildsystem@kde.org


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
zakonnik
Registered Member
Posts
37
Karma
0
OS
bcooksley wrote:Try passing this to CMake when executing it:
Code: Select all
-D_AUTOMOC4_CURRENT_DIR=/usr/lib/automoc4/


If this works, please report the error to the KDE Buildsystem mailing list: kde-buildsystem@kde.org

Thanks, that did the trick. I've reported it to the list.
But yet still cmake cannot install quanta - http://js1008.ovh.org/plik2.txt


HP Pavilion dv9680
Slackware64-current | kernel 2.6.32 | kde 4.4beta2 | QT 4.6 | opera 10.10
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
I just realised that the way you are trying to build Quanta is not supported by KDE.

Remove your Quanta checkout and build system, then run the following commands:
Code: Select all
svn co -N svn://anonsvn.kde.org/home/kde/trunk/KDE/kdewebdev/
cd kdewebdev
svn co svn://anonsvn.kde.org/home/kde/trunk/KDE/kdewebdev/cmake
svn co svn://anonsvn.kde.org/home/kde/trunk/KDE/kdewebdev/quanta
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=$(kde4-config --prefix)
cd quanta
make

Last edited by bcooksley on Tue Mar 10, 2009 5:34 am, edited 1 time in total.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
zakonnik
Registered Member
Posts
37
Karma
0
OS
bcooksley wrote:I just realised that the way you are trying to build Quanta is not supported by KDE.

Remove your Quanta checkout and build system, then run the following commands:
Code: Select all
svn co -N svn://anonsvn.kde.org/home/kde/trunk/KDE/kdewebdev/
cd kdewebdev
svn co svn://anonsvn.kde.org/home/kde/trunk/KDE/kdewebdev/cmake
svn co svn://anonsvn.kde.org/home/kde/trunk/KDE/kdewebdev/quanta
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=$(kde4-config --prefix)
cd quanta
make


I'm not really sure if it should be cd quanta after cmake, because we're in kdewebdev/build, so I tried cd ../quanta and then run make, but there was no Makefile. Anyway I started to read CMakeLists.txt and what I found was:
Code: Select all
if(KDevPlatform_FOUND)
macro_optional_add_subdirectory(quanta)
endif(KDevPlatform_FOUND)

I haven't got it, so after compiling and installing kdevplatform from svn, kdewebdev compiled with quanta.

Problem's solved, thanks for advices.


HP Pavilion dv9680
Slackware64-current | kernel 2.6.32 | kde 4.4beta2 | QT 4.6 | opera 10.10


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], lockheed, mesutakcan, Sogou [Bot]