[sac-dev] Cygwin patches for sac2000 builds

George Helffrich george at gly.bris.ac.uk
Sat Nov 10 05:49:52 PST 2007


Dear All -

	After iterating with Andy Wuestefeld on these, I have Cygwin patches 
against the current CVS for a workable build.  It is not perfect 
because the build actually fails while building libedit, but will 
succeed if restarted.  Why this occurs exceeds Andy's knowledge and my 
own of Cygwin.

	All of the build problems arise in libedit.  I think that with an 
automake/autoconf configuration step, sac2000 could simply look at the 
build platform and omit libedit if an equivalent was available -- 
readline should be if a platform has a Bourne shell.  I suspect Cygwin 
is one -- but don't know -- so this problem should go away if a 
configuration step were adopted.

	The real annoyance is that a file or folder called 'aux' isn't allowed 
by Windows.  Thus the distributed source code (see patch to mkdist.pl) 
renames it to 'taraux'.  When built, the directory is renamed to 'aux' 
or 'winaux' as appropriate to the platform, and when installed has a 
usable name.

	Patches attached, and I plan to commit them if there are no 
objections.  A Cygwin fix for the libedit build hiccough would be 
welcome.

								George Helffrich
								george at geology.bristol.ac.uk

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygwin.diffs
Type: application/octet-stream
Size: 8931 bytes
Desc: not available
Url : http://www.iris.washington.edu/pipermail/sac-dev/attachments/20071110/f2dbf1c8/cygwin.obj


More information about the sac-dev mailing list