[Geany-i18n] Compiling plugins from git tarball fails

Lucas Vieites lucasvieites at xxxxx
Thu Feb 28 16:14:17 UTC 2013


  Hi,
  I use the default (without prefix).
  With today's nightly I don't get this error anymore, but I'm having
trouble when the build gets to the markdown plugin.
  I'm on Opensuse 12.2,
"./waf configure" only reports these as missing (although lua 5.1 is
installed):
Checking for 'ctpl' >= 0.3                : not found
Checking for 'lua5.1' >= 5.1              : not found
Checking for 'lua51' >= 5.1               : not found
Checking for 'lua-5.1' >= 5.1             : not found

  then when I do "./waf build" I eventually get this:
../markdown/src/plugin.c: In function ‘plugin_set_info’:
../markdown/src/plugin.c:33:1: error: ‘LOCALEDIR’ undeclared (first use in
this function)
../markdown/src/plugin.c:33:1: note: each undeclared identifier is reported
only once for each function it appears in
../markdown/src/plugin.c:33:1: error: ‘GETTEXT_PACKAGE’ undeclared (first
use in this function)
Waf: Leaving directory `/home/e288288/download/geany_plugins_git/_build_'
Build failed
 -> task failed (exit status 1):
    {task 3067850060L: c plugin.c -> plugin.c.1.o}
['/usr/bin/gcc', '-DHAVE_CONFIG_H', '-fPIC', '-pthread', '-pthread',
'-pthread', '-pthread', '-pthread', '-pthread', '-pthread', '-pthread',
'-pthread',
'-I/home/e288288/download/geany_plugins_git/_build_/markdown/src',
'-I/home/e288288/download/geany_plugins_git/markdown/src',
'-I/home/e288288/download/geany_plugins_git/_build_/markdown/discount',
'-I/home/e288288/download/geany_plugins_git/markdown/discount',
'-I/home/e288288/download/geany_plugins_git/_build_',
'-I/usr/include/gtk-2.0', '-I/usr/lib/gtk-2.0/include',
'-I/usr/include/atk-1.0', '-I/usr/include/cairo',
'-I/usr/include/gdk-pixbuf-2.0', '-I/usr/include/pango-1.0',
'-I/usr/include/glib-2.0', '-I/usr/lib/glib-2.0/include',
'-I/usr/include/pixman-1', '-I/usr/include/freetype2',
'-I/usr/include/libpng14', '-I/usr/include/webkitgtk-1.0',
'-I/usr/include/libsoup-2.4', '-I/usr/include/libxml2',
'-I/usr/local/include/geany', '-I/usr/local/include/geany/tagmanager',
'-I/usr/local/include/geany/scintilla',
'-DMARKDOWN_DATA_DIR="/usr/local/share/geany-plugins/markdown"',
'-DMARKDOWN_DOC_DIR="/usr/local/share/doc/geany-plugins/markdown"',
'-DMARKDOWN_HELP_FILE="/usr/local/share/doc/geany-plugins/markdown/html/help.html"',
'-DG_LOG_DOMAIN="Markdown"', '-DGTK', '-DGTK', '../markdown/src/plugin.c',
'-c', '-o', 'markdown/src/plugin.c.1.o']

  Right now I'm working around this (building only the plugins that don't
throw errors) to be able to review the translations

  Thanks,
--
Lucas Vieites
lucasvieites at gmail.com
http://blog.codexion.com
http://www.linkedin.com/in/lucasvieites


2013/2/28 Frank Lanitz <frank at frank.uvena.de>

> Am 26.02.2013 15:30, schrieb Lucas Vieites:
> >   Hi,
> >   I'm trying to compile the plugins from the git tarball but I get an
> > error. (BTW, I copiled the geany IDE just fine and it's working)
> >   the "./waf configure" command goes fine, but after doing "./waf build"
> > I get this, saying the geanyplugin.h file is missing:
> >
> > Waf: Entering directory
> > `/home/testuser/download/geany-plugins-master/_build_'
> > [  1/153] po: po/be.po -> _build_/po/be.mo
> > [  2/153] po: po/ca.po -> _build_/po/ca.mo
> > [  3/153] po: po/da.po -> _build_/po/da.mo
> > [  4/153] po: po/de.po -> _build_/po/de.mo
> > [  5/153] po: po/es.po -> _build_/po/es.mo
> > [  6/153] po: po/fr.po -> _build_/po/fr.mo
> > [  7/153] po: po/gl.po -> _build_/po/gl.mo
> > [  8/153] po: po/ja.po -> _build_/po/ja.mo
> > [  9/153] po: po/nl.po -> _build_/po/nl.mo
> > [ 10/153] po: po/pt.po -> _build_/po/pt.mo
> > [ 11/153] po: po/pt_BR.po -> _build_/po/pt_BR.mo
> > [ 12/153] po: po/ru.po -> _build_/po/ru.mo
> > [ 13/153] po: po/tr.po -> _build_/po/tr.mo
> > [ 14/153] po: po/zh_CN.po -> _build_/po/zh_CN.mo
> > [ 15/153] glib_mkenums: webhelper/src/gwh-browser.h
> > webhelper/src/gwh-keybindings.h webhelper/src/gwh-plugin.h
> > webhelper/src/gwh-settings.h webhelper/src/gwh-utils.h
> > webhelper/src/gwh-enum-types.c.tpl -> webhelper/src/gwh-enum-types.c
> > [ 16/153] glib_mkenums: webhelper/src/gwh-browser.h
> > webhelper/src/gwh-keybindings.h webhelper/src/gwh-plugin.h
> > webhelper/src/gwh-settings.h webhelper/src/gwh-utils.h
> > webhelper/src/gwh-enum-types.h.tpl -> webhelper/src/gwh-enum-types.h
> > [ 17/153] c: addons/src/ao_blanklines.c ->
> > _build_/addons/src/ao_blanklines.c.1.o
> > ../addons/src/ao_blanklines.c:22:25: fatal error: geanyplugin.h: No
> > existe el fichero o el directorio
> > compilation terminated.
> > Waf: Leaving directory
> > `/home/testuser/download/geany-plugins-master/_build_'
> > Build failed
> >  -> task failed (exit status 1):
> >     {task 169698796: c ao_blanklines.c -> ao_blanklines.c.1.o}
> > ['/usr/bin/gcc', '-DHAVE_CONFIG_H', '-fPIC', '-pthread', '-pthread',
> > '-pthread', '-pthread',
> >
> '-I/home/testuser/download/geany-plugins-master/_build_/addons/addons/src',
> > '-I/home/testuser/download/geany-plugins-master/addons/addons/src',
> > '-I/home/testuser/download/geany-plugins-master/_build_',
> > '-I/usr/include/gtk-2.0', '-I/usr/lib/gtk-2.0/include',
> > '-I/usr/include/atk-1.0', '-I/usr/include/cairo',
> > '-I/usr/include/gdk-pixbuf-2.0', '-I/usr/include/pango-1.0',
> > '-I/usr/include/glib-2.0', '-I/usr/lib/glib-2.0/include',
> > '-I/usr/include/pixman-1', '-I/usr/include/freetype2',
> > '-I/usr/include/libpng14', '-I/var/opt/include/geany',
> > '-I/var/opt/include/geany/tagmanager',
> > '-I/var/opt/include/geany/scintilla', '-DG_LOG_DOMAIN="Addons"',
> > '-DGTK', '../addons/src/ao_blanklines.c', '-c', '-o',
> > 'addons/src/ao_blanklines.c.1.o']
>
> Are the path correct? Where did you install geany to?
>
> Cheers,
> Frank
>
> _______________________________________________
> I18n mailing list
> I18n at lists.geany.org
> https://lists.geany.org/cgi-bin/mailman/listinfo/i18n
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geany.org/pipermail/i18n/attachments/20130228/efb5bf33/attachment.html>


More information about the I18n mailing list