Re: Git / Compilation error
I do that each time The problem arises on recent git only On 2021-03-04 08:16, Aki Tuomi wrote: Try running `autoreconf -vi` Aki On 04/03/2021 10:13 Joan Moreau wrote: I already have this file (dovecot compilation was working fine until recent git) [root@gjserver dovecot]# ls -al /usr/share/aclocal/gettext.m4 -rw-r--r-- 1 root root 14488 Aug 4 2020 /usr/share/aclocal/gettext.m4 On 2021-03-04 08:09, Aki Tuomi wrote: You need to find package on your system which contains /usr/share/aclocal/gettext.m4 or similar. This provides AM_ICONV. Aki On 04/03/2021 10:07 Joan Moreau wrote: Hello I already have gettext [root@gjserver dovecot]# pacman -S gettext warning: gettext-0.21-1 is up to date -- reinstalling resolving dependencies... looking for conflicting packages... Package (1) Old Version New Version Net Change core/gettext 0.21-1 0.21-1 0.00 MiB On 2021-03-04 08:03, Aki Tuomi wrote: You need to install gettext Aki On 04/03/2021 10:02 Joan Moreau wrote: Hello, With latest git, I get the following error : configure.ac:761: the top level configure.ac:22: error: possibly undefined macro: AC_DEFINE If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.ac:205: error: possibly undefined macro: AC_MSG_ERROR configure.ac:247: error: possibly undefined macro: AS_IF configure.ac:303: error: possibly undefined macro: AM_ICONV configure.ac:434: error: possibly undefined macro: AC_CHECK_HEADER configure:28073: error: possibly undefined macro: AC_CHECK_FUNC Something I am missing? Thank you
Re: Git / Compilation error
I already have this file (dovecot compilation was working fine until recent git) [root@gjserver dovecot]# ls -al /usr/share/aclocal/gettext.m4 -rw-r--r-- 1 root root 14488 Aug 4 2020 /usr/share/aclocal/gettext.m4 On 2021-03-04 08:09, Aki Tuomi wrote: You need to find package on your system which contains /usr/share/aclocal/gettext.m4 or similar. This provides AM_ICONV. Aki On 04/03/2021 10:07 Joan Moreau wrote: Hello I already have gettext [root@gjserver dovecot]# pacman -S gettext warning: gettext-0.21-1 is up to date -- reinstalling resolving dependencies... looking for conflicting packages... Package (1) Old Version New Version Net Change core/gettext 0.21-1 0.21-1 0.00 MiB On 2021-03-04 08:03, Aki Tuomi wrote: You need to install gettext Aki On 04/03/2021 10:02 Joan Moreau wrote: Hello, With latest git, I get the following error : configure.ac:761: the top level configure.ac:22: error: possibly undefined macro: AC_DEFINE If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.ac:205: error: possibly undefined macro: AC_MSG_ERROR configure.ac:247: error: possibly undefined macro: AS_IF configure.ac:303: error: possibly undefined macro: AM_ICONV configure.ac:434: error: possibly undefined macro: AC_CHECK_HEADER configure:28073: error: possibly undefined macro: AC_CHECK_FUNC Something I am missing? Thank you
Re: Git / Compilation error
Hello I already have gettext [root@gjserver dovecot]# pacman -S gettext warning: gettext-0.21-1 is up to date -- reinstalling resolving dependencies... looking for conflicting packages... Package (1) Old Version New Version Net Change core/gettext 0.21-1 0.21-1 0.00 MiB On 2021-03-04 08:03, Aki Tuomi wrote: You need to install gettext Aki On 04/03/2021 10:02 Joan Moreau wrote: Hello, With latest git, I get the following error : configure.ac:761: the top level configure.ac:22: error: possibly undefined macro: AC_DEFINE If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.ac:205: error: possibly undefined macro: AC_MSG_ERROR configure.ac:247: error: possibly undefined macro: AS_IF configure.ac:303: error: possibly undefined macro: AM_ICONV configure.ac:434: error: possibly undefined macro: AC_CHECK_HEADER configure:28073: error: possibly undefined macro: AC_CHECK_FUNC Something I am missing? Thank you
Git / Compilation error
Hello, With latest git, I get the following error : configure.ac:761: the top level configure.ac:22: error: possibly undefined macro: AC_DEFINE If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.ac:205: error: possibly undefined macro: AC_MSG_ERROR configure.ac:247: error: possibly undefined macro: AS_IF configure.ac:303: error: possibly undefined macro: AM_ICONV configure.ac:434: error: possibly undefined macro: AC_CHECK_HEADER configure:28073: error: possibly undefined macro: AC_CHECK_FUNC Something I am missing? Thank you
Re: Git / Compilation error
I am unable to reproduce this locally. We use `./autogen.sh` to bootstrap the automake system. Our testing system does this every time on clean git tree, which is ran multiple times on every day. It seems to be somehow related to your system, or some change that your system is not happy with. Can you try bisect it to find out which commit possibly caused it? Aki > On 04/03/2021 10:33 Joan Moreau wrote: > > > I do that each time > The problem arises on recent git only > > > > On 2021-03-04 08:16, Aki Tuomi wrote: > > Try running `autoreconf -vi` > > > > Aki > > > > > > > On 04/03/2021 10:13 Joan Moreau wrote: > > > > > > > > > I already have this file (dovecot compilation was working fine until > > > recent git) > > > [root@gjserver dovecot]# ls -al /usr/share/aclocal/gettext.m4 > > > -rw-r--r-- 1 root root 14488 Aug 4 2020 /usr/share/aclocal/gettext.m4 > > > > > > > > > > > > On 2021-03-04 08:09, Aki Tuomi wrote: > > > > You need to find package on your system which contains > > > > > > > > /usr/share/aclocal/gettext.m4 > > > > > > > > or similar. This provides AM_ICONV. > > > > > > > > Aki > > > > > > > > > > > > > > > > > On 04/03/2021 10:07 Joan Moreau wrote: > > > > > > > > > > > > > > > Hello > > > > > I already have gettext > > > > > [root@gjserver dovecot]# pacman -S gettext > > > > > warning: gettext-0.21-1 is up to date -- reinstalling > > > > > resolving dependencies... > > > > > looking for conflicting packages... > > > > > Package (1) Old Version New Version Net Change > > > > > core/gettext 0.21-1 0.21-1 0.00 MiB > > > > > > > > > > > > > > > > > > > > > > > > > On 2021-03-04 08:03, Aki Tuomi wrote: > > > > > > You need to install gettext > > > > > > > > > > > > Aki > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On 04/03/2021 10:02 Joan Moreau wrote: > > > > > > > > > > > > > > > > > > > > > Hello, > > > > > > > With latest git, I get the following error : > > > > > > > configure.ac:761: the top level > > > > > > > configure.ac:22: error: possibly undefined macro: AC_DEFINE > > > > > > > If this token and others are legitimate, please use > > > > > > > m4_pattern_allow. > > > > > > > See the Autoconf documentation. > > > > > > > configure.ac:205: error: possibly undefined macro: AC_MSG_ERROR > > > > > > > configure.ac:247: error: possibly undefined macro: AS_IF > > > > > > > configure.ac:303: error: possibly undefined macro: AM_ICONV > > > > > > > configure.ac:434: error: possibly undefined macro: AC_CHECK_HEADER > > > > > > > configure:28073: error: possibly undefined macro: AC_CHECK_FUNC > > > > > > > > > > > > > > Something I am missing? > > > > > > > Thank you > > > > > > >
Re: Git / Compilation error
Try running `autoreconf -vi` Aki > On 04/03/2021 10:13 Joan Moreau wrote: > > > I already have this file (dovecot compilation was working fine until recent > git) > [root@gjserver dovecot]# ls -al /usr/share/aclocal/gettext.m4 > -rw-r--r-- 1 root root 14488 Aug 4 2020 /usr/share/aclocal/gettext.m4 > > > > On 2021-03-04 08:09, Aki Tuomi wrote: > > You need to find package on your system which contains > > > > /usr/share/aclocal/gettext.m4 > > > > or similar. This provides AM_ICONV. > > > > Aki > > > > > > > On 04/03/2021 10:07 Joan Moreau wrote: > > > > > > > > > Hello > > > I already have gettext > > > [root@gjserver dovecot]# pacman -S gettext > > > warning: gettext-0.21-1 is up to date -- reinstalling > > > resolving dependencies... > > > looking for conflicting packages... > > > Package (1) Old Version New Version Net Change > > > core/gettext 0.21-1 0.21-1 0.00 MiB > > > > > > > > > > > > > > > On 2021-03-04 08:03, Aki Tuomi wrote: > > > > You need to install gettext > > > > > > > > Aki > > > > > > > > > > > > > > > > > On 04/03/2021 10:02 Joan Moreau wrote: > > > > > > > > > > > > > > > Hello, > > > > > With latest git, I get the following error : > > > > > configure.ac:761: the top level > > > > > configure.ac:22: error: possibly undefined macro: AC_DEFINE > > > > > If this token and others are legitimate, please use m4_pattern_allow. > > > > > See the Autoconf documentation. > > > > > configure.ac:205: error: possibly undefined macro: AC_MSG_ERROR > > > > > configure.ac:247: error: possibly undefined macro: AS_IF > > > > > configure.ac:303: error: possibly undefined macro: AM_ICONV > > > > > configure.ac:434: error: possibly undefined macro: AC_CHECK_HEADER > > > > > configure:28073: error: possibly undefined macro: AC_CHECK_FUNC > > > > > > > > > > Something I am missing? > > > > > Thank you > > > > >
Re: Git / Compilation error
You need to find package on your system which contains /usr/share/aclocal/gettext.m4 or similar. This provides AM_ICONV. Aki > On 04/03/2021 10:07 Joan Moreau wrote: > > > Hello > I already have gettext > [root@gjserver dovecot]# pacman -S gettext > warning: gettext-0.21-1 is up to date -- reinstalling > resolving dependencies... > looking for conflicting packages... > Package (1) Old Version New Version Net Change > core/gettext 0.21-1 0.21-1 0.00 MiB > > > > > On 2021-03-04 08:03, Aki Tuomi wrote: > > You need to install gettext > > > > Aki > > > > > > > On 04/03/2021 10:02 Joan Moreau wrote: > > > > > > > > > Hello, > > > With latest git, I get the following error : > > > configure.ac:761: the top level > > > configure.ac:22: error: possibly undefined macro: AC_DEFINE > > > If this token and others are legitimate, please use m4_pattern_allow. > > > See the Autoconf documentation. > > > configure.ac:205: error: possibly undefined macro: AC_MSG_ERROR > > > configure.ac:247: error: possibly undefined macro: AS_IF > > > configure.ac:303: error: possibly undefined macro: AM_ICONV > > > configure.ac:434: error: possibly undefined macro: AC_CHECK_HEADER > > > configure:28073: error: possibly undefined macro: AC_CHECK_FUNC > > > > > > Something I am missing? > > > Thank you > > >
Re: Git / Compilation error
You need to install gettext Aki > On 04/03/2021 10:02 Joan Moreau wrote: > > > Hello, > With latest git, I get the following error : > configure.ac:761: the top level > configure.ac:22: error: possibly undefined macro: AC_DEFINE > If this token and others are legitimate, please use m4_pattern_allow. > See the Autoconf documentation. > configure.ac:205: error: possibly undefined macro: AC_MSG_ERROR > configure.ac:247: error: possibly undefined macro: AS_IF > configure.ac:303: error: possibly undefined macro: AM_ICONV > configure.ac:434: error: possibly undefined macro: AC_CHECK_HEADER > configure:28073: error: possibly undefined macro: AC_CHECK_FUNC > > Something I am missing? > Thank you >