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: Building Emacs from a new MinGW environment Date: Sun, 15 Sep 2013 12:28:50 +0300 Message-ID: <83hadmqvql.fsf@gnu.org> References: <83sixwfdjk.fsf@gnu.org> <834n9nhhp6.fsf@gnu.org> <83ppsbfoe7.fsf@gnu.org> <83mwnffkom.fsf@gnu.org> <83k3ijfhk0.fsf@gnu.org> <83hadnf7gs.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1379237352 17183 80.91.229.3 (15 Sep 2013 09:29:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 15 Sep 2013 09:29: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 Sun Sep 15 11:29:14 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 1VL8dl-000895-Re for ged-emacs-devel@m.gmane.org; Sun, 15 Sep 2013 11:29:13 +0200 Original-Received: from localhost ([::1]:55922 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VL8dl-0001st-6P for ged-emacs-devel@m.gmane.org; Sun, 15 Sep 2013 05:29:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43899) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VL8dd-0001sY-4q for emacs-devel@gnu.org; Sun, 15 Sep 2013 05:29:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VL8dY-0005ca-4n for emacs-devel@gnu.org; Sun, 15 Sep 2013 05:29:05 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:39999) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VL8dX-0005cQ-TW for emacs-devel@gnu.org; Sun, 15 Sep 2013 05:29:00 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MT500500U5L1500@a-mtaout20.012.net.il> for emacs-devel@gnu.org; Sun, 15 Sep 2013 12:28:58 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MT5003NBUC9M2H0@a-mtaout20.012.net.il>; Sun, 15 Sep 2013 12:28:58 +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:163355 Archived-At: > Date: Sat, 14 Sep 2013 23:19:06 +0200 > From: Dani Moncayo > Cc: Emacs development discussions > > >> > What is the value of srcdir in top-level Makefile? > >> > >> it is > >> /home/dani/emacs/emacs.git > > > > That's the source of the problem, it should be something like > > /c/msys/home/dani/emacs/emacs.git. So it now looks like configure > > and/or config.status didn't edit Makefile.in as it should have. > > > > How did you invoke the configure script? > > Like this: > $ cd ~/emacs/build > $ rm -fr * > $ CPPFLAGS='-DGLYPH_DEBUG=1' CFLAGS='-O0 -g3' > ../emacs.git/nt/msysconfig.sh --enable-checking This is OK. > And apparently, everything was fine: > > Configured for `i686-pc-mingw32'. > > Where should the build process find the source code? /home/dani/emacs/emacs.git No, this is already wrong: the source directory should be something like /c/msys/home/dani/emacs/emacs.git, i.e. the full Windows file name in MSYS format. Something is still not working correctly. Are you sure you restored the MSYS tools correctly? E.g., do you have dirname.exe and sed.exe in C:/MSYS/bin, and are those MSYS executables? Also, which version of MSYS Bash do you have? The configure script computes the source directory in a fragment that starts with this comment: # Find the source files, if location was not specified. Perhaps add 'echo' there in strategical places to see what is not working, and why.