[Okular-devel] Fwd: need guidance

Palash Kulshrestha palash.kulsh at ymail.com
Sun Sep 28 15:20:22 UTC 2014


Thanks for such a quick response Albert.

There seems to be some permissions problem when i don't use sudo with make
install. It gives the error
...
...
[100%] Built target doc-handbook
[100%] Built target doc-manpage-man-okular
Install the project...
-- Install configuration: "RelWithDebInfo"
-- Up-to-date:
/home/palash/Documents/programs/okular/include/okular/core/action.h
CMake Error at cmake_install.cmake:44 (FILE):
  file INSTALL cannot set permissions on
  "/home/palash/Documents/programs/okular/include/okular/core/action.h"


make: *** [install] Error 1

It runs smoothly with sudo make install. So i think it won't be much of a
problem in future?

For the major error of undefined symbol :-

You were absolutely correct in pointing out the definition of KDEDIRS was
not persisting in the shell. So I had to add to ~/.bashrc file following :-
#adding environment variable KDEDIRS
export KDEDIRS=/home/palash/Documents/programs/okular:$(kde4-config
--prefix)

It works now. Now I will start playing around with code to work on junior
jobs.

-- 
Regards
Palash Kulshreshtha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/okular-devel/attachments/20140928/5b02add4/attachment.html>


More information about the Okular-devel mailing list