
On Tue, 08 May 2007 19:04:33 +0900, Neil Mitchell
You forgot to include GLUT and readline packages. I think you can't build these packages, so you don't include it.
I have built an installer for the binary package produced by the GHC Team, including whatever they included, and excluding whatever they excluded. If the GHC Team change their build so these are built, I will happily include whatever they tell me.
It's wrong about buildable packages and C++ files. First, "make binary-dist" includes these packages in binary distribution if you can build theirs. GHC 6.4 and GHC 6.6.1 or above installers include theirs. And if you can build OpenAL and ALUT, you can include these packages to your installer. Second, I can include C++ files (except header files) in binary by "make binary-dist" command with MinGW-4.1.1. http://www.haskell.org/pipermail/glasgow-haskell-users/2007-April/012410.htm... http://www.haskell.org/pipermail/glasgow-haskell-users/2007-April/012413.htm... So I want to know "What version of MinGW do you use?" and "Is your MinGW has C++ files?" If you don't find C++ files in your MinGW directory, I think you probably choice not to install C++/g++ things. So if you find your MinGW doesn't include C++ files, you must install these files first. And then you try to use "make binary-dist" command and make installer again.
There is no C++ files in your installer. But if anyone want to build C++ source code by GHC, he disappoint about that.
As before, what goes in the package is someone elses choice. This installer is intended as something quick to get a working installer out the door. I'd like to think about beefing it up, offering extra options (possibly C++ support) in the next version (i.e. 6.8, 6.6.2)
So above tasks will be complete just checking and correcting your build enviornment. An lack is C++ header files, but you can fix this problem by changing to comment out or remove dist/prep-bin-dist-mingw's below line. rm -rf include/mingw/c++/ || echo "c++/ not there" I think these tasks are easy, and they don't become bottleneck to release installer.
And can you add Installation Mode to your installer?
There is already a silent install mode, /SILENT or /VERYSILENT do something - but I have no idea what. Is that what you meant by Installation Mode?
GHC 6.6's installer (MSI) has three Installation Mode, Typical, Custom, Complete. These mode doesn't work GHC 6.6's one, but some other installer uses these Installation Mode, to suport install options. I want to say that. But that is difficult task, so I wait that for the next version. Best Regards, -- shelarcy <shelarcy hotmail.co.jp> http://page.freett.com/shelarcy/