From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Frank Schmitt Newsgroups: gmane.emacs.devel Subject: Re: Latest 21.3 CVS and MS Windows Date: Thu, 06 Feb 2003 19:18:50 +0100 Organization: Hamme net, kren mer och nimmi Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <20030206095617.E986.LEKTU@terra.es> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1044555684 32569 80.91.224.249 (6 Feb 2003 18:21:24 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 6 Feb 2003 18:21:24 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18gqdm-0008RA-00 for ; Thu, 06 Feb 2003 19:20:50 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18gqmw-0001gh-00 for ; Thu, 06 Feb 2003 19:30:18 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18gqdB-00016Z-01 for emacs-devel@quimby.gnus.org; Thu, 06 Feb 2003 13:20:13 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18gqci-0000oK-00 for emacs-devel@gnu.org; Thu, 06 Feb 2003 13:19:44 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18gqcc-0000Zn-00 for emacs-devel@gnu.org; Thu, 06 Feb 2003 13:19:40 -0500 Original-Received: from main.gmane.org ([80.91.224.249]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18gqcO-0008Ub-00 for emacs-devel@gnu.org; Thu, 06 Feb 2003 13:19:25 -0500 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18gqaO-0008BQ-00 for ; Thu, 06 Feb 2003 19:17:20 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18gqaD-0008AJ-00 for ; Thu, 06 Feb 2003 19:17:09 +0100 Original-Lines: 85 Original-X-Complaints-To: usenet@main.gmane.org X-Face: :EL9TzGRN){7|oE2~xQ8Q(VjpjsXgX$~gi&rYD5J5p)$w\Thdl~v:7h`/n)J!8nXT%_+Wj6}@EHM8}QbA(9nX-wrQ:ch1%DauV[?kFasXUcnL#+"K8zOx&$@/M'/},q-eztaJra1|?C+p$h\2XnK-HB"8_U List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:11424 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:11424 Juanma Barranquero writes: > On Thu, 06 Feb 2003 09:25:59 +0100, Frank Schmitt wrote: > >> First I tried to build using MS Visual C++ 6.0. I said "configure.bat >> --with-ms-vc" > > --with-msvc, I suppose. Yes, of course. >> and then said nmake but got an error message telling that >> essential Lisp files would be missing and that I should either create >> abbrev.elc somehow or run nmake bootstrap. >> >> I then said "nmake bootstrap", this took ages but worked. > > That's the right procedure. First time you *must* do a bootstrap. Shouldn't this be mentioned in section Building of nt/INSTALL? >> I then said >> "nmake install" however something seems to be broken about creation of >> Info files because when i fire up info, I get the usual top node, but no >> matter on which menu item I go, I get the error message "Info file foo >> does not exist.". > > Is not broken, it's simply not supported, because most Windows users > don't have the tools to build info files. You can get a working makeinfo > from http://www.simtel.net/pub/djgpp/v2gnu/ (get txi42b.zip) and > manually build the info files (that's what I do). If you get make errors > try taking Cygwin bin directory from the PATH. OK, I'll do so. However, wouldn't it be nice if configure.bat checked if Makeinfo is available and if it is change the Makefile accordingly? > There are some interactions between the libraries (libtiff.dll needs > libjpeg.dll, etc.), and not all releases work well togheter. I'm using: > > libjpeg-6b (includes librle.dll) > libpng-1.2.4-1 > libungif-4.1.0b1 > tiff-3.5.7 > xpm-3.4k-1 > zlib-1.1.4 > > (from GnuWin32) which seem to be nice with each other. I had libjpeg-6b-1 and missed librle.dll (it's not included there). With the above configuration everything is fine, except that libungif-4.1.0b1-lib.zip doesn't include gif_lib.h, after I copied it from the src package to gnuwin32/include all libraries were found and Emacs build OK. >> trying to display a jpeg results in an empty square of the size of a character > > When that happened to me, it was the result of a mismatch between the > libraries (a libjpeg.dll that couldn't find the corresponding librle.dll). Works now, I had missed librle.dll. >> and trying to display a png makes Emacs crash, no matter if I use >> libpng-1.2.4 or libpng-1.0.13. > > That's probably a bug. Were you compiling Emacs with optimizations? > Currently, images work well for me with MSVC 6.0 and --no-opt, but I get > crashes with TIFF and PNG files when optimization is enabled. Yes, I had optimization enabled which resulted in a crash whenever I tried to display a png or tiff file. If I build without optimization, the crashes are gone. > Don't forget that image support on Windows is still experimental. Any > information you can gather about the crashes could be useful. I'll build one more Emacs in a different directory with optimization and try to debug where the crash occurs. Thanks for now for your help, I now seem to have everything running. Now I /only/ have to transfer my configuration from XEmacs to Emacs :-). -- One Ring to rule them all, One Ring to find them, One Ring to bring them all and in the darkness bind them In the Land of Mordor where the Shadows lie.