On Wed, Mar 10, 2010 at 7:52 PM, Lex Trotman <elextr@gmail.com> wrote:


On 11 March 2010 11:40, Chuck Tilbury <chucktilbury@gmail.com> wrote:


On Wed, Mar 10, 2010 at 6:16 PM, Lex Trotman <elextr@gmail.com> wrote:
<snip>


Aha,

I assume this means that you have more than one Geany at different prefixes?

There is a problem with plugins in that situation, the autoconf/make builder gets the wrong prefix and so makes the plugins with the wrong version.
But since you made the demoplugin separately it works ok.

This bug has been raised to the autoconf maintainer but I've not seen it fixed.  AFAIK the WAF builder works ok so you might want to use that.

Cheers
Lex

PS ignore my comment about .lo and .la files, I wasn't paying attention, they are of course libtool files.  But they "shouldn't" be needed to run just to link.

So I will clean out the previous install and reinstall.  That should fix the issue, correct?

The only files that I know of are in these areas:
/usr/bin/geany
/usr/lib/geany/
/usr/lib/geany-plugins/
/home/me/.config/geany/

Is there anything else?

-=c=-

You could try make uninstall :-)

Well a nice clean install allways helps :-), but it HAS to be the same version as you are building the plugin for since the autotools is hard coded to use the standard Geany prefix for plugins.

As I said above I am told by "Prolific Plugin Programmers" that the waf version will handle plugins properly to any prefix, but I havn't used it yet.

Cheers
Lex

PS please reply to the list, not to me, so other people can see and interrupt any time either of us is talking garbage :-)  ((sorry, I thought I was.))

 
My problem was that I first installed the Ubuntu package from the package repository.  It worked fine, but there was the build confusion.  I removed the package and then did a "make uninstall" to get it right.  I built it from the source available in the web page and the demo plugin now loads and seems fine.

I had another problem with building the add-ons, though.  After taking care of the dependencies given by ./configure, I tried to get and build the geany-plugins-0.18 files and many of the plugins refused to build because of inaccessible header files.  I created a directory of /usr/include/geany and copied the files from .../geany_svn/src/*.h there, but there are still others that appear to be missing and that I don't have installed anywhere.  The plugins that failed are:
# addons \
# geanydoc \
# geanylipsum \
# geanylua \
The others seem OK.  Sorry, I don't have time to give more information. :(  I gotta think that this is probably a issue that has already been looked at.

It looks like I have enough to get started on a macro recorder.  Am I correct in thinking that the demo plugin has the correct message loop that I want to tap into?

Thanks,
-=chuck=-