public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* Interim source package compilation instructions
       [not found] ` <40548064.20309@codeweavers.com>
@ 2004-03-18 19:51   ` Harold L Hunt II
  2004-03-18 20:07     ` Thomas Dickey
  0 siblings, 1 reply; 3+ messages in thread
From: Harold L Hunt II @ 2004-03-18 19:51 UTC (permalink / raw)
  To: cygx

Here are some interim instructions for building the source packages 
until I update the Contributor's Guide (verified to work by a friend on 
another Cygwin install):

1) At the top of the following page is a list of packages that are
required for compiling Cygwin/X.  I recommend putting setup.exe in
"Full" view and just scanning the lists next two each other... it should
only take a few seconds to pick all of the packages... if it takes
longer you are trying too hard.

http://x.cygwin.com/docs/cg/prog-build-native.html

2) Next, you need to grab the source packages via setup.exe for the
following  (click the blank box in the "src" column for each of these
packages, it should turn to either a cross or an na (yes, that is dumb,
but that it what it does)).:

XFree86-base
XFree86-bin
XFree86-fenc
XFree86-fnts
XFree86-fscl
XFree86-man
XFree86-prog
XFree86-xserv

3) Cut and paste the following little ditty into a Cygwin bash shell. It
should finish in around than two hours, maybe more if you are slower
than an Athlon 1.2 GHz/512 MB RAM/7200 RPM HD.  After about 5 to 15
minutes you should see a file called /usr/src/build.log get created and
it will grow to about 3.4 MB before it is done.  Then
/usr/src/install.log will get created and will grow to about 1.3 MB
before it is done.  Then you will see lots of output in the console and
the final result should be less than 30 minutes away and should look
like a tar command ending (because it is).

cd /usr/src && \
cp xc/CYGWIN-PATCHES/XFree86-4.3.0.sh . && \
./XFree86-4.3.0.sh mkdirs && \
./XFree86-4.3.0.sh conf && \
./XFree86-4.3.0.sh build > build.log 2>&1 && \
./XFree86-4.3.0.sh install > install.log 2>&1 && \
./XFree86-4.3.0.sh strip && \
./XFree86-4.3.0.sh pkg && \
./XFree86-4.3.0.sh spkg

4) If you want to perform a clean rebuild, just run the following
command first before repeating step #3.  Beware that removing thousands
of files on my machine takes between 5 and 25 minutes (it varies for
some reason) and could take up to an hour if the Windows machine is
particularly slow.  Of course, Linux with ResierFS completes this
operation immediately.

cd /usr/src && \
./XFree86-4.3.0.sh quickclean

Harold


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Interim source package compilation instructions
  2004-03-18 19:51   ` Interim source package compilation instructions Harold L Hunt II
@ 2004-03-18 20:07     ` Thomas Dickey
  2004-03-18 20:14       ` Harold L Hunt II
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Dickey @ 2004-03-18 20:07 UTC (permalink / raw)
  To: cygx

On Thu, 18 Mar 2004, Harold L Hunt II wrote:

> 4) If you want to perform a clean rebuild, just run the following
> command first before repeating step #3.  Beware that removing thousands
> of files on my machine takes between 5 and 25 minutes (it varies for
> some reason) and could take up to an hour if the Windows machine is

cygwin's file-delete is very slow.  Generally the Windows delete is much
faster (even counting emptying the trash).

> particularly slow.  Of course, Linux with ResierFS completes this
> operation immediately.

sort of.  I've observed that there's a big performance hit when I untar
large files or do other operations that create new files.  Haven't noticed
that it's an faq though.

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Interim source package compilation instructions
  2004-03-18 20:07     ` Thomas Dickey
@ 2004-03-18 20:14       ` Harold L Hunt II
  0 siblings, 0 replies; 3+ messages in thread
From: Harold L Hunt II @ 2004-03-18 20:14 UTC (permalink / raw)
  To: cygwin-xfree

Thomas Dickey wrote:

> On Thu, 18 Mar 2004, Harold L Hunt II wrote:
> 
> 
>>4) If you want to perform a clean rebuild, just run the following
>>command first before repeating step #3.  Beware that removing thousands
>>of files on my machine takes between 5 and 25 minutes (it varies for
>>some reason) and could take up to an hour if the Windows machine is
> 
> 
> cygwin's file-delete is very slow.  Generally the Windows delete is much
> faster (even counting emptying the trash).

Are you referring to a delete through Windows Explorer?  I assume you 
are because you are referring to the trash.  In fact, I quite often do a 
Shift+Delete on the folder to delete it without sending it to the trash, 
but this takes just as long if not longer.  NTFS was just not designed 
for several thousand files, nor does it allow for good delete 
performance of entire directory trees.  Not to say that those were bad 
decisions, they were basically trade offs that they had to make to do 
other things, but it is annoying.

>>particularly slow.  Of course, Linux with ResierFS completes this
>>operation immediately.
> 
> 
> sort of.  I've observed that there's a big performance hit when I untar
> large files or do other operations that create new files.  Haven't noticed
> that it's an faq though.

Not sure if you are talking about a performance hit under Cygwin or 
Linux?  I agree, untarring on Cygwin is horribly slow for large files. 
Linux usually doesn't have a problem with operations on thousands of 
files, at least not for me.

Harold


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-03-18 20:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <40540E0D.8000406@codeweavers.com>
     [not found] ` <40548064.20309@codeweavers.com>
2004-03-18 19:51   ` Interim source package compilation instructions Harold L Hunt II
2004-03-18 20:07     ` Thomas Dickey
2004-03-18 20:14       ` Harold L Hunt II

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).