[Okular-devel] Fwd: need guidance

Palash Kulshrestha palash.kulsh at ymail.com
Sun Sep 28 03:16:41 UTC 2014


I have set up okular in the following way
1.cloned okular repo in "/home/palash/Documents/mygit/okular"
2.made build directory "/home/palash/Documents/mygit/okular/build"
3.Next i needed to install okular here
"/home/palash/Documents/programs/okular" so i added this location to
KDEDIRS using command >> export
KDEDIRS=/home/palash/Documents/programs/okular:$(kde4-config --prefix)
>>kbuildsycoca4
4. Then i added the this location to PATH variable using >> export
PATH=$PATH":/home/palash/Documents/programs/okular"
5.now i ran cmake in build directory of step 2
"/home/palash/Documents/mygit/okular/build"
>>cmake -DCMAKE_INSTALL_PREFIX=/home/palash/Documents/programs/okular ..
6.Now build folder is populated with files & directories.
7.now >>make
8. >>sudo make install
9.All this runs smoothly and
 "bin/  include/  lib/  share/ " are created in the installation folder
"/home/palash/Documents/programs/okular"
10.now when i run >> ./okular in "/home/palash/Documents/programs/okular/bin"
then okular runs. But when i run okular with pdf like >> ./okular somepdf  "
then something breaks down . it gives the output
okular(4130)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(4130)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(4130)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(4130)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(4130)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
./bin/okular: symbol lookup error: /usr/lib/kde4/okularpart.so: undefined
symbol:
_ZN6Okular8Document12openDocumentERK7QStringRK4KUrlRK10KSharedPtrI9KMimeTypeES3_


any help would be appreciated.
----
Regards
Palash Kulshreshtha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/okular-devel/attachments/20140928/d6b2a31e/attachment.html>


More information about the Okular-devel mailing list