all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Keith David Bershatsky <esq@lawlist.com>
To: Glenn Morris <rgm@gnu.org>
Cc: 21590@debbugs.gnu.org
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	[thread overview]
Message-ID: <m28u7n18rm.wl%esq@lawlist.com> (raw)
In-Reply-To: <m2vbasg27x.wl%esq@lawlist.com>

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





  parent reply	other threads:[~2015-10-01  5:02 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-30  0:50 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-09-30  1:34 ` Glenn Morris
2015-10-01  6:36   ` Eli Zaretskii
2015-09-30  4:04 ` Keith David Bershatsky
2015-10-01  7:00   ` Eli Zaretskii
2015-09-30 21:26 ` Keith David Bershatsky
2015-10-01  6:45   ` Eli Zaretskii
2015-10-01 15:54   ` Eli Zaretskii
2015-10-02  8:36   ` martin rudalics
2015-10-02  8:51     ` Eli Zaretskii
2015-10-02  9:00       ` martin rudalics
2015-10-02  9:09         ` Eli Zaretskii
2015-10-01  5:02 ` Keith David Bershatsky [this message]
2015-10-01 22:15 ` Keith David Bershatsky
2015-10-02  6:45   ` Eli Zaretskii
2015-10-02  7:00 ` Keith David Bershatsky
2015-10-02  8:00   ` Eli Zaretskii
2015-10-02  7:17 ` Keith David Bershatsky
2015-10-02  8:10   ` Eli Zaretskii
2015-10-02 15:59 ` Keith David Bershatsky
2015-10-02 17:59   ` Eli Zaretskii
2015-10-06 18:33 ` Keith David Bershatsky
2015-10-06 18:45   ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m28u7n18rm.wl%esq@lawlist.com \
    --to=esq@lawlist.com \
    --cc=21590@debbugs.gnu.org \
    --cc=rgm@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.