On Tue, 3 Oct 2006, Tim Jenness wrote:
> Has anyone completed a cygwin build?
Yes, did one last week.
> After 10 days of building[1] and extreme frustration I now have most of a
> cygwin build in place. Currently I'm having trouble with the tclx build for
> some reason since it keeps thinking it's on windows and then fails because
> it's really unix. Has anyone seen this problem? I need it for GAIA.
>
> I was going to make a "technology preview" available on the web site but I'm
> rapidly losing motivation....
>
> One failure so far in that mmap/munmap clearly don't work. HDS only functions
> if HDS_MAP=0.
I have a patch for the HDS problem, which I haven't committed as it's
really a sign of something broken in Cygwin. I'll tidy it up and commit it
today. I thought that I'd committed the necessary changes for tclx (you're
right under Cygwin bits of Tcl and friends like to think they're
targeting Windows not Cygwin, so you have to make it clear that Cygwin is
UNIX), so that should work. Make sure your checkout is upto date and
reconfigure tclx.
> [1] On a 2.16 GHz Core 2 Duo Merom with 2 GB RAM so no slouch. 4200 bogomips
> on linux [2]
Usually takes me a couple of days on my 1.7Ghz Centrino 512Mb, but I avoid
building the docs and configure --disable-shared (including the
configure-deps).
> [2] How is cygwin at all usable? It takes 15 seconds to run libtool in
> between compiling each file!!!! That's crazy. I could live with it if
> cygwin didn't then stop the build every 20 minutes because it
> temporarily failed to get resources during a fork or something. And
> also, how come no-one tells you to run rebaseall after you've installed
> it all? Took me ages to work out why some programs would simply not run
> because of shared library address clashes.
Don't seem to have those problems, it is slow at file access (they claim
that's because the lower levels use the POSIX API, not the Windows one),
but I've never had any resources problems, or shareable libraries issues
either. I just run /setup.exe from time to time and it all seems to run.
BTW, I have a page on Cygwin at:
http://star-www.dur.ac.uk/~pdraper/cygwin/
which says what hoops I needed to jump to get GAIA working. I'd give you a
copy of my build, but I targeted it into something other than /star (some
local drive position), so I'd need to redo it for any release.
Cheers,
Peter.
|