delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2000/01/09/15:39:17

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-developers-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com
Message-ID: <3878F22A.C41AD1B7@vinschen.de>
Date: Sun, 09 Jan 2000 21:40:10 +0100
From: Corinna Vinschen <corinna AT vinschen DOT de>
X-Mailer: Mozilla 4.7 [en] (WinNT; I)
X-Accept-Language: de,en
MIME-Version: 1.0
To: Mumit Khan <khan AT NanoTech DOT Wisc DOT EDU>
CC: Chris Faylor <cgf AT cygnus DOT com>,
cygdev <cygwin-developers AT sourceware DOT cygnus DOT com>
Subject: Re: ntsec-patch16 (and some other)
References: <Pine DOT HPP DOT 3 DOT 96 DOT 1000109133649 DOT 17518R-100000 AT hp2 DOT xraylith DOT wisc DOT edu>

Mumit Khan wrote:
> On Sat, 8 Jan 2000, Corinna Vinschen wrote:
> > That's curious, because on the other hand a `make' in the winsup dir
> > want to `make all' in mingw/profile which then failes because there's
> > no Makefile...
> 
> As Chris points out, Mingw configure will not try to configure profile
> subdir when it's in the winsup tree (ie., configured for x86-cygwin),
> [...]
> However, I'm doing all of this on a Linux machine, so presumably we
> have a problem in native builds. If you still have the problem with
> 2000-01-08 snapshot, please let me know (hopefully with a fix ;-).

The problem remains the same. As Chris mentioned, I'm building in the
source tree. I have started a ./configure in the winsup dir. This
configure ignores the profile directory but the Makefile.in in the
mingw dir contains the line

	SUBDIRS := profile

So, the mingw Makefile tries to start a make in the profile
dir which fails. This results in exiting the complete build process.

Maybe it would help to check the existance of a Makefile in the
subdirs before trying to start make, like below (only a suggestion):

Regards,
Corinna

Index: Makefile.in
===================================================================
RCS file: /src/cvsroot/winsup-000108/mingw/Makefile.in,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 Makefile.in
--- Makefile.in 2000/01/09 10:51:04     1.1.1.1
+++ Makefile.in 2000/01/09 20:35:51
@@ -208,7 +208,7 @@ install: all
 subdirs: force
        @for i in $(SUBDIRS); do \
           echo "Making $(DO) in $${i}..." ; \
-          if [ -d ./$$i ] ; then \
+          if [ -d ./$$i -a -f ./$$i/[Mm]akefile ] ; then \
             if (rootme=`pwd`/ ; export rootme ; \
               rootsrc=`cd $(srcdir); pwd`/ ; export rootsrc ; \
               cd ./$$i; \

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019