help-libidn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Libidn 1.37 musl-x86_64 compilation issue


From: Simon Josefsson
Subject: Re: Libidn 1.37 musl-x86_64 compilation issue
Date: Fri, 21 May 2021 10:03:41 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Demetris <dem.procopiou@gmail.com> writes:

> Hi,
>
> I'm trying to compile libidn v.1.37 on Void Linux musl-x86_64 but getting
> an error. Any help would be appreciated.  Build log attached.
...
> => libidn-1.37_1: running pre-configure hook: 00-gnu-configure-asneeded ...
> => libidn-1.37_1: running pre-configure hook: 01-override-config ...
> => libidn-1.37_1: running pre-configure hook: 02-script-wrapper ...
> => libidn-1.37_1: running pre_configure ...
> Copying file build-aux/config.rpath
> Copying file lib/m4/codeset.m4
> Copying file lib/m4/extern-inline.m4
> Copying file lib/m4/fcntl-o.m4
> Copying file lib/m4/glibc2.m4
> Copying file lib/m4/glibc21.m4
> Copying file lib/m4/iconv.m4
> Copying file lib/m4/intdiv0.m4
> Copying file lib/m4/intl.m4
> Copying file lib/m4/intldir.m4
> Copying file lib/m4/intmax.m4
> ./stdint.h:89:5: error: #if with no expression
>    89 | #if
>       |     ^

Hi.  Thank you for testing!  That happens when the package is not
bootstraped properly, due to autoreconf importing too old wint_t.m4 and
other files.

I recommend building from the released tarball directly with ./configure
&& make, and not doing autoreconf.  If you really want to rebuild
everything from sources, you should follow the instructions in HACKING
and be prepared that these may change for every release:

https://git.savannah.gnu.org/cgit/libidn.git/tree/HACKING

See extra rules in bootstrap.conf on how to properly set the project up
for building; running autoreconf is not sufficient.  Some notes here:

https://git.savannah.gnu.org/cgit/libidn.git/tree/bootstrap.conf#n91

/Simon

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]