MSYS throws the following error (problem with autotools and mingGW)

1k Views Asked by At

mysys throws the following error when I compile my source.

cd ../common/pcre-8.33 && autoreconf
aclocal: macro `_LT_DECL_SED' required but not defined
aclocal: macro `_LT_FUNC_STRIPNAME_CNF' required but not defined
autoreconf: aclocal failed with exit status: 1
make: *** [../common/pcre_win64/.libs/libpcre.a] Error 1

Here is what I did to setup my environment, don't know what I am doing wrong here.

1) downloaded mingGW (setting 64 bit, pthread) from https://sourceforge.net/projects/mingw/files/latest/download, and installed it

I added the bin folder to the path variable on windows

2) I downloaded the msys utility from here https://sourceforge.net/projects/mingw/files/MSYS/Base/msys-core/msys-1.0.11/MSYS-1.0.11.exe/download?use_mirror=excellmedia

I then edited the ftab file as follows c:/my mingw directory /mingw c:/my java directory /java

Afterwards I did the following as mentioned by mysys wiki c:/mingw /mingw c:/java /java

Install MSYS DTK 1.0 in C:\msys\1.0. Install MSYS Core 1.0.11. It is an archive. Untar it in C:\msys\1.0. Set the environment variable HOME to C:\msys\1.0\home

Now to install autotools I downloaded the source from here http://gnuwin32.sourceforge.net/packages/autoconf.htm

Then I navigated to the source directory, and run the following command as mentioned in wiki, which run fine

./configure --prefix=/mingw make make install

Can anyone guide me, so I know what I am doing wrong, the the correct procedure for working it up. Thanks

0

There are 0 best solutions below