Registered Member
|
Hello,
I have installed Open-Suse 12.2 (Gnome) on my machine and I would like to be able to compile Okular from sources. I just need the last stable version to make some experiments so I do not need all the complex GIT stuff, if it is possible to avoid it. What I have to do now? |
Moderator
|
Have a look at the "Okular" section at the bottom of http://okular.kde.org/download.php
It lists how to check out from git, but i don't think that one command is any more complex that the command that would download the "stable release" tarball. Of course you'll need to install some packages using your package manager like cmake and the packages cmake complains about once you run cmake. |
Registered Member
|
Thank you.
I installed cmake, kd4 base and devel, poppler, and cloned git okular. Now I have to type the command: cmake -DCMAKE_INSTALL_PREFIX=/path/to/your/kde4/install/dir .. but I do not know which is the path. How to check it? |
Global Moderator
|
I'd recommend to install your testing versions into ~/install. By doing that, you'll always have the stable version available too, and you can easily remove everything without screwing up your system. You need to add ~/install/bin to your $PATH and ~/install to your $KDEDIRS if you do that.
Plus you don't need root privileges for installing, which is convenient. Greetings
I'm working on the KDevelop IDE.
|
Registered Member
|
do you mean I have to create the install folder in my home folder?
|
Global Moderator
|
Yes. I mean, you don't have to, but if you want to use it that way... you need to create it.
I'm working on the KDevelop IDE.
|
Registered Member
|
I would like it was in a truecrypt volume, is it possible? Can I create it there?
Last edited by unplugged on Fri Nov 23, 2012 3:52 pm, edited 1 time in total.
|
Global Moderator
|
You want the folder for the install data of an open source project you work on in its own truecrypt volume? Isn't that a bit weird?
But yes, you can select whatever location you want. As long as you can access it from, like, the shell, everything is alright. Greetings
I'm working on the KDevelop IDE.
|
Registered Member
|
Unfortunately I got this error with make command:
[ 21%] Building CXX object CMakeFiles/okularcore.dir/settings_core.o Linking CXX shared library lib/libokularcore.so CMake Error: cmake_symlink_library: System Error: Operation not permitted CMake Error: cmake_symlink_library: System Error: Operation not permitted make[2]: *** [lib/libokularcore.so.2.0.0] Errore 1 make[1]: *** [CMakeFiles/okularcore.dir/all] Errore 2 make: *** [all] Errore 2 |
Global Moderator
|
You don't have write permissions in the build directory, or something similar.
I'm working on the KDevelop IDE.
|
Registered Member
|
Very strange because the "mkdir build" command was succesfull and the cmake command too: now the build folder is full of files and folders. Could be another problem?
If I remember right, some trouble exist with symlinks in truecrypt volume: everything is there about okular now. Maybe I have to move okular folders in regular home. |
Global Moderator
|
Well, yes. That's the build files. That's what the build folder is for: it contains the build files. Not a problem. No idea about encryption and symlinks. I don't use encryption. Greetings
I'm working on the KDevelop IDE.
|
Registered Member
|
Ah, Ah,
I did not mean I was worried about those files having been produced there, it was just a confirmation that the permissions were granted, so the cause of the error message could be another (that is: not the permission rights). Maybe my writing was inaccurate, english is not my mother tongue language. Thank you, it was just symlinks (not supported by truecrypt volumes) that was the problem. |
Global Moderator
|
Ah, alright. Sorry I misunderstood that. But good thing it's working now.
Greetings
I'm working on the KDevelop IDE.
|
Registered users: Bing [Bot], claydoh, Evergrowing, Google [Bot], rblackwell