bug-gnu-emacs
[Top][All Lists]
Advanced

[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 08:59:09 -0700

Thank you, Martin, for mentioning the git PATH -- I will update my 
"cheat-sheet" to set the PATH for `git` so that I don't receive an error 
message when running `autogen.sh` as to the `git` command not being found when 
it tries to update hooks, etc.

The advice by Eli on looking at the `config.log` to track down why gnutls was 
not available worked like a charm.  It told me that I was missing both 
`libtasn1` and `nettle`.  I downloaded and extracted `libtasn1-4.2-w32-bin.zip` 
and `nettle-2.7.1-w32-bin.zip` from ezwinports and now gnutls is detected 
during the configure and it says "yes" by default.

I didn't see any mention in the `gnutls` section of the `../emacs/nt/INSTALL` 
readme about the prerequisites of the above-mentioned two libraries `libtasn1` 
and `nettle`, so my suggestion would be to include a mention, and maybe even 
something about checking the `config.log` if there seems to be a problem.

The newer version of libiconv (i.e., 1.14-3) does not use `iconv.h`, so that is 
why the prior attempts at building emacs failed -- i.e., `missing` the file.  
Downgrading libiconv to 1.13.1-1 produces the required `iconv.h`, and that 
resolves the error message regarding the missing header file.

The version of `libintl` installed in MinGW is 0.18.3.2-2 -- `mingw32-libintl`, 
which traces to mingw32-gettext.  What version, please, should I be using (so 
that I can locate and downgrade if needed)?

The `MinGW Installation Manager` (graphical user interface) has a reference to 
the "Installed Version" and the "Repository Version" and that is where I am 
getting my information and terminology.  Simply placing the .tar.lzma files in 
the mingw32 installation folder `C:\mingw32` or 
`C:\mingw\var\cache\mingw-get\packages` does not automatically make it show up 
in the installation manager.  I tried clicking on the menubar Installation - 
Update Catalogue, but that didn't produce the expected result of showing 
1.13.1-1 as an available install option.  Ultimately, the following two command 
lines resolved the issue to remove libiconv 1.14-3 and then install 1.13.1-1.

c:\mingw\bin\mingw-get remove mingw32-libiconv

c:\mingw\bin\mingw-get install "libiconv=1.13.1-1"

Keith





reply via email to

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