[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: |
Wed, 30 Sep 2015 22:02:21 -0700 |
Here is the updated `cheat sheet` to building Emacs master branch on
MS-Windows. Future updates will be made to the applicable thread on
emacs.stackexchange.com
http://emacs.stackexchange.com/q/16971/2287
This answer was tested on WindowsXP--SP3. The installation paths will need to
be adjusted based on the individual preferences of the user. In this example:
- The desktop is: `C:\Documents and Settings\lawlist\Desktop`
- The `git` installation is: `C:\git`
- The `MinGW` installation is: `C:\mingw`
- The git download location of Emacs master branch is: `C:\Documents and
Settings\lawlist\Desktop\emacs`
- The target for Emacs installation is: `C:\Documents and
Settings\lawlist\Desktop\trunk`
**Step Number 1**: Install `git` and be sure to select "checkout as-is, commit
as-is" during installation:
https://git-scm.com/download/win
Git-2.5.3-32-bit.exe
Run the installer.
Next
Next
Standard installation directory is `C:\Program Files\Git`, but I chose instead:
c:\git
Select components: default is okay, but I chose nothing instead.
Select start menu folder: default is okay, bit I chose not to create a folder
instead.
Adjusting your PATH environment: default is okay: Use Git from Bash only.
;; For this next section, pay close attention to the non-default setting -- see
Emacs bug #21582.
Configure the line ending conversions: Emacs requires a non-default setting of
"checkout as-is, commit as-is"
Configuring the terminal emulator to use with Git Bash: default is okay: Use
MinTTY (the default terminal of MSys2)
Configuring experimental performance tweaks: I chose NOT to "Enable file
system caching".
Finish [view release notes if so desired]
**Step Number 2**: Install `MinGW`
http://www.mingw.org/wiki/Getting_Started
mingw-get-setup.exe
c:\mingw\bin\mingw-get install mingw32-base
c:\mingw\bin\mingw-get install msys-base
c:\mingw\bin\mingw-get install autoconf
c:\mingw\bin\mingw-get install automake
c:\mingw\bin\mingw-get install msys-coreutils
c:\mingw\msys\1.0\msys.bat
mount c:/mingw /mingw
**Step Number 3**: Download the following `ezwinports` zipped packages and
extract to the root `mingw` directory.
https://sourceforge.net/projects/ezwinports/files/
;; unzip all of the following ezwinports packages into `c:/mingw`, overwriting
any duplicates.
`gdk-pixbuf-2.30.2-w32-bin.zip`
`giflib-5.1.0-w32-bin.zip`
`glib-2.38.2-w32-bin.zip`
`gnutls-3.3.11-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`
**Step Number 4**: Obtain support for XPM.
https://sourceforge.net/projects/gnuwin32/files/xpm/3.5.1-1/
;; download: `xpm-3.5.1-1-src.zip`
;; download: `xpm-3.5.1-1-src.zip`
;; extract `simx.h` from
`xpm-3.5.1-1-src/src/xpm/3.5.1/libXpm-3.5.1-src/lib/simx.h`
;; extract `xpm.h` from
`xpm-3.5.1-1-src/src/xpm/3.5.1/libXpm-3.5.1-src/lib/xpm.h`
;; extract `xpm4.dll` from `xpm-3.5.1-1-bin/bin/xpm4.dll`
;; copy `simx.h` to `C:\mingw\include`
;; copy `xpm.h` to `C:\mingw\include\X11` -- create that directory.
;; copy `xpm4.dll` to `C:\mingw\bin`
**Step Number 5**: Download the latest Emacs master branch source files using
a `git-bash` shell
c:\git\git-bash.exe
cd /c/docume~1/lawlist/desktop/
git clone -b master git://git.sv.gnu.org/emacs.git
;; close the `git-bash`
**Step Number 6**: Build the Emacs master branch and copy over the .dll files
when done.
;; open generic Command Prompt
c:\mingw\msys\1.0\msys.bat
cd /c/docume~1/lawlist/desktop/emacs
./autogen.sh
./configure --prefix=/c/docume~1/lawlist/desktop/trunk
make
make install
;; copy the following files to the `/bin` directory where `emacs.exe` is
located.
cp /c/mingw/bin/xpm4.dll /c/docume~1/lawlist/desktop/trunk/bin/xpm4.dll
cp /c/mingw/bin/libpng16-16.dll
/c/docume~1/lawlist/desktop/trunk/bin/libpng16-16.dll
cp /c/mingw/bin/libtiff-5.dll
/c/docume~1/lawlist/desktop/trunk/bin/libtiff-5.dll
cp /c/mingw/bin/libjpeg-9.dll
/c/docume~1/lawlist/desktop/trunk/bin/libjpeg-9.dll
cp /c/mingw/bin/libgif-7.dll
/c/docume~1/lawlist/desktop/trunk/bin/libgif-7.dll
cp /c/mingw/bin/librsvg-2-2.dll
/c/docume~1/lawlist/desktop/trunk/bin/librsvg-2-2.dll
cp /c/mingw/bin/libgdk_pixbuf-2.0-0.dll
/c/docume~1/lawlist/desktop/trunk/bin/libgdk_pixbuf-2.0-0.dll
cp /c/mingw/bin/libglib-2.0-0.dll
/c/docume~1/lawlist/desktop/trunk/bin/libglib-2.0-0.dll
cp /c/mingw/bin/libgobject-2.0-0.dll
/c/docume~1/lawlist/desktop/trunk/bin/libgobject-2.0-0.dll
cp /c/mingw/bin/libgnutls-28.dll
/c/docume~1/lawlist/desktop/trunk/bin/libgnutls-28.dll
cp /c/mingw/bin/libxml2-2.dll
/c/docume~1/lawlist/desktop/trunk/bin/libxml2-2.dll
cp /c/mingw/bin/zlib1.dll /c/docume~1/lawlist/desktop/trunk/bin/zlib1.dll
- 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 <=
- 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, 2015/10/08