Hello,
Are there any build instructions for macOS users? I got the following output when I try to build the geany Lua plugin.
Command: `./autogen.sh --disable-all-plugins --enable-geanylua=auto`
Output: ` You should update your 'aclocal.m4' by running aclocal. autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I build/cache -I build -I build/bundled -I geanypy/m4 --install build/i18n.m4:15: warning: macro 'AM_GLIB_GNU_GETTEXT' not found in library configure.ac:20: warning: AM_NLS is m4_require'd but not m4_defun'd build/cache/intltool.m4:160: IT_PROG_INTLTOOL is expanded from... configure.ac:20: the top level configure.ac:24: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd build/geany.m4:44: GP_CHECK_GEANY is expanded from... configure.ac:24: the top level configure.ac:24: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd build/geany.m4:9: _GP_GEANY_LIBDIR is expanded from... build/geany.m4:20: GP_GEANY_PKG_CONFIG_PATH_PUSH is expanded from... build/geany.m4:44: GP_CHECK_GEANY is expanded from... configure.ac:24: the top level configure.ac:26: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd build/gtk.m4:23: GP_CHECK_GTK_VERSION is expanded from... configure.ac:26: the top level configure.ac:27: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd build/compat.m4:18: PKG_CHECK_VAR is expanded from... build/cppcheck.m4:28: GP_CHECK_CPPCHECK is expanded from... configure.ac:27: the top level configure.ac:20: warning: AM_NLS is m4_require'd but not m4_defun'd build/cache/intltool.m4:160: IT_PROG_INTLTOOL is expanded from... configure.ac:20: the top level configure.ac:24: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd build/geany.m4:44: GP_CHECK_GEANY is expanded from... configure.ac:24: the top level configure.ac:24: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd build/geany.m4:9: _GP_GEANY_LIBDIR is expanded from... build/geany.m4:20: GP_GEANY_PKG_CONFIG_PATH_PUSH is expanded from... build/geany.m4:44: GP_CHECK_GEANY is expanded from... configure.ac:24: the top level configure.ac:26: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd build/gtk.m4:23: GP_CHECK_GTK_VERSION is expanded from... configure.ac:26: the top level configure.ac:27: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd build/compat.m4:18: PKG_CHECK_VAR is expanded from... build/cppcheck.m4:28: GP_CHECK_CPPCHECK is expanded from... configure.ac:27: the top level autoreconf: configure.ac: tracing configure.ac:20: warning: AM_NLS is m4_require'd but not m4_defun'd build/cache/intltool.m4:160: IT_PROG_INTLTOOL is expanded from... configure.ac:20: the top level configure.ac:24: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd build/geany.m4:44: GP_CHECK_GEANY is expanded from... configure.ac:24: the top level configure.ac:24: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd build/geany.m4:9: _GP_GEANY_LIBDIR is expanded from... build/geany.m4:20: GP_GEANY_PKG_CONFIG_PATH_PUSH is expanded from... build/geany.m4:44: GP_CHECK_GEANY is expanded from... configure.ac:24: the top level configure.ac:26: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd build/gtk.m4:23: GP_CHECK_GTK_VERSION is expanded from... configure.ac:26: the top level configure.ac:27: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd build/compat.m4:18: PKG_CHECK_VAR is expanded from... build/cppcheck.m4:28: GP_CHECK_CPPCHECK is expanded from... configure.ac:27: the top level autoreconf: running: glibtoolize --copy --force glibtoolize: putting auxiliary files in '.'. glibtoolize: copying file './ltmain.sh' glibtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'build/cache'. glibtoolize: copying file 'build/cache/libtool.m4' glibtoolize: copying file 'build/cache/ltoptions.m4' glibtoolize: copying file 'build/cache/ltsugar.m4' glibtoolize: copying file 'build/cache/ltversion.m4' glibtoolize: copying file 'build/cache/lt~obsolete.m4' build/i18n.m4:15: warning: macro 'AM_GLIB_GNU_GETTEXT' not found in library configure.ac:20: warning: AM_NLS is m4_require'd but not m4_defun'd build/cache/intltool.m4:160: IT_PROG_INTLTOOL is expanded from... configure.ac:20: the top level configure.ac:24: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd build/geany.m4:44: GP_CHECK_GEANY is expanded from... configure.ac:24: the top level configure.ac:24: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd build/geany.m4:9: _GP_GEANY_LIBDIR is expanded from... build/geany.m4:20: GP_GEANY_PKG_CONFIG_PATH_PUSH is expanded from... build/geany.m4:44: GP_CHECK_GEANY is expanded from... configure.ac:24: the top level configure.ac:26: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd build/gtk.m4:23: GP_CHECK_GTK_VERSION is expanded from... configure.ac:26: the top level configure.ac:27: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd build/compat.m4:18: PKG_CHECK_VAR is expanded from... build/cppcheck.m4:28: GP_CHECK_CPPCHECK is expanded from... configure.ac:27: the top level configure.ac:20: warning: AM_NLS is m4_require'd but not m4_defun'd build/cache/intltool.m4:160: IT_PROG_INTLTOOL is expanded from... configure.ac:20: the top level configure.ac:24: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd build/geany.m4:44: GP_CHECK_GEANY is expanded from... configure.ac:24: the top level configure.ac:24: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd build/geany.m4:9: _GP_GEANY_LIBDIR is expanded from... build/geany.m4:20: GP_GEANY_PKG_CONFIG_PATH_PUSH is expanded from... build/geany.m4:44: GP_CHECK_GEANY is expanded from... configure.ac:24: the top level configure.ac:26: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd build/gtk.m4:23: GP_CHECK_GTK_VERSION is expanded from... configure.ac:26: the top level configure.ac:27: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd build/compat.m4:18: PKG_CHECK_VAR is expanded from... build/cppcheck.m4:28: GP_CHECK_CPPCHECK is expanded from... configure.ac:27: the top level autoreconf: running: /usr/local/Cellar/autoconf/2.69/bin/autoconf --force configure.ac:20: warning: AM_NLS is m4_require'd but not m4_defun'd build/cache/intltool.m4:160: IT_PROG_INTLTOOL is expanded from... configure.ac:20: the top level configure.ac:24: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd build/geany.m4:44: GP_CHECK_GEANY is expanded from... configure.ac:24: the top level configure.ac:24: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd build/geany.m4:9: _GP_GEANY_LIBDIR is expanded from... build/geany.m4:20: GP_GEANY_PKG_CONFIG_PATH_PUSH is expanded from... build/geany.m4:44: GP_CHECK_GEANY is expanded from... configure.ac:24: the top level configure.ac:26: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd build/gtk.m4:23: GP_CHECK_GTK_VERSION is expanded from... configure.ac:26: the top level configure.ac:27: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd build/compat.m4:18: PKG_CHECK_VAR is expanded from... build/cppcheck.m4:28: GP_CHECK_CPPCHECK is expanded from... configure.ac:27: the top level configure:13406: error: possibly undefined macro: AM_NLS If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure:13948: error: possibly undefined macro: AM_GLIB_GNU_GETTEXT configure:13987: error: possibly undefined macro: AM_CONDITIONAL configure:14409: error: possibly undefined macro: m4_tolower configure:14409: error: possibly undefined macro: AS_TR_SH autoreconf: /usr/local/Cellar/autoconf/2.69/bin/autoconf failed with exit status: 1 `
All I want is just to build the Geany Lua plugin for macOS (and probably Windows). It does not seem it is released anywhere in a binary form?
System Info:
MacBook Pro 2019 16inch macOS Catalina (10.15.7) Processor: 2.4 Ghz 8-Core Intel i9 Memory: 64GB 2667 MHz DDR4 Installed Build Tools: autoconf 2.69 automake 1.16.3 intltool 0.51.0 libtool 2.4.6_2
Any help would be appreciated or if I need to provide anything else.
Please and thanks
It looks like you don't have the _development_ libraries for Glib and GTK installed?
See also https://github.com/geany/geany-osx
See also https://github.com/geany/geany-osx
Thanks @elextr Is there an alternate repository for the plugins as well for macOS? My main goal was just to use / enable the GeanyLua plugin but it looks like that plugin must be built by the user to be used? Am I understanding this correctly? I did intend to really do any building or compilation for any part of the text editor. Most of the other plugins came up in the PluginManager when I tried enabling them....not sure why the ones prefixed with Geany do not.
Please and thanks.
Note that Geanylua has no maintainer so its not being updated and will bitrot, as 1.37 its in Debian 11 so it still builds on Linux, but its possible it never built for OSX/macos or has broken recently.
github-comments@lists.geany.org