Hi, I'm running Debian 5.0.6 "lenny". I downloaded the sources of Geany 0.19.1 and Geany-Plugins 0.19. I extracted Geany and ran ./configure, make, make install, and it worked. But I want to use the Geanygdb plugin. So after I extracted Geany-Plugins and ran ./configure, it said that it could not find Geany. So I uninstalled Geany and this time ran ./configure --prefix=/usr, make, make install. I went back to Geany-Plugins and ran ./configure, make, make install with apparently no errors. So I then run Geany again, but when I go to Tools->Plugin Manager, it reports that no plugins are available.
What is the correct way to install Geany-Plugins on Debian?
On Sun, 14 Nov 2010 02:32:54 -0500, Danny K wrote:
Hi, I'm running Debian 5.0.6 "lenny". I downloaded the sources of Geany 0.19.1 and Geany-Plugins 0.19. I extracted Geany and ran ./configure, make, make install, and it worked. But I want to use the Geanygdb plugin. So after I extracted Geany-Plugins and ran ./configure, it said that it could not find Geany. So I uninstalled Geany and this time ran ./configure --prefix=/usr, make, make install. I went back to Geany-Plugins and ran ./configure, make, make install
In your first attempt, you installed Geany into /usr/local. When you configure the plugins, the build systems searches a so called pkgconfig file which was installed in /usr/local/lib/pkgconfig. But the default check for this pkgconfig file is mostly done in /usr. To get it working you had to set the following environment variable like this: PKG_CONFIG_PATH=/usr/local/lib/pkgconfig then the plugins' configure would have looked in /usr/local/lib/pkgconfig as well and found Geany.
After you installed Geany in the prefix /usr, Geany's pkgconfig file was installed in the default pkgconfig search path (/usr/lib/pkgconfig) and so it worked.
with apparently no errors. So I then run Geany again, but when I go to Tools->Plugin Manager, it reports that no plugins are available.
Hmm, hard to say so far. Probably there are linker problems or differences in the ABI. After you opened the plugin manager, could you check Help->Debug Messages? This should show some interesting messages. Simply copy them and append it to your reply, so we could check what's wrong.
What is the correct way to install Geany-Plugins on Debian?
The easiest and most dangerous way is to use the nightly builds from http://geany.nightlybuilds.org. But of course, these are nightly bcreated builds from the SVN version and so might be buggy or even broken, use at your own risk :).
A more serious way and even close to the Debian way would be to backport the geany-plugins 0.19 package from Testing to Lenny (the package is in Testing since yesterday). But this needs to be done.
I'd suggest to build from source as you did.
Regards, Enrico
On Sun, 14 Nov 2010 15:57:47 +0200, Enrico Tröger wrote:
On Sun, 14 Nov 2010 02:32:54 -0500, Danny K wrote:
Hi, I'm running Debian 5.0.6 "lenny". I downloaded the sources of Geany 0.19.1 and Geany-Plugins 0.19. I extracted Geany and ran ./configure, make, make install, and it worked. But I want to use the Geanygdb plugin. So after I extracted Geany-Plugins and ran ./configure, it said that it could not find Geany. So I uninstalled Geany and this time ran ./configure --prefix=/usr, make, make install. I went back to Geany-Plugins and ran ./configure, make, make install
In your first attempt, you installed Geany into /usr/local. When you configure the plugins, the build systems searches a so called pkgconfig file which was installed in /usr/local/lib/pkgconfig. But the default check for this pkgconfig file is mostly done in /usr. To get it working you had to set the following environment variable like this: PKG_CONFIG_PATH=/usr/local/lib/pkgconfig then the plugins' configure would have looked in /usr/local/lib/pkgconfig as well and found Geany.
After you installed Geany in the prefix /usr, Geany's pkgconfig file was installed in the default pkgconfig search path (/usr/lib/pkgconfig) and so it worked.
with apparently no errors. So I then run Geany again, but when I go to Tools->Plugin Manager, it reports that no plugins are available.
Hmm, hard to say so far. Probably there are linker problems or differences in the ABI. After you opened the plugin manager, could you check Help->Debug Messages? This should show some interesting messages. Simply copy them and append it to your reply, so we could check what's wrong.
I think I know what's wrong: you ran './configure' for the plugins which configured and installed them into /usr/local (default prefix) but Geany is configured and installed in /usr, so Geany will look for plugins in /usr/lib/geany. Your plugins however are installed in /usr/local/lib/geany.
So, to fix it, uninstall the plugins from /usr/local and build them again with ./configure --prefix=/usr && make && make install. Then the plugins are installed in the same prefix as Geany and then Geany should find your plugins.
Regards, Enrico
Date: Sun, 14 Nov 2010 17:44:31 +0200 From: enrico.troeger@uvena.de To: geany@uvena.de Subject: Re: [Geany] Installing Geany-Plugins from Source in Debian
On Sun, 14 Nov 2010 15:57:47 +0200, Enrico Tröger wrote:
On Sun, 14 Nov 2010 02:32:54 -0500, Danny K wrote:
Hi, I'm running Debian 5.0.6 "lenny". I downloaded the sources of Geany 0.19.1 and Geany-Plugins 0.19. I extracted Geany and ran ./configure, make, make install, and it worked. But I want to use the Geanygdb plugin. So after I extracted Geany-Plugins and ran ./configure, it said that it could not find Geany. So I uninstalled Geany and this time ran ./configure --prefix=/usr, make, make install. I went back to Geany-Plugins and ran ./configure, make, make install
In your first attempt, you installed Geany into /usr/local. When you configure the plugins, the build systems searches a so called pkgconfig file which was installed in /usr/local/lib/pkgconfig. But the default check for this pkgconfig file is mostly done in /usr. To get it working you had to set the following environment variable like this: PKG_CONFIG_PATH=/usr/local/lib/pkgconfig then the plugins' configure would have looked in /usr/local/lib/pkgconfig as well and found Geany.
After you installed Geany in the prefix /usr, Geany's pkgconfig file was installed in the default pkgconfig search path (/usr/lib/pkgconfig) and so it worked.
with apparently no errors. So I then run Geany again, but when I go to Tools->Plugin Manager, it reports that no plugins are available.
Hmm, hard to say so far. Probably there are linker problems or differences in the ABI. After you opened the plugin manager, could you check Help->Debug Messages? This should show some interesting messages. Simply copy them and append it to your reply, so we could check what's wrong.
I think I know what's wrong: you ran './configure' for the plugins which configured and installed them into /usr/local (default prefix) but Geany is configured and installed in /usr, so Geany will look for plugins in /usr/lib/geany. Your plugins however are installed in /usr/local/lib/geany.
So, to fix it, uninstall the plugins from /usr/local and build them again with ./configure --prefix=/usr && make && make install. Then the plugins are installed in the same prefix as Geany and then Geany should find your plugins.
Regards, Enrico _______________________________________________ Geany mailing list Geany@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany
Thanks for your replies. With this and other annoying bugs I decided to reinstall the OS. It seems that after starting from scratch and removing everything, installing Geany and Geany-Plugins with ./configure make make install for some reason worked smoothly, and the plugins work. So I'm not sure what the cause of the problem was. It possibly has to do with the fact that I installed an old version of Geany (I think it was 0.14) because it was in the official Debian archives, even though I did uninstall the old version prior to attempting to install Geany 0.19.1.
On 11/14/2010 03:32 PM, Danny K wrote:
Hi, I'm running Debian 5.0.6 "lenny". I downloaded the sources of Geany 0.19.1 and Geany-Plugins 0.19. I extracted Geany and ran ./configure, make, make install, and it worked. But I want to use the Geanygdb plugin. So after I extracted Geany-Plugins and ran ./configure, it said that it could not find Geany. So I uninstalled Geany and this time ran ./configure --prefix=/usr, make, make install. I went back to
Using --prefix=/usr for local build is not recommended. You can try setting the environmental variables CPPFLAGS and LDFLAGS to allow configure find the geany header files and libraries.
Geany-Plugins and ran ./configure, make, make install with apparently no errors. So I then run Geany again, but when I go to Tools->Plugin Manager, it reports that no plugins are available.
Under menu item "Edit | Preferences | General | Start", you can set the "Extra plugin path". Maybe this is what you want.
Hope this helps, ST --
On Sun, 14 Nov 2010 02:32:54 -0500 Danny K cinolt@live.com wrote:
Hi, I'm running Debian 5.0.6 "lenny". I downloaded the sources of Geany 0.19.1 and Geany-Plugins 0.19. I extracted Geany and [...]
I'm also using Debian (lenny + testing), and also had Geany initially installed from aptitude. The following worked for me (and still works, as I sometimes refresh the plugins):
1. apritude purge geany. 2. Geany: ./configure --prefix=/usr/local ; make ; make install 3. Plugins: ./waf configure --prefix=/usr/local ; make ; make install
No "Extra plugin path" required.