![]() Registered Member ![]()
|
Hello,
I am compiling Okular on Kubuntu. Compilation is ok. I set the KDEDIRS variable and after the "make install" command I see that folder populated. I edited the okular/generators/epub/converter.cpp file but even if I put, for example,
at the very beginning of
class member, when I run the application I still get the epub loaded, so my modifications were ignored. Note: when I run make it says it has compiled the epub generator so it compiles my modifications, just they have no effect (even if I run "sudo make install"). Can you help me? Thanks in advance. |
![]() Global Moderator ![]()
|
If you want to start okular from your local installation you need to prepend the local install "bin" directory to $PATH, or manually specify it, like "~/install/bin/okular". Otherwise, you'll start the system-wide installation (see: "which okular").
Greetings
I'm working on the KDevelop IDE.
|
![]() Registered Member ![]()
|
I am sorry but it doesn't work: the application starts with manually specified path as you say but my modifications have no effect. What check can I perform?
|
![]() Global Moderator ![]()
|
strace it and check where it reads stuff from. That's the most basic way, at least, there's probably easier ones.
![]()
I'm working on the KDevelop IDE.
|
![]() Registered Member ![]()
|
Thank you.
According to strace it reads from the right places. However if I type "okular" in the console terminal from the build directory the compiled app is called, so it is enough for me to test my modifications. |
![]() Moderator ![]()
|
Read the last part of http://okular.kde.org/download.php
|
Registered users: Bing [Bot], claydoh, Evergrowing, Google [Bot], rblackwell