Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com X-Authentication-Warning: tweedle.cabbey.net: cabbey owned process doing -bs Date: Sat, 10 Mar 2001 03:09:49 -0600 (CST) From: Christopher Abbey X-Sender: cabbey AT tweedle DOT cabbey DOT net To: DJ Delorie cc: cygwin AT cygwin DOT com Subject: Re: setup.exe ==> source directory mess (?) In-Reply-To: <200103091755.MAA17055@envy.delorie.com> Message-ID: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="336207902-2115667166-984215389=:25989" --336207902-2115667166-984215389=:25989 Content-Type: TEXT/PLAIN; charset=US-ASCII Yesterday, DJ Delorie wrote: > OK, then /oss/src/cygwin/src/configure should have been correct. A > plain "make" there should have built libiberty, newlib, and winsup. yeah, I'll chalk it up to a learning experience... never try to short cut the process - I've no idea what the difference was but the first time I did it libiberty wasn't configured... I nuked it all and started over... no problems this time. Here then is the patch to accomplish the /usr/src change this thread started. In testing this I did observe two things: one that some packages have src/ in the front of the source paths... crypt is one, such that you end up with /usr/src/src/crypt-1.0/*... I don't think this is "normal" source packaging... but if it is a solution similar to what is used for /usr/bin and /usr/lib can be put in. The second item I noticed is that the source package sizes are not included in the total download or install totals, making the progress bars finish way too soon. I fixed those in this patch as well. 2001-03-10 Chris Abbey * install.cc: install sources into /usr/src instead of /, also include the sizes of source tarballs in total_bytes. * download.cc: include sizes of source tarballs in total_download_bytes. -- now the forces of openness have a powerful and unexpected new ally - http://ibm.com/linux --336207902-2115667166-984215389=:25989 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=patch Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: source tarball patches Content-Disposition: attachment; filename=patch SW5kZXg6IGluc3RhbGwuY2MNCj09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT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PT09PT09PT09PT09PT09PT09PT09PT09PT09PQ0KUkNTIGZpbGU6 IC9jdnMvc3JjL3NyYy93aW5zdXAvY2luc3RhbGwvZG93bmxvYWQuY2Msdg0K cmV0cmlldmluZyByZXZpc2lvbiAyLjkNCmRpZmYgLXUgLWIgLXIyLjkgZG93 bmxvYWQuY2MNCi0tLSBkb3dubG9hZC5jYwkyMDAxLzAzLzA2IDE4OjMyOjE1 CTIuOQ0KKysrIGRvd25sb2FkLmNjCTIwMDEvMDMvMTAgMDk6MDg6MDYNCkBA IC0xMDMsNiArMTAzLDggQEANCiAgICAgaWYgKHBhY2thZ2VbaV0uYWN0aW9u ID09IEFDVElPTl9ORVcgfHwgcGFja2FnZVtpXS5hY3Rpb24gPT0gQUNUSU9O X1VQR1JBREUpDQogICAgICAgew0KICAgICAgICAgdG90YWxfZG93bmxvYWRf Ynl0ZXMgKz0gcGkuaW5zdGFsbF9zaXplOw0KKyAgICAgICAgaWYgKHBhY2th Z2VbaV0uc3JjYWN0aW9uID09IFNSQ0FDVElPTl9ZRVMpDQorICAgICAgICAg IHRvdGFsX2Rvd25sb2FkX2J5dGVzICs9IHBpLnNvdXJjZV9zaXplOw0KICAg ICAgIH0NCiANCiAgIGZvciAoaT0wOyBpPG5wYWNrYWdlczsgaSsrKQ0K --336207902-2115667166-984215389=:25989 Content-Type: text/plain; charset=us-ascii -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple --336207902-2115667166-984215389=:25989--