Re: [Haskell-cafe] Need help with ghc static compile for cgi using mysql

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... Haskell needs a better commodity hosting story, to allow for casual, fun web hacking. For the record, I tried nearlyfreespeech.net and dreamhost. I wasn't able to install ghc and cabal due to: * FreeBSD GHC support (old version) * FreeBSD library support (no HDBC) * Linux - Missing 'dev' libraries like zlib and not having root access

I've run Haskell stuff on VPS hosts like Linode or SliceHost. $20/month is a
lot better than $60.
On Thu, Oct 15, 2009 at 12:32 PM, Austin King
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... Haskell needs a better commodity hosting story, to allow for casual, fun web hacking.
For the record, I tried nearlyfreespeech.net and dreamhost. I wasn't able to install ghc and cabal due to: * FreeBSD GHC support (old version) * FreeBSD library support (no HDBC) * Linux - Missing 'dev' libraries like zlib and not having root access _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

On Thu, Oct 15, 2009 at 10:11 AM, John Van Enk
I've run Haskell stuff on VPS hosts like Linode or SliceHost. $20/month is a lot better than $60.
lambdabot is currently hosted on the lowest end linode. The biggest hurdle I hit was that gnu ld is a memory pig when GHC is compiled with split obj. I had to build my own ghc (after disabling split obj, not hard but not adequately documented either) and things seem to be fine now. Before I built GHC without split obj I wasn't even able to link Setup.hs to start building anything. I would go so far as to recommend GHC HQ do something about the split obj issue. I think ideally we need someone to improve gnu ld. RAM is expensive on the linode so you need to make sure the code you want to run is memory efficient (swap is prohibitively slow). Having root and and nice web control panel is a huge win. I'm reasonably happy considering the relative cost. Jason
participants (4)
-
Austin King
-
Jason Dagit
-
John Dorsey
-
John Van Enk