[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#21590: 25.0.50; MS-Windows; fns.c:4863:21: error: 'MD5_DIGEST_SIZE'
From: |
Keith David Bershatsky |
Subject: |
bug#21590: 25.0.50; MS-Windows; fns.c:4863:21: error: 'MD5_DIGEST_SIZE' undeclared (first use in this function) |
Date: |
Fri, 02 Oct 2015 00:00:13 -0700 |
I tracked down another build discrepancy this evening relating to a failure to
find `iconv.h`. It is caused because the default new installation of MinGW
comes with a later version of libiconv than used by ezwinports. I am pretty
certain the error comes about when adding `cairo-1.12.16-w32-bin.zip` from
ezwinports for the purposes mentioned in the `.../emacs/nt/INSTALL` readme
file. It might be caused by adding `p11-kit-0.9-w32-bin.zip` or
`pkg-config-0.28-w32-bin.zip`, but I don't think so. I have run so many builds
recently, it's hard to keep track.
I think the process of installing packages with MingGW has changed since the
early days when the `.../emacs/nt/INSTALL` was written. There are references
on the internet about placing the archives into the main root MinGW directory
and they will supposedly be recognized automatically; however, the current
installer seems to be using `C:\mingw\var\cache\mingw-get\packages` for storing
the default repositories. Placing the ezwinports dependencies into the MinGW
root directory or the latter packages directory is insufficient for the old
libiconv to be seen as an available install in the graphical installation
utility for MinGW. After a ton of Googles, I came up with the following to
remove the repository default of 1.14-3 and replace it with the older version:
c:\mingw\bin\mingw-get remove mingw32-libiconv
c:\mingw\bin\mingw-get install "libiconv=1.13.1-1"
The result is that the Emacs build no longer fails for failure to find
`iconv.h`.
I'm not sure how the issue above should be dealt with, but it certainly was
time consuming tracking it down.
On a different note, I haven't been able to configure `guntls` so that it shows
up automatically as an available "yes" Emacs install following a plain
`./configure --prefix=/my/path`. I have extracted all of the following from
ezwinports to the MinGW root:
gnutls-3.3.11-w32-bin.zip
p11-kit-0.9-w32-bin.zip
pkg-config-0.28-w32-bin.zip
gdk-pixbuf-2.30.2-w32-bin.zip
giflib-5.1.0-w32-bin.zip
glib-2.38.2-w32-bin.zip
jpeg-v9a-w32-bin.zip
libpng-1.6.12-w32-bin.zip
librsvg-2.40.1-2-w32-bin.zip
libxml2-2.7.8-w32-bin.zip
tiff-4.0.3-w32-bin.zip
zlib-1.2.8-2-w32-bin.zip
libXpm-3.5.11-w32-bin.zip
cairo-1.12.16-w32-bin.zip
Any ideas on how to make the guntls option show up as `yes` when running
`./configure` would be greatly appreciated. Perhaps it's another dependency
issue where something in MinGW is newer and needs to be downgraded?
Thanks,
Keith
- bug#21590: 25.0.50; MS-Windows; fns.c:4863:21: error: 'MD5_DIGEST_SIZE' undeclared (first use in this function), Keith David Bershatsky, 2015/10/08
- bug#21590: 25.0.50; MS-Windows; fns.c:4863:21: error: 'MD5_DIGEST_SIZE' undeclared (first use in this function), Glenn Morris, 2015/10/08
- bug#21590: 25.0.50; MS-Windows; fns.c:4863:21: error: 'MD5_DIGEST_SIZE' undeclared (first use in this function), Keith David Bershatsky, 2015/10/08
- bug#21590: 25.0.50; MS-Windows; fns.c:4863:21: error: 'MD5_DIGEST_SIZE' undeclared (first use in this function), Keith David Bershatsky, 2015/10/08
- bug#21590: 25.0.50; MS-Windows; fns.c:4863:21: error: 'MD5_DIGEST_SIZE' undeclared (first use in this function), Keith David Bershatsky, 2015/10/08
- bug#21590: 25.0.50; MS-Windows; fns.c:4863:21: error: 'MD5_DIGEST_SIZE' undeclared (first use in this function),
Keith David Bershatsky <=
- bug#21590: 25.0.50; MS-Windows; fns.c:4863:21: error: 'MD5_DIGEST_SIZE' undeclared (first use in this function), Keith David Bershatsky, 2015/10/08
- bug#21590: 25.0.50; MS-Windows; fns.c:4863:21: error: 'MD5_DIGEST_SIZE' undeclared (first use in this function), Keith David Bershatsky, 2015/10/08
- bug#21590: 25.0.50; MS-Windows; fns.c:4863:21: error: 'MD5_DIGEST_SIZE' undeclared (first use in this function), Keith David Bershatsky, 2015/10/08