Received: from spf5.us4.outblaze.com (spf5.us4.outblaze.com [205.158.62.27]) by sdf.lonestar.org (8.12.10/8.12.10) with ESMTP id iB15ZhOv020444 for ; Wed, 1 Dec 2004 05:35:43 GMT Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by spf5.us4.outblaze.com (Postfix) with ESMTP id A72AE76F9C for ; Wed, 1 Dec 2004 05:35:42 +0000 (GMT) Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CZNIw-0005K7-6J for migo@homemail.com; Wed, 01 Dec 2004 00:45:30 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CZNIX-0005K1-7H for gnu-arch-users@gnu.org; Wed, 01 Dec 2004 00:45:05 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CZNIW-0005Jo-39 for gnu-arch-users@gnu.org; Wed, 01 Dec 2004 00:45:04 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CZNIV-0005Jl-Ki for gnu-arch-users@gnu.org; Wed, 01 Dec 2004 00:45:03 -0500 Received: from [209.226.175.74] (helo=tomts20-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CZN8n-0008TA-JX for gnu-arch-users@gnu.org; Wed, 01 Dec 2004 00:35:01 -0500 Received: from Asus ([64.228.8.57]) by tomts20-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20041201053459.YGPY2034.tomts20-srv.bellnexxia.net@Asus> for ; Wed, 1 Dec 2004 00:34:59 -0500 From: "Bill Page" To: Date: Wed, 1 Dec 2004 00:35:10 -0500 Message-ID: <001a01c4d767$88755250$6501a8c0@Asus> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Importance: Normal Subject: [Gnu-arch-users] building arch on cygwin (was: darcs vs tla) X-BeenThere: gnu-arch-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: a discussion list for all things arch-ish List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: gnu-arch-users-bounces+migo=homemail.com@gnu.org Errors-To: gnu-arch-users-bounces+migo=homemail.com@gnu.org Status: RO Content-Length: 3231 Lines: 96 John A Meinel, et al. Following the recipe below I did successfully build tla on Cygwin from the listed archives as of 30 November, but in addition to the unit-unidata test failure below, I am seeing numerous other test failures: In hackerlab/tests/fs-tests/unit-file-names.sh home... expand... In tla/tests/test-my-id.sh Setting my-id: Jane Doe mkdir: cannot create directory `+': File exists (At this point I stopped trying to continue running the tests by commenting out failures.) In spite of these test failures, tla does seem to be quite functional in my simple manual tests. Are the test failures above special cases that do not often occur in practice? Should I just ignore these failures? Or is there work in progress to address them? Also, I notice that the reference to a "binary version available at http://ct.radiology.uiowa.edu/~jfmeinel/archives" at http://wiki.gnuarch.org/moin.cgi/Native_20WIN32_20Support is apparently out of date since I no longer find the referenced files there. If I recall correctly, I did download an executable cygwin tla from that location on 19 November. I have been using it successfully from the last 10 days. Is a new binary now available somewhere else? Regards, Bill Page. On Thu, 18 Nov 2004 15:02:57 -0600 John A Meinel wrote: >... > The easiest way is probably to build from a configuration. > So you start with: > > tla get john at arbash-meinel.com--tla-2004/dists--tla--1.3 tla-1.3 > cd tla-1.3 > tla build-config tla-short-path.cfg > cd src > mkdir +build > cd +build > ../configure --with-short-paths=1 > (optionally --prefix=/usr/local or whatever) > make > make test > make install (if you want) > > These are the normal steps to build tla, so I didn't repeat them. > You will also need to have registered the official tla archive, > since I only modify one portion of it. > > ... > > I just double checked, and there are 2 caveats with the current system, > both of them from libhackerlab (which I did not modify.). > > 1) The first time you run make it will fail. Just run make again and > it will succeed. (hackerlab creates a temporary executable to generate > an output file and then deletes it. But on cygwin/windows the file ends > with a .exe, so rm cannot find it to delete it. Don't worry, though, > the dependency is filled) > > 2) make test will fail on "unidata-tests". The problem is cygwin picks > a different line ending if you pipe something through sed, then it does > if you cat it directly to a file. (sed opens it's input in text mode, > removing CRLF, while just a redirect preserves the endings). > > The simplest workaround is to edit the file: > src/hackerlab/tests/unidata-tests/unit-unidata.sh line 16 > and change the line from > ./unit-unidata > ,tmp2 > to > ./unit-unidata | sed -e '' > ,tmp2 > > sed -e '' does nothing, but it allows the output to be filtered through > the same program. > > I'm pretty sure with those 2 workarounds, everything plays nice. _______________________________________________ Gnu-arch-users mailing list Gnu-arch-users@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-arch-users GNU arch home page: http://savannah.gnu.org/projects/gnu-arch/