This forum has been archived. All content is frozen. Please use KDE Discuss instead.
Please use bugs.kde.org for bug reports or feature requests. Development related questions should be directed to the okular-devel mailing list.

Missing plugin when opening a pdf file (after compilation)

Tags: None
(comma "," separated)
unplugged
Registered Member
Posts
20
Karma
0
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
User avatar
google01103
Manager
Posts
6668
Karma
25
why not just use the openSUSE rpm? http://software.opensuse.org/package/ok ... erm=okular

what exactly is the error message displayed?


OpenSuse Leap 42.1 x64, Plasma 5.x

unplugged
Registered Member
Posts
20
Karma
0
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)
User avatar
google01103
Manager
Posts
6668
Karma
25
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


OpenSuse Leap 42.1 x64, Plasma 5.x

tosky
Registered Member
Posts
210
Karma
3
unplugged wrote: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)


Have you seen this?


tosky, proud to be a member of KDE forums since 2008-Oct.
unplugged
Registered Member
Posts
20
Karma
0
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?
tosky
Registered Member
Posts
210
Karma
3
unplugged wrote: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.

You didn't answer my question: have you seen the link I posted before?


unplugged wrote:maybe it is better to switch to Kubuntu instead of sticking with this Gnome distro?

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.

unplugged wrote:if some requirement is unfulfilled (I think for devel version of some libraries) where do I find that specs file?


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.
unplugged
Registered Member
Posts
20
Karma
0
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.
tosky
Registered Member
Posts
210
Karma
3
unplugged wrote: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.


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.
User avatar
TSDgeos
Moderator
Posts
49
Karma
0
tosky wrote: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-


Wrong url?


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Evergrowing, Google [Bot], rblackwell