This definitely looks like a permissions issue.  

One possibility is if you downloaded the source file with root permissions
or copied it to another location using sudo privileges it may have saved the
file with ownership by the root user so when you try to build it as your
normal user it does not have the  permissions required to access the
directory. Cmake does not have to be run as a super user (sudo) and after
you have extracted the source directories from the downloaded file they
should be owned by your login user as should all subdirectories including
the build directories. If you used sudo privileges to create the build
directory a similar problem may have occurred.  Check the file ownership of
the source directory and its subdirectories and of the build directory  ("ls
-al" if using a terminal).

sudo only has to be used with the "make install" command (and not with the
"make " command to build the libraries) when you are installing to a system
location (/usr/local or /opt)  so that the install procedure can copy the
required files to a system owned location.

David Cousens



-----
David Cousens
--
Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html
_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Reply via email to