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 14:26:08 -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 1443698209 10482 80.91.229.3 (1 Oct 2015 11:16:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 1 Oct 2015 11:16:49 +0000 (UTC) Cc: 21590@debbugs.gnu.org To: Glenn Morris , Eli Zaretskii , Martin Rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 01 13:16:36 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 1Zhbqi-000885-H8 for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Oct 2015 13:16:32 +0200 Original-Received: from localhost ([::1]:48245 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zhbqi-00053v-3L for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Oct 2015 07:16:32 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47842) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhOu1-0001jo-Tp for bug-gnu-emacs@gnu.org; Wed, 30 Sep 2015 17:27:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZhOty-0007lC-Gc for bug-gnu-emacs@gnu.org; Wed, 30 Sep 2015 17:27:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60666) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhOty-0007l7-CY for bug-gnu-emacs@gnu.org; Wed, 30 Sep 2015 17:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZhOty-0007dx-3F for bug-gnu-emacs@gnu.org; Wed, 30 Sep 2015 17:27:02 -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: Wed, 30 Sep 2015 21:27:02 +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.144364837529318 (code B ref 21590); Wed, 30 Sep 2015 21:27:02 +0000 Original-Received: (at 21590) by debbugs.gnu.org; 30 Sep 2015 21:26:15 +0000 Original-Received: from localhost ([127.0.0.1]:49637 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZhOtC-0007cn-Ki for submit@debbugs.gnu.org; Wed, 30 Sep 2015 17:26:15 -0400 Original-Received: from cobb.liquidweb.com ([50.28.13.150]:38243) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZhOt9-0007ce-UQ for 21590@debbugs.gnu.org; Wed, 30 Sep 2015 17:26:13 -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=Lfl00oLPwtTYiPFXeIffXFkfbF5mtOpeqA0xXos/kCs=; b=UHV4yYDwUknFsl5zCvOLMeZurH9orndhkiTnmE2fV6s30OTfLICxiget5wyylI6Gw13TIYLgdMX28aDIJIqbc2W571h9K32w62aV1ejoONQsoHtUh2EdjevpHjB6CiYb; Original-Received: from cpe-45-48-239-195.socal.res.rr.com ([45.48.239.195]:55571 helo=server.local.localhost) by cobb.liquidweb.com with esmtp (Exim 4.82) (envelope-from ) id 1ZhOt4-0004sE-9p; Wed, 30 Sep 2015 17:26:06 -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:107117 Archived-At: Eureka! I now have a working recipe to build Emacs on WindowsXP with image support. It ended up being a combination of mingw32, ezwinports, and xpm from GnuWin. I will write up a current "cheat sheet" on emacs.stackexchange.com in the near future -- I opened a question there a couple of days ago. The build fails at least a couple of ways on WindowsXP as described in this bug report #21590 when using GnuWin32, so there should probably be a strong warning (near the top) in the Emacs INSTALL readme file advising against using that resource -- and suggesting the use of ezwinports instead. Alternatively, it may be a good idea at some point for the Emacs team to find out why Emacs fails (beyond just moving `md5.h` out of the way) to build with GnuWin32 and create a workaround in the building scripts, etc. since others will undoubtedly try to use that resource in the future. Eli: As a feature request, please consider adding an XPM zip archive to ezwinports as this portion of the build recipe is more complicated than it needs to be. Here is the rough outline of the recipe for building Emacs master branch on Windows XP -- thank you all for helping me to get passed several hurdles until finally reaching a working solution: ;; 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] ;; 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 ;; https://sourceforge.net/projects/ezwinports/files/ ;; unzip all of the following ezwinports packages into `c:/mingw`, overwriting any duplicates. giflib-5.1.0-w32-bin.zip gnutls-3.3.11-w32-bin.zip jpeg-v9a-w32-bin.zip libpng-1.6.12-w32-bin.zip libxml2-2.7.8-w32-bin.zip mingw-get-setup.exe tiff-4.0.3-w32-bin.zip zlib-1.2.8-2-w32-bin.zip ;; https://sourceforge.net/projects/gnuwin32/files/xpm/3.5.1-1/ ;; Obtain from: xpm-3.5.1-1-src.zip ;; Obtain from: 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 `/Users/HOME/Desktop/xpm-3.5.1-1-src/src/xpm/3.5.1/libXpm-3.5.1-src/lib/xpm.h` ;; extract `xpm4.dll` from `/Users/HOME/Desktop/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` c:\git\git-bash.exe cd /c/docume~1/lawlist/desktop/ git clone -b master git://git.sv.gnu.org/emacs.git 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. giflib4.dll jpeg62.dll libXpm.dll libpng16-16.dll libtiff3.dll xpm4.dll zlib1.dll