How to compile gettext in MSYS2 using x86_64-w64-mingw32-gcc

1

I'm doing a series of recompilations to set up a custom QEMU for my microcontroller studies, I succeeded in compiling a few packages up to gettext, after reading all the instruction files in their directory and fetching on the internet advice and tips , besides reading scripts that apparently would be a success I still could not get past make.

Follow these steps

git clone git://git.savannah.gnu.org/gettext.git
cd gettext
git checkout v0.19.8.1
GNULIB_SRCDIR=../gnulib \
        GNULIB_TOOL=../gnulib-tool \
        ./autogen.sh
mkdir build
cd build
../configure \
    --host=x86_64-w64-mingw32 \
    --prefix=/mingw64 \
    --with-gnu-ld \
    --without-bzip2 \
    --without-xz \
    --without-emacs \
    --without-lispdir \
    --without-cvs \
    --disable-doc \
    --disable-java \
    --disable-native-java \
    --disable-c++ \
    --disable-libasprintf \
    --disable-openmp \
    --disable-csharp \
    --enable-threads=win32 \
    --enable-relocatable \
    --build=x86_64-w64-mingw32
make

When I run make after a few minutes, both make and configure naturally take a few minutes to complete, I get the following error message:

libtool: compile:  no -DHAVE_CONFIG_H -DEXEEXT=\".exe\" -DEXEEXT=\".exe\" -DEXEEXT=\".exe\" -I. -I.. -I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -DLIBXML_STATIC -DGNULIB_DEFINED_ERROR -I/mingw64/include/glib-2.0 -I/mingw64/lib/glib-2.0/include -I./libcroco -c ../woe32dll/c++html-styled-ostream.cc  -o ../woe32dll/.libs/c++html-styled-ostream.o
../libtool: line 1779: no: command not found
make[5]: *** [Makefile:3202: ../woe32dll/c++html-styled-ostream.lo] Error 1
make[5]: Leaving directory '/c/Users/consu_000/workspace/workspace_ARM_Studies/qemu-delfino/gettext2/gettext-tools/gnulib-lib'
make[4]: *** [Makefile:2618: all] Error 2
make[4]: Leaving directory '/c/Users/consu_000/workspace/workspace_ARM_Studies/qemu-delfino/gettext2/gettext-tools/gnulib-lib'
make[3]: *** [Makefile:2028: all-recursive] Error 1
make[3]: Leaving directory '/c/Users/consu_000/workspace/workspace_ARM_Studies/qemu-delfino/gettext2/gettext-tools'
make[2]: *** [Makefile:1894: all] Error 2
make[2]: Leaving directory '/c/Users/consu_000/workspace/workspace_ARM_Studies/qemu-delfino/gettext2/gettext-tools'
make[1]: *** [Makefile:413: all-recursive] Error 1
make[1]: Leaving directory '/c/Users/consu_000/workspace/workspace_ARM_Studies/qemu-delfino/gettext2'
make: *** [Makefile:369: all] Error 2

I have tried several times, and I have received other messages, but this is the one I receive in the initial attempt.

The interesting thing is to complain about the absence of the command in, I do not know this command, and in the searches that I did in Google I did not have healthy results.

Where is my error, and how do I fix it?

    
asked by anonymous 24.10.2016 / 13:53

0 answers