Registered Member
|
hello,
I am trying to compile kate(http://kate-editor.org/get-it/) on KUBUNTU 10.04 LTS. I have faced following problems, some of them are resolved are some are still intact, I hope we should update the above page. 1. The kdelibs5-devl depends on many packages which gives dpendency error, one should select the Open Source Software(main), and Community maintained (Universe) in the kpackage/synaptic before we try to upgrade the kdelibs5-devl. 2. git clone git://gitorious.org/kate/kate.git -> gave me error, I had to use svn repository instead. 3. cmake ../kate -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=~/kde/usr failed at - CMakeLists.txt at line ->
saying kde4_add_library was not found. Adding - find_package(KDE4 REQUIRED) in the CMakeLists.txt solved the issue. 4. cmake failed saying - it cannot find the appropriate .cmake file.
solved this issue. 5. solving above problem landed me into the problem
following numerous errors.. the whole output is captured at - http://paste.ubuntu.com/474489/, now I have googled for nearly 5 hours, can anyone please help me out!! I am desperate to compile and start kate on my desktop! Regards, Pushkaraj |
KDE Developer
|
Problem 3, 4 and 5 are due to the same issue: you need the whole kdelibs sources, and you must run cmake for the whole of it. After that, you cd in the subdirectory/ies of kdelibs you want to compile (eg kate) and run make from there. Note this does not mean compiling the whole kdelibs.
If you do the above, you can avoid all the (wrong) hacks you did (ie adding "find_package(KDE4 REQUIRED)", exporting CMAKE_MODULE_PATH).
Pino Toscano
|
Administrator
|
Note that Kate from Gitorious is just Kate, and allows the components to be built easily. If you are only interested in Kate, I would recommend using that instead.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell