Building GEGL from git / error: possibly undefined macro: AM_GLIB_GNU_GETTEXT
This discussion is connected to the gegl-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.
This is a read-only list on gimpusers.com so this discussion thread is read-only, too.
Building GEGL from git / error: possibly undefined macro: AM_GLIB_GNU_GETTEXT | ChristophK | 31 Mar 15:19 |
Building GEGL from git / error: possibly undefined macro: AM_GLIB_GNU_GETTEXT | Michael Henning | 01 Apr 01:39 |
Building GEGL from git / error: possibly undefined macro: AM_GLIB_GNU_GETTEXT | ChristophK | 01 Apr 05:48 |
Building GEGL from git / error: possibly undefined macro: AM_GLIB_GNU_GETTEXT | Michael Henning | 01 Apr 14:18 |
Building GEGL from git / error: possibly undefined macro: AM_GLIB_GNU_GETTEXT
Windows 7 64bit / mingw32 / msys
Hi, I'm now trying to build GEGL from git, as supposed.
"./autogen.sh" fails with the following line: configure.ac:491: error: possibly undefined macro: AM_GLIB_GNU_GETTEXT
Please help.
Christoph
$ git clone git://git.gnome.org/gegl
Cloning into 'gegl'...
remote: Counting objects: 43860, done.
remote: Compressing objects: 100% (11539/11539), done.
remote: Total 43860 (delta 35544), reused 39562 (delta 32174) eceiving
objects: Receiving objects: 100% (43860/43860), 41.89 MiB | 565 KiB/s,
done.
Resolving deltas: 100% (35544/35544), done.
christoph@HTPC /k/daten/programmierung/libraries
$ cd gegl
$ export PKG_CONFIG_PATH=/gtk/lib/pkgconfig
$ export CPATH=/local/include:/local/include/babl-0.1
$ export LIBRARY_PATH=/local/lib
$ ./autogen.sh
autoreconf-2.68: Entering directory `.'
autoreconf-2.68: configure.ac: not using Gettext
autoreconf-2.68: running: aclocal --force -I m4 ${ACLOCAL_FLAGS}
configure.ac:420: warning: macro `AM_PATH_GLIB_2_0' not found in library
configure.ac:465: warning: macro `AM_GLIB_GNU_GETTEXT' not found in
library autoreconf-2.68: configure.ac: tracing
autoreconf-2.68: running: libtoolize --copy --force
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
configure.ac:420: warning: macro `AM_PATH_GLIB_2_0' not found in library
configure.ac:465: warning: macro `AM_GLIB_GNU_GETTEXT' not found in
library autoreconf-2.68: running: /mingw/bin/autoconf-2.68 --force
configure.ac:444: error: possibly undefined macro: AM_PATH_GLIB_2_0
If this token and others are legitimate, please use
m4_pattern_allow. See the Autoconf documentation.
configure.ac:491: error: possibly undefined macro: AM_GLIB_GNU_GETTEXT
autoreconf-2.68: /mingw/bin/autoconf-2.68 failed with exit status: 1
configure: error: cannot find install-sh, install.sh, or shtool in "."
"./.." ". /../.."
christoph@HTPC /k/daten/programmierung/libraries/gegl $
Building GEGL from git / error: possibly undefined macro: AM_GLIB_GNU_GETTEXT
This means that aclocal can't find the m4 files associated with gettext or glib.
If you don't have glib or gettext, you need to install them.
If you do have glib and gettext, you need to find their .m4 files and add the containing directories to the environment variable ACLOCAL_PATH (it's a colon separated list).
On Sun, Mar 31, 2013 at 11:19 AM, ChristophK wrote:
Windows 7 64bit / mingw32 / msys
Hi, I'm now trying to build GEGL from git, as supposed.
"./autogen.sh" fails with the following line: configure.ac:491: error: possibly undefined macro: AM_GLIB_GNU_GETTEXT
Please help.
Christoph
$ git clone git://git.gnome.org/gegl Cloning into 'gegl'...
remote: Counting objects: 43860, done. remote: Compressing objects: 100% (11539/11539), done. remote: Total 43860 (delta 35544), reused 39562 (delta 32174) eceiving objects: Receiving objects: 100% (43860/43860), 41.89 MiB | 565 KiB/s, done.Resolving deltas: 100% (35544/35544), done.
christoph@HTPC /k/daten/programmierung/libraries $ cd gegl
$ export PKG_CONFIG_PATH=/gtk/lib/pkgconfig $ export CPATH=/local/include:/local/include/babl-0.1 $ export LIBRARY_PATH=/local/lib
$ ./autogen.sh
autoreconf-2.68: Entering directory `.' autoreconf-2.68: configure.ac: not using Gettext autoreconf-2.68: running: aclocal --force -I m4 ${ACLOCAL_FLAGS} configure.ac:420: warning: macro `AM_PATH_GLIB_2_0' not found in library configure.ac:465: warning: macro `AM_GLIB_GNU_GETTEXT' not found in library autoreconf-2.68: configure.ac: tracing autoreconf-2.68: running: libtoolize --copy --force libtoolize: putting auxiliary files in `.'. libtoolize: copying file `./ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'. libtoolize: copying file `m4/libtool.m4' libtoolize: copying file `m4/ltoptions.m4' libtoolize: copying file `m4/ltsugar.m4' libtoolize: copying file `m4/ltversion.m4' libtoolize: copying file `m4/lt~obsolete.m4' configure.ac:420: warning: macro `AM_PATH_GLIB_2_0' not found in library configure.ac:465: warning: macro `AM_GLIB_GNU_GETTEXT' not found in library autoreconf-2.68: running: /mingw/bin/autoconf-2.68 --force configure.ac:444: error: possibly undefined macro: AM_PATH_GLIB_2_0 If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.ac:491: error: possibly undefined macro: AM_GLIB_GNU_GETTEXT autoreconf-2.68: /mingw/bin/autoconf-2.68 failed with exit status: 1 configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." ". /../.."christoph@HTPC /k/daten/programmierung/libraries/gegl $
_______________________________________________ gegl-developer-list mailing list
gegl-developer-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gegl-developer-list
Building GEGL from git / error: possibly undefined macro: AM_GLIB_GNU_GETTEXT
I'm using the GTK+-bundle that contains the corresponding m4 files:
$ export ACLOCAL_PATH=/gtk/share/aclocal
$ ls $ACLOCAL_PATH
freetype2.m4 glib-2.0.m4 glib-gettext.m4 gsettings.m4 gtk-2.0.m4
pkg.m4
Still, I keep getting the same error about missing Macros.
Apart from the macro-problem, the script complains about other missing files:
install-sh
missing
config.sub
config.guess
... maybe more
These files are available in the BABL git root directory, but not in the GEGL directory.
I'm not familiar with autogen.sh, autoconf, autotools, etc. but it seems to me there is missing something in the GEGL tree, not on my system.
Christoph
On Sun, 31 Mar 2013 21:39:04 -0400 Michael Henning wrote:
This means that aclocal can't find the m4 files associated with gettext or glib.
If you don't have glib or gettext, you need to install them.
If you do have glib and gettext, you need to find their .m4 files and add the containing directories to the environment variable ACLOCAL_PATH (it's a colon separated list).
On Sun, Mar 31, 2013 at 11:19 AM, ChristophK wrote:
Windows 7 64bit / mingw32 / msyscd ..
Hi, I'm now trying to build GEGL from git, as supposed.
"./autogen.sh" fails with the following line: configure.ac:491: error: possibly undefined macro: AM_GLIB_GNU_GETTEXT
Please help.
Christoph
$ git clone git://git.gnome.org/gegl Cloning into 'gegl'...
remote: Counting objects: 43860, done. remote: Compressing objects: 100% (11539/11539), done. remote: Total 43860 (delta 35544), reused 39562 (delta 32174) eceiving objects: Receiving objects: 100% (43860/43860), 41.89 MiB | 565 KiB/s, done.Resolving deltas: 100% (35544/35544), done.
christoph@HTPC /k/daten/programmierung/libraries $ cd gegl
$ export PKG_CONFIG_PATH=/gtk/lib/pkgconfig $ export CPATH=/local/include:/local/include/babl-0.1 $ export LIBRARY_PATH=/local/lib
$ ./autogen.sh
autoreconf-2.68: Entering directory `.' autoreconf-2.68: configure.ac: not using Gettext autoreconf-2.68: running: aclocal --force -I m4 ${ACLOCAL_FLAGS} configure.ac:420: warning: macro `AM_PATH_GLIB_2_0' not found in library configure.ac:465: warning: macro `AM_GLIB_GNU_GETTEXT' not found in library autoreconf-2.68: configure.ac: tracing autoreconf-2.68: running: libtoolize --copy --force libtoolize: putting auxiliary files in `.'. libtoolize: copying file `./ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'. libtoolize: copying file `m4/libtool.m4' libtoolize: copying file `m4/ltoptions.m4' libtoolize: copying file `m4/ltsugar.m4' libtoolize: copying file `m4/ltversion.m4' libtoolize: copying file `m4/lt~obsolete.m4' configure.ac:420: warning: macro `AM_PATH_GLIB_2_0' not found in library configure.ac:465: warning: macro `AM_GLIB_GNU_GETTEXT' not found in library autoreconf-2.68: running: /mingw/bin/autoconf-2.68 --force configure.ac:444: error: possibly undefined macro: AM_PATH_GLIB_2_0 If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.ac:491: error: possibly undefined macro: AM_GLIB_GNU_GETTEXT autoreconf-2.68: /mingw/bin/autoconf-2.68 failed with exit status: 1 configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." ". /../.."christoph@HTPC /k/daten/programmierung/libraries/gegl $
_______________________________________________ gegl-developer-list mailing list
gegl-developer-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gegl-developer-list_______________________________________________ gegl-developer-list mailing list
gegl-developer-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gegl-developer-list
Building GEGL from git / error: possibly undefined macro: AM_GLIB_GNU_GETTEXT
Try running autogen like this:
ACLOCAL='aclocal -I /gtk/share/aclocal' ./autogen.sh
(add your normal configure options to the end of the command)
Those files (install-sh, missing, config.sub, config.guess) should be created by autogen, but they aren't being created because it's erroring out early.
On Mon, Apr 1, 2013 at 1:48 AM, ChristophK wrote:
I'm using the GTK+-bundle that contains the corresponding m4 files:
$ export ACLOCAL_PATH=/gtk/share/aclocal $ ls $ACLOCAL_PATH
freetype2.m4 glib-2.0.m4 glib-gettext.m4 gsettings.m4 gtk-2.0.m4 pkg.m4Still, I keep getting the same error about missing Macros.
Apart from the macro-problem, the script complains about other missing files:
install-sh
missing
config.sub
config.guess
... maybe moreThese files are available in the BABL git root directory, but not in the GEGL directory.
I'm not familiar with autogen.sh, autoconf, autotools, etc. but it seems to me there is missing something in the GEGL tree, not on my system.
Christoph
On Sun, 31 Mar 2013 21:39:04 -0400 Michael Henning wrote:
This means that aclocal can't find the m4 files associated with gettext or glib.
If you don't have glib or gettext, you need to install them.
If you do have glib and gettext, you need to find their .m4 files and add the containing directories to the environment variable ACLOCAL_PATH (it's a colon separated list).
On Sun, Mar 31, 2013 at 11:19 AM, ChristophK wrote:
Windows 7 64bit / mingw32 / msyscd ..
Hi, I'm now trying to build GEGL from git, as supposed.
"./autogen.sh" fails with the following line: configure.ac:491: error: possibly undefined macro: AM_GLIB_GNU_GETTEXT
Please help.
Christoph
$ git clone git://git.gnome.org/gegl Cloning into 'gegl'...
remote: Counting objects: 43860, done. remote: Compressing objects: 100% (11539/11539), done. remote: Total 43860 (delta 35544), reused 39562 (delta 32174) eceiving objects: Receiving objects: 100% (43860/43860), 41.89 MiB | 565 KiB/s, done.Resolving deltas: 100% (35544/35544), done.
christoph@HTPC /k/daten/programmierung/libraries $ cd gegl
$ export PKG_CONFIG_PATH=/gtk/lib/pkgconfig $ export CPATH=/local/include:/local/include/babl-0.1 $ export LIBRARY_PATH=/local/lib
$ ./autogen.sh
autoreconf-2.68: Entering directory `.' autoreconf-2.68: configure.ac: not using Gettext autoreconf-2.68: running: aclocal --force -I m4 ${ACLOCAL_FLAGS} configure.ac:420: warning: macro `AM_PATH_GLIB_2_0' not found in library configure.ac:465: warning: macro `AM_GLIB_GNU_GETTEXT' not found in library autoreconf-2.68: configure.ac: tracing autoreconf-2.68: running: libtoolize --copy --force libtoolize: putting auxiliary files in `.'. libtoolize: copying file `./ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'. libtoolize: copying file `m4/libtool.m4' libtoolize: copying file `m4/ltoptions.m4' libtoolize: copying file `m4/ltsugar.m4' libtoolize: copying file `m4/ltversion.m4' libtoolize: copying file `m4/lt~obsolete.m4' configure.ac:420: warning: macro `AM_PATH_GLIB_2_0' not found in library configure.ac:465: warning: macro `AM_GLIB_GNU_GETTEXT' not found in library autoreconf-2.68: running: /mingw/bin/autoconf-2.68 --force configure.ac:444: error: possibly undefined macro: AM_PATH_GLIB_2_0 If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.ac:491: error: possibly undefined macro: AM_GLIB_GNU_GETTEXT autoreconf-2.68: /mingw/bin/autoconf-2.68 failed with exit status: 1 configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." ". /../.."christoph@HTPC /k/daten/programmierung/libraries/gegl $
_______________________________________________ gegl-developer-list mailing list
gegl-developer-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gegl-developer-list_______________________________________________ gegl-developer-list mailing list
gegl-developer-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gegl-developer-list_______________________________________________ gegl-developer-list mailing list
gegl-developer-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gegl-developer-list