You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gitit-discuss
Is it possible to use the Network.Gitit module with plugins? I am
using the simple example from the documentation and when I try to run
my program I get the error message "gitit was not compiled with plugin
support."
I have compiled gitit with plugin support, when I use the normal
executable everything is fine.
Is there something I need to do somewhere before I compile my own
exectable?
Many Thanks
Fergie
fiddlosopher
unread,
Oct 4, 2009, 12:24:55 PM10/4/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gitit-discuss
You need to compile with the -D_PLUGINS, or if you're using Cabal,
cpp-options: -D_PLUGINS
This defines the CPP symbol _PLUGINS, which causes plugin code to
be conditionally included.
John
fiddlosopher
unread,
Oct 4, 2009, 12:33:48 PM10/4/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gitit-discuss
On second thought: That shouldn't be necessary. I think you've
uncovered a bug in the cabal file, which should set this symbol in the
Library section as well as the Executable section. Fix coming...
fiddlosopher
unread,
Oct 4, 2009, 1:07:41 PM10/4/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gitit-discuss
Okay, try the latest version from the repository. It should work now
-- let me know if it doesn't.
You shouldn't need to manually set the _PLUGINS symbol.
John
fergie
unread,
Oct 5, 2009, 4:08:01 AM10/5/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message