Re: Help extending a plugin

From: Robert Staudinger <robert.staudinger_at_gmail.com>
Date: Fri Nov 28 2008 - 10:21:24 CET

On Fri, Nov 28, 2008 at 5:17 AM, John Young <071687y@acadiau.ca> wrote:
>
> Hello,
>
> I am trying to extend Abiword's OpenDocument plugin to handle
> encrypted documents. My code compiles and running make and make
> install works without errors, but when I try to activate the plugin I
> get an error saying something along the lines of "Cannot
> activate/install plugin." I believe this to be happening because after
> running make the resulting libtool files do not list the library I
> used for encryption (open ssl) in the dependency lists. The problem is
> that I cannot find the initial file(s) listing dependencies that the
> libtool files make their lists from. I have tried to figure out which
> file(s) it is I need to edit, but I have not had any success yet. Can
> anybody tell me which file(s) I have to edit to add this new
> dependency? Thank you for your time and help.
>
> P.S.:
> I am able to install and run the stock plugins without error. If it
> matters, I am running Slackware 12.1.

Hi John,

have you added the library you want to link the plugin against to
OPENDOCUMENT_LIBS in plugins/opendocument/plugin.m4 around line 25?

Also look at ~/.AbiSuite/AbiWord.Profile if plugins fail to load, the
error messages there may help to diagnose the problem.

Best,
Rob
Received on Fri Nov 28 10:21:34 2008

This archive was generated by hypermail 2.1.8 : Fri Nov 28 2008 - 10:21:34 CET