For now, I've given up on cheap hosting (via statically compiled CGI).
I've created a GHC 6.10.4, cabal-install, Ubuntu 9.04 ec2 instance +
MySQL and it works well.
Running this plus EBS and Elastic IP will run a little over $60 a month. Ouch.
The work going into Haskell Platform is amazing, but
I'm trying to host a cgi I've written. It uses Database.HDBC,
Database.HDBC.MySQL, Network.CGI, and Text.XHtml.Transitional
Here is the command I'm using to compile
ghc --make -optl-static -optl-pthread -static -o test.cgi
-package cgi -package xhtml -package HDBC-mysql -package HDBC -optl
-lz M