Interim source package compilation instructions

2004-03-18 Thread Harold L Hunt II
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 21  \
./XFree86-4.3.0.sh install  install.log 21  \
./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


Re: Interim source package compilation instructions

2004-03-18 Thread Thomas Dickey
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


Re: Interim source package compilation instructions

2004-03-18 Thread Harold L Hunt II
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