X-Spam-Check-By: sourceware.org
Date: Fri, 20 Jan 2006 10:21:35 +0100
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Building Cygwin from CVS
Message-ID: <20060120092135.GA4230@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <43CE88C6.3070009@hones.org.uk> <cb51e2e0601192053lb0a0ba7i4284a2cd57e6c9e0@mail.gmail.com> <20060120050332.GA15948@trixie.casa.cgf.cx> <43D0A909.5050800@hones.org.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <43D0A909.5050800@hones.org.uk>
User-Agent: Mutt/1.4.2i
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Jan 20 09:10, Cliff Hones wrote:
> Christopher Faylor wrote:
> > Before we do that can we please find out WHAT is actually wrong?  There
> > is no description of the problem beyond the above.  I run the testsuite
> > several times a day by cd'ing to winsup/testsuite so I know that works.
> > Lets not make changes that may only be a cockpit error from one user and,
> > especially lets not document actual bugs.
> [...]
> If I cd to src/winsup/testsuite and do "make check", I get:
> 
>   cliff@CliffW ~/cygbuild/src/winsup/testsuite
>   $ make check
>   make: *** No rule to make target `check'.  Stop.
> 
> which is hardly surprising, as there is no Makefile there:
> 
>   cliff@CliffW ~/cygbuild/src/winsup/testsuite
>   $ ls
>   CVS  ChangeLog  Makefile.in  README  config  configure  configure.in  cygload  cygrun.c  libltp  winsup.api
> 
> So that seems to be the problem.  Should there have been a Makefile in CVS, should
> configure have made one, or is the FAQ wrong?

The Makefile in testsuite is generated when `make check' is called from
the parent winsup directory.  The reason is that the testsuite directory
isn't added to the list of to configurable subdirectories in
winsup/configure.

So, on the first run, you have to call `make check' in winsup, every
later run you can start from the testsuite dir itself.  Whether this
qualifies as a bug, I don't know.  I'm used to it, so I didn't think
about it until today.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
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/

