[Github-comments] [geany/geany] End the program(program crashes) when I try to auto-complete the code. (#1927)

Matthew Brush notifications at xxxxx
Thu Aug 23 00:24:31 UTC 2018


@Spiker01 in most operating systems there is a `PATH` environment variable that lists directories to look in for executables. In your case in Linux, usually `/usr` comes before `/usr/local` in the search order (try `echo $PATH` at command line to see). If you have an executable named `geany` in `/usr/bin` (the old version from the repos) and one in `/usr/local/bin` (the shiny new version you compiled), it's going to always use the old one in `/usr/bin`.

The simplest solution is to just remove the out-of-date Geany package you have installed from your distro repos (ex. `apt-get remove geany` for Debian-like distros) and everything will just work. Otherwise you have to fiddle with your `PATH` or specify the full path to which version of Geany you want to use as @elextr said.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1927#issuecomment-415230966
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20180822/93a7fcee/attachment.html>


More information about the Github-comments mailing list