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.