X-Spam-Check-By: sourceware.org Mime-Version: 1.0 (Apple Message framework v752.3) Content-Transfer-Encoding: 7bit Message-Id: <78308EC0-022A-461F-9116-2E7D024422AF@zooko.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: cygwin AT cygwin DOT com From: zooko Subject: how to run "make check" (bug in FAQ) Date: Sun, 12 Aug 2007 10:25:07 -0600 X-Mailer: Apple Mail (2.752.3) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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: > make: *** No rule to make target `/oss/src/winsup/cygwin/ Makefile', needed by `/oss/src/winsup/cygwin/cygwin0.dll'. Stop. I see that /oss/src/winsup/cygwin/ contains a Makefile.in but no Makefile, so I ran the same "./configure" command line in that directory, then returned to /oss/src/winsup/testsuite and ran "make check" again. Now it ends with > make [1]: *** No rule to make target '/oss/src/winsup/w32api/lib/ libkernel32.a', needed by `cygwin0.dll'. Stop. I don't immediately see how to build that lib, and it is also apparent that I've left the beaten track, so I'm submitting this e- mail and awaiting clarification of the "make check" process. Thanks! Regards Zooko -- 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/