Registered Member
|
Hello,
I compiled Okular from source but it cannot load pdf files because it does not find some plugin it needs. The application was compiled with poppler on Open-Suse 12.2 (Gnome), so what is the problem? Thanks in advance |
Manager
|
why not just use the openSUSE rpm? http://software.opensuse.org/package/ok ... erm=okular
what exactly is the error message displayed? |
Registered Member
|
I want to compile the application to edit the source code.
I get messages in italian so I translate: -Impossible to open filename.pdf (in an error dialog) -Impossible to find a plugin that is able to handle the provided document (on the empty page) |
Manager
|
take a look at the Okular src.rpm and it's spec file and see if you have all the build requirements met.
Ark can extract the spec file from the src.rpm |
Registered Member
|
Have you seen this?
tosky, proud to be a member of KDE forums since 2008-Oct.
|
Registered Member
|
I installed the official OpenSuse Okular package and it works but now my builded version of okular yields "impossible to find okular component" (translated from italian) and opens a blank window, even if I rebuild.
maybe it is better to switch to Kubuntu instead of sticking with this Gnome distro? if some requirement is unfulfilled (I think for devel version of some libraries) where do I find that specs file? |
Registered Member
|
You didn't answer my question: have you seen the link I posted before?
No need to switch, and there is no such thing like "Gnome distro" (and even if it was, OpenSuse has packages for all the distro). If you have the right libraries you can compile on every GNU/Linux system.
At the end of cmake run you should see which libraries have been found: for PDF you need the -devel packages of poppler.
tosky, proud to be a member of KDE forums since 2008-Oct.
|
Registered Member
|
Hello, sorry for forgetting to answer, I ran that command
kbuildsycoca4 --noincremental and it didn't solve the issue. However now the builded applicaton seems to be conflicting with the one installed from official package. I have not set the KDEDIRS environment variable export KDEDIRS=/path/to/your/kde4/install/dir:$(kde4-config --prefix); kbuildsycoca4 could be that? I see "kbuildsycoca4" there too. |
Registered Member
|
You need to set KDEDIRS, yes. Even if the techbase page is under reconstruction, you can still take a look at http://techbase.kde.org/Getting_Started-
tosky, proud to be a member of KDE forums since 2008-Oct.
|
Moderator
|
Wrong url? |
Registered users: Bing [Bot], claydoh, Evergrowing, Google [Bot], rblackwell