[Haskell-beginners] Install on "foreign" server problems
Michael Snoyman
michael at snoyman.com
Mon May 30 22:23:28 CEST 2011
On Mon, May 30, 2011 at 11:07 PM, Lawrence Bottorff
<galaxybeingplan9 at gmail.com> wrote:
> I'm trying to install the binary of 7.0.3 on a Bluehost.com server where I
> have an account and ssh shell for a web client of mine. I want to eventually
> run Yesod or happstack or some other sort of "haskell on the web." I've
> talked with their tech support and they're cool with it as long as it's an
> "in-place" install. Good. I try the ./configure and it errors saying things
> like:
> checking for path to top of build tree...
> utils/ghc-pwd/dist/build/tmp/ghc-pwd: /lib64/libc.so.6: version `GLIBC_2.9'
> not found (required by utils/ghc-pwd/dist/build/tmp/ghc-pwd)
> utils/ghc-pwd/dist/build/tmp/ghc-pwd: /lib64/libc.so.6: version `GLIBC_2.7'
> not found (required by utils/ghc-pwd/dist/build/tmp/ghc-pwd)
> configure: error: cannot determine current directory
> I'm not (nor ever was) much of a sysadmin type. Any advice? I also installed
> 7.0.3 on my home machine and got a lot of dependency problems I'm sure I'll
> face once I get past this GLIBC problem.
> Actually, I'm just trying to do Web with Haskell on a server/cloud other
> than my own home box. Again, I have a Web client and I'd like to get us off
> PHP. Any Haskell-friendly clouds/hosts to suggest? Somebody said they had
> Yesod running on Amazon EC2....
> Olwe
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners
>
>
Hi Lawrence
I think a lot of us are finding that the easiest solution is to
compile the binaries locally and upload to the server. In my case,
I've tried having the compiler on a VPS, but compiling is very
memory-intensive, and it can be a real pain whenever you need to
upgrade libraries.
My newest deployment is simply an EC2 micro instance running Ubuntu
32-bit, just like I have on my local system. I compile the app, copy
the binary and the static files, and deployment is done. I'll likely
be adding some notes about this to the Yesod book, and perhaps even
put together some scripts to automate the process more.
Michael
More information about the Beginners
mailing list