From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Keith David Bershatsky Newsgroups: gmane.emacs.bugs 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 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (generated by - "") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1443700660 18616 80.91.229.3 (1 Oct 2015 11:57:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 1 Oct 2015 11:57:40 +0000 (UTC) Cc: 21590@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 01 13:57:22 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZhcU8-0004s5-OL for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Oct 2015 13:57:17 +0200 Original-Received: from localhost ([::1]:49056 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhcU8-00039R-8J for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Oct 2015 07:57:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38636) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhW1J-0000Pn-Im for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2015 01:03:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZhW1G-00033N-BD for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2015 01:03:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60788) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhW1G-00033A-1h for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2015 01:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZhW1F-0001Fv-Lc for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2015 01:03:01 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Keith David Bershatsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 01 Oct 2015 05:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21590 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21590-submit@debbugs.gnu.org id=B21590.14436757494781 (code B ref 21590); Thu, 01 Oct 2015 05:03:01 +0000 Original-Received: (at 21590) by debbugs.gnu.org; 1 Oct 2015 05:02:29 +0000 Original-Received: from localhost ([127.0.0.1]:49759 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZhW0i-0001F2-8S for submit@debbugs.gnu.org; Thu, 01 Oct 2015 01:02:28 -0400 Original-Received: from cobb.liquidweb.com ([50.28.13.150]:49038) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZhW0g-0001Eu-0t for 21590@debbugs.gnu.org; Thu, 01 Oct 2015 01:02:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lawlist.com; s=default; h=Content-Type:MIME-Version:Subject:Cc:To:From:Message-ID:Date; bh=yh9TqhqgzszLen9Mwm3tdcq4HfJZt0VymqKS/3dUS0Y=; b=tJKmn7j/rBaWpXcOHxtY4lQ+xX4Yfr/Z2ozaKWbV+2ukY516Ij7x9WklPV287QTx81jmPbXRWpoKYhlqTMYsNiDo98zq4vlaDI+4mg9ES9MEjZDPhznGsqVgEBbPEITP; Original-Received: from cpe-45-48-239-195.socal.res.rr.com ([45.48.239.195]:51498 helo=server.local.localhost) by cobb.liquidweb.com with esmtp (Exim 4.82) (envelope-from ) id 1ZhW0b-00089g-KO; Thu, 01 Oct 2015 01:02:21 -0400 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cobb.liquidweb.com X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lawlist.com X-Get-Message-Sender-Via: cobb.liquidweb.com: acl_c_relayhosts_text_entry: lawlist|lawlist.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:107125 Archived-At: 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