From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: MS-Windows build using Posix configury Date: Sat, 04 May 2013 14:27:05 +0300 Message-ID: <83zjwbkmt2.fsf@gnu.org> References: <83d2tu49lu.fsf@gnu.org> <8338un359j.fsf@gnu.org> <831ua72fml.fsf@gnu.org> <83ehe51zi4.fsf@gnu.org> <837gjx1vpx.fsf@gnu.org> <83a9otys0h.fsf@gnu.org> <834nezzzma.fsf@gnu.org> <8361z2psr1.fsf@gnu.org> <83zjweo5dh.fsf@gnu.org> <83sj25nym2.fsf@gnu.org> <837gjhnowi.fsf@gnu.org> <8338u4o39r.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1367666892 16812 80.91.229.3 (4 May 2013 11:28:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 4 May 2013 11:28:12 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dani Moncayo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 04 13:28:11 2013 Return-path: Envelope-to: ged-emacs-devel@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 1UYadP-0004co-6S for ged-emacs-devel@m.gmane.org; Sat, 04 May 2013 13:28:11 +0200 Original-Received: from localhost ([::1]:42797 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UYadO-0002Ql-Oo for ged-emacs-devel@m.gmane.org; Sat, 04 May 2013 07:28:10 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:40940) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UYadK-0002QX-JC for emacs-devel@gnu.org; Sat, 04 May 2013 07:28:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UYadJ-0008Ba-KA for emacs-devel@gnu.org; Sat, 04 May 2013 07:28:06 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:54594) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UYadJ-0008An-Bc for emacs-devel@gnu.org; Sat, 04 May 2013 07:28:05 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MM900F00UE2X100@a-mtaout20.012.net.il> for emacs-devel@gnu.org; Sat, 04 May 2013 14:27:20 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MM900FULUHJNI50@a-mtaout20.012.net.il>; Sat, 04 May 2013 14:27:20 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.166 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:159288 Archived-At: > Date: Sat, 4 May 2013 12:59:57 +0200 > From: Dani Moncayo > Cc: Emacs development discussions > > Error messages like this one: > install-info: No such file or directory for /usr/share/info/emacs.info > > suggested that this command from the Makefile: > /bin/install-info --info-dir=c:/usr/share/info c:/usr/share/info/$elt > > was failing because, the shell was passing the argument > "/usr/share/info/XXXX" to the program instead of the intended > "c:/usr/share/info/XXXX", and "/usr/share/info/XXXX" is a different > path which references to a non-existent file. Ah, OK. I guess MSYS modified your c:/usr/share/info into /usr/share/info because your Texinfo is an MSYS package. > I've tried to use the UNIX-like path: "make install prefix=/c/usr" and > it solved the problem. > > This seems to suggest that, from the MSYS bash, it is safer to use the > UNIX-like paths instead of the Windows native ones. That depends, see above. In general, MSYS is supposed to support both styles alike; anything else is a bug in MSYS. > There remains a minor annoyance, though: the info directory (attached > to this mail) has some parts with DOS-type EOLs an other parts with > UNIX-type EOLs. Therefore, my Emacs shows some annoying "^M" chars. Looks like the lines in info/dir which came from the original file in the source tree (which has Unix-style EOLs) are copied verbatim, while other lines have DOS EOLs. Does the same happen if you invoke install-info manually? I think the cause of this is that MSYS programs use binary I/O mode, so they output the lines with whatever EOL format they happened to have in their source files. (Using the native port of makeinfo, I don't have this problem.)