<p>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:</p>

<pre><code>$ ./configuration --prefix=/home/username/Geany
</code></pre>

<p>I proceeded to make and install after this:</p>

<pre><code>$ make
$ make install
</code></pre>

<p>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:</p>

<pre><code>$ /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
</code></pre>

<p>Using the --print-prefix option indicates what the error is:</p>

<pre><code>$ /home/username/Geany/bin/geany --print-prefix
/usr/local
/usr/local/share
/usr/local/lib
/usr/local/share/locale
</code></pre>

<p>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.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/geany/geany/issues/750">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ7Pu5NwpL495dk72eRu2kHUt2CeBks5pEj__gaJpZM4GftN5.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/issues/750"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>