[Github-comments] [geany] Set prefix not being given to executeable (#750)

aruth2 notifications at xxxxx
Tue Nov 10 19:41:51 UTC 2015


Hello I am using the source code for version 1.25. I tried installing Geany on a system where I do not have root access. It appears that the proper way to do this is to use the --prefix option during configuration:

    $ ./configuration --prefix=/home/username/Geany

I proceeded to make and install after this:

    $ make
    $ make install

The files were successfully copied to the correct destination: /home/username/Geany. However, when I try to run the executable, it tried searching for some files in root directories:

    $ /home/username/Geany/bin/geany 
    Geany-ERROR **: Cannot create user-interface: Failed to open file      '/usr/local/share/geany/geany.glade': No such file or directory

Using the --print-prefix option indicates what the error is:

    $ /home/username/Geany/bin/geany --print-prefix
    /usr/local
    /usr/local/share
    /usr/local/lib
    /usr/local/share/locale

 So, the use of --prefix is working correctly in the ./configure, make, and make install commands, however, the executable /bin/geany does not receive the correct prefix. The prefix that the executable uses should be set up correctly during the ./configure call.

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/750
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20151110/e2d8a4f3/attachment.html>


More information about the Github-comments mailing list