[Okular-devel] Fwd: need guidance

Albert Astals Cid aacid at kde.org
Sun Sep 28 13:13:53 UTC 2014


Hi

El Diumenge, 28 de setembre de 2014, a les 08:46:41, Palash Kulshrestha va 
escriure:
> 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

You don't need sudo at this stage since you're intalling to something under 
your home

> 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:
> _ZN6Okular8Document12openDocumentERK7QStringRK4KUrlRK10KSharedPtrI9KMimeType
> ES3_

Do you still have the KDEDIRS defined in the shell you are running this okular 
instance?

Cheers,
  Albert

> 
> 
> any help would be appreciated.
> ----
> Regards
> Palash Kulshreshtha



More information about the Okular-devel mailing list