Hello. I've tried to do prefix bootstrap on Interix 6.1 (Windows 7) and, naturally, ran into several errors. I've managed to fix them but one, so I'm sharing my solutions with prefix devs for inclusion in the script. Here are my notes: * add to PATH - /opt/gcc.3.3/bin for gcc - /usr/bin/contrib for gzip, otherwise bootstrap script tries to download .tar archives * use make-3.79, make-3.82 does not build with gcc-3.3 * use sed-4.1.9, sed-4.2 fails with `couldn't flush stdin: invalid seek on non-seekable object` * coreutils's lib/Makefile missed `mountlist.$(OBJEXT)` in `libcoreutils_a_OBJ`, therefore stat.o fails to link * grep needs gperf, therefore add `bootstrap_gnu gperf 3.0.1`. Also, gperf fails to build docs without texinfo, so `doc` subdir must be disabled in `configure.in` * python needs existing python, this can be worked around with installing python from `python.org` and temporaly symlinking it into e.g. `/usr/contrib/bin`. Also, it's required to set `BUILDEXE=.exe` in `Makefile`, otherwise SUA fails to run `./python`. And python needs rpath setting, otherwise it will not work After all this adjustments, bootstrap script successfully went through stage1 and stage2. But on stage3 it seems to hang on the first emerge call: no output after 'These are the packages that would be merged, in order:'. I've not created solution for this yet.
Not to spoil the fun, but I was under the impression Interix is dead in the water now. That said, is it fruitful to try and revive it again?
Yes, Interix (SUA/SFU) is dead. Windows Server 2012R2 discontinued support for that. There is some work happening to get (our in house fork of) prefix working using another technique; We're using a Linux box and a Windows VM plus invented [1] to couple them... :) (Note: we're using prefix /only/ to get a compiler wrapper running that produces native windows binaries using native linux build systems... so our scope is rather reduced - no "get me vim on windows" or so). This is however highly experimental, and actually I doubt that this will ever get mature enough for upstream prefix. It's an interesting technology though :D [1] https://github.com/mduft/rex
Given Markus retired, and Interix is a dead end, removal of Interix keywords seem the best way forward.
For the archives: A Cygwin patch to protect fork() against dll- and exe-updates is on the road: http://thread.gmane.org/gmane.os.cygwin.devel/1378