AM_GNU_GETTEXT failing on fedora
I am trying to build from source but am getting errors -bash-4.3$ grep -n AM_GNU_GET /tmp/t 2595:m4/guestfs_libraries.m4:145: warning: macro 'AM_GNU_GETTEXT' not found in library 2598:m4/guestfs_libraries.m4:145: warning: macro 'AM_GNU_GETTEXT' not found in library 2600:configure:57872: error: possibly undefined macro: AM_GNU_GETTEXT 3834:./configure: line 57872: `AM_GNU_GETTEXT(external)' Dockerfile contents FROM fedora:latest RUN dnf update -y RUN dnf -y install 'dnf-command(config-manager)' RUN dnf config-manager --set-enabled 'updates-testing' RUN dnf update -y RUN dnf group install -y "C Development Tools and Libraries" RUN dnf group install -y "Development Tools" RUN dnf -y builddep libguestfs RUN cd / && git clone https://github.com/libguestfs/libguestfs.git RUN cd /libguestfs && ./autogen.sh Same problem if I build from stable branch. RUN cd / && git clone -b stable-1.36 https://github.com/libguestfs/libguestfs.git Any hints?
On Fri, Feb 02, 2018 at 11:12:10AM -0500, Marc Pawlowsky wrote:
I am trying to build from source but am getting errors -bash-4.3$ grep -n AM_GNU_GET /tmp/t
2595:m4/guestfs_libraries.m4:145: warning: macro 'AM_GNU_GETTEXT' not found in library 2598:m4/guestfs_libraries.m4:145: warning: macro 'AM_GNU_GETTEXT' not found in library 2600:configure:57872: error: possibly undefined macro: AM_GNU_GETTEXT 3834:./configure: line 57872: `AM_GNU_GETTEXT(external)'
Do you need to install gettext-devel? Rich.
Dockerfile contents
FROM fedora:latest RUN dnf update -y RUN dnf -y install 'dnf-command(config-manager)' RUN dnf config-manager --set-enabled 'updates-testing' RUN dnf update -y RUN dnf group install -y "C Development Tools and Libraries" RUN dnf group install -y "Development Tools" RUN dnf -y builddep libguestfs RUN cd / && git clone https://github.com/libguestfs/libguestfs.git RUN cd /libguestfs && ./autogen.sh
Same problem if I build from stable branch. RUN cd / && git clone -b stable-1.36 https://github.com/libguestfs/libguestfs.git
Any hints?
-- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into KVM guests. http://libguestfs.org/virt-v2v
participants (2)
-
Marc Pawlowsky -
Richard W.M. Jones