[Debian-med-packaging] Problems with autoconf in pftools
Lukas Schwaighofer
lukas at schwaighofer.name
Mon Mar 27 17:43:15 UTC 2017
Hi,
On Mon, 27 Mar 2017 14:04:01 +0200
Andreas Tille <andreas at an3as.eu> wrote:
> I try to package pftools[1]. Unfortunately autoreconf throws the
> following error:
>
> dh_autoreconf -O--no-parallel
> configure.ac:6: error: possibly undefined macro: AC_MSG_NOTICE
> If this token and others are legitimate, please use
> m4_pattern_allow. See the Autoconf documentation.
> configure.ac:51: error: possibly undefined macro: AC_SUBST
> autoreconf: /usr/bin/autoconf failed with exit status: 1
> dh_autoreconf: autoreconf -f -i returned exit code 1
> debian/rules:8: recipe for target 'build' failed
>
>
> Websearches resulted in adding pkg-config to Build-Depends but I
> admit I do not understand why this should help to find macros that
> are in autoconf doc - and it actually does not help. Any other hints
> to get this working?
configure.ac uses the AX_PTHREAD macro, you need to build depend on
autoconf-archive (which contains /usr/share/aclocal/ax_pthread.m4).
Btw, brackets in lines 98-101 of configure.ac, where AX_PTHREAD is used,
look really wrong (though I'm not an autoconf expert).
Regards
Lukas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20170327/a087a88b/attachment.sig>
More information about the Debian-med-packaging
mailing list