This forum has been archived. All content is frozen. Please use KDE Discuss instead.

How to upgrade poppler, poppler-qt and djvu packages?

Tags: okular, windows, vista, could, not, open, file, pdf, djvu, poppler, poppler-qt okular, windows, vista, could, not, open, file, pdf, djvu, poppler, poppler-qt okular, windows, vista, could, not, open, file, pdf, djvu, poppler, poppler-qt
(comma "," separated)
eric948470
Registered Member
Posts
3
Karma
0
OS
Hello,

I have KDE 4.4 in Windows Vista. When I try to open a pdf or djvu file, I get a dialogue box with a message like "Could not open file:///path/of/file/filename.pdf".

When I did an internet search I found the following forum post.
http://chakra-project.org/bbs/viewtopic.php?id=2294

According to that post my poppler, poppler-qt and djvu packages are out of date. I tried to upgrade them, but it seems complicated, and I got very confused. Could please give me instructions on how to update them please? My technical ability is only marginal.

Thanks
eric948470
Registered Member
Posts
3
Karma
0
OS
Hello,
I also found the following post.

http://old.nabble.com/FW:-Okular-cannot ... 26044.html

Following the instructions given, I downloaded the file http://winkde.org/pub/kde/ports/win32/r ... in.tar.bz2 and extracted it to the KDE installation folder. After that I could view pdf files.

But I still could not view djvu files.

I downloaded "dependancywalker" (The new GUI version) from http://www.dependencywalker.com/ , followed the instructions and added ".....\KDE\bin" to the PATH variable, and ran depends.exe for "....\KDE\lib\kde4\okularGenerator_djvu.dll". It says that the system cannot find the file "LIBDJVULIBRE.DLL".

I searched in http://winkde.org/pub/kde/ports/win32/r ... le/latest/ for a mingw4 port of djvulibre, but couldn't find one. There was only a msvc version of djvulibre. http://winkde.org/pub/kde/ports/win32/r ... in.tar.bz2 . I downloaded it, but it didn't have the above mentioned file.

Is it because of this missing file "LIBDJVULIBRE.DLL" that I cannot view djvu files? If so, from where do I get it?

Trying to get that file, I tried compiling the source of libdjvulibre in cygwin and mingw, but for some reason it doesn't compile on my system. Make gives an error and stops.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
I would recommend filing a bug at bugs.kde.org so that they KDE Windows team can correct their packaging.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
eric948470
Registered Member
Posts
3
Karma
0
OS
Thanks for the reply bcooksley. I filed a bug report (Bug 234732).

To find the file libdjvulibre.dll, I downloaded the DjVuLibre+DjView package
from

http://sourceforge.net/projects/djvu/fi ... e/download

and installed it. Then I went in to the installation folder, found
libdjvulibre.dll and copied it to my "....\KDE\bin" folder.

I ran dependancywalker again, and this time it indicated that another file,
libjpeg.dll is missing. I found it from the DjVuLibre+DjView installation
folder and copied it to "....\KDE\bin" folder, and after that dependancywalker
didn't show any error. I opened Okular and discovered that I could open djvu
files!

So now I can open both pdf and djvu files :) .

Could someone tell me if there is an easier, (or more correct) procedure than this, or why weren't
those files included in the KDE distribution? Why is it that only so few computer systems are affected by the absence of these files? (If many more systems were affected surely this would have been noticed earlier?)

Thanks


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], lockheed, mesutakcan, mickae, Sogou [Bot]