delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/08/12/15:50:10

X-Spam-Check-By: sourceware.org
Date: Sun, 12 Aug 2007 15:49:51 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: how to run "make check" (bug in FAQ)
Message-ID: <20070812194951.GA6472@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <78308EC0-022A-461F-9116-2E7D024422AF AT zooko DOT com>
MIME-Version: 1.0
In-Reply-To: <78308EC0-022A-461F-9116-2E7D024422AF@zooko.com>
User-Agent: Mutt/1.5.15 (2007-04-06)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Sun, Aug 12, 2007 at 10:25:07AM -0600, zooko wrote:
> Folks:
>
> In order to test a patch for cygwin that I wrote, I've been following the 
> directions to build cygwin myself, from http://cygwin.com/faq.html "How do I 
> build Cygwin on my own?".
>
> It worked to build, and then I wanted to run the tests, so followed these 
> directions:
>
> > To check a cygwin1.dll, run "make check" in the winsup/testsuite 
> directory.
>
> The first problem is that src/winsup/testsuite doesn't have a Makefile.  
> However, the it has a Makefile.in, so I build a Makefile from that...
>
> Okay, the next problem is that src/winsup/testsuite/configure is not 
> executable.
>
> After chmod +x ./configure and executing "./configure 
> --prefix=/oss/install", then there is a Makefile, but when I run "make 
> check", it fails with:

The FAQ makes it pretty clear that "You must build cygwin in a separate
directory from the source".  You shouldn't be running configure in a
source directory.

I've modified the FAQ source to say: 'To check a cygwin1.dll, run "make
check" in the build/i?86*cygwin/winsup directory created after running
make above.'  That is what you need to do.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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