frode k mailingl...@klevstul.com writes:
However I do of course want to run it through CGI on a webserver. I'm
running lighttpd. If I try to run the file compiled above I get 500 -
Internal Server Error, most likely since the enviroment is not correct for
dynamic linked files:
Why wouldn't
On Wed, Mar 16, 2011 at 8:05 AM, Ketil Malde ke...@malde.org wrote:
frode k mailingl...@klevstul.com writes:
However I do of course want to run it through CGI on a webserver. I'm
running lighttpd. If I try to run the file compiled above I get 500 -
Internal Server Error, most likely since
Why wouldn't the environment (i.e. available dynamic libraries) be
correct for the web server?
beacuse it runs CGI programs in a chroot jail?
Then you need to copy the .so files into the jail, cf.
http://www.cyberciti.biz/tips/howto-setup-lighttpd-php-mysql-chrooted-jail.html
J.W.
I had missed out some settings in the configuration files of lighttpd.
Summary:
- I renamed the Haskell test file to haskell.hcgi
- I edited /etc/lighttpd/conf.d/cgi.conf and added two entries in the
cgi.assign section, one for .hcgi and one for .hs (the latter one only
to enable running of .hs
I've installed GHC version 6.12.3 on CentOS 5.5 x86_64. I'm trying to run a
very simple Haskell program as CGI following the guide at:
http://www.haskell.org/haskellwiki/Practical_web_programming_in_Haskell
My .hs file I'm trying to use looks like this:
On Thu, Nov 12, 2009 at 8:57 AM, David Virebayre
dav.vire+hask...@gmail.com wrote:
On Wed, Nov 11, 2009 at 5:44 PM, Svein Ove Aas svein@aas.no wrote:
My recommendation would be to take glibc off the list of statically
linked libraries.
How do you do that ?
By specifying the entire list
On Tue, Nov 10, 2009 at 4:29 PM, Ketil Malde ke...@malde.org wrote:
MightyByte mightyb...@gmail.com writes:
After a bit of googling, I came to the conclusion that I needed to
compile it with ghc --make -static -optl-static Foo.hs. Using only
-static or -optl-static by themselves did not
On Wed, Nov 11, 2009 at 3:22 PM, MightyByte mightyb...@gmail.com wrote:
(.text+0x3068): warning: Using 'getaddrinfo' in statically linked
applications requires at runtime the shared libraries from the glibc
version used for linking
But glibc is pretty standard, so I don't think this will be
On Wed, Nov 11, 2009 at 5:44 PM, Svein Ove Aas svein@aas.no wrote:
My recommendation would be to take glibc off the list of statically
linked libraries.
How do you do that ?
David.
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
I am trying to statically compile a simple haskell program so I can
use it on a Linux computer without haskell and it's associated
libraries. Here is a small example program that illustrates my
problem:
module Main where
import Network.Fancy
main = do
withDgram (IP 127.0.0.1 1234) (flip
MightyByte mightyb...@gmail.com writes:
After a bit of googling, I came to the conclusion that I needed to
compile it with ghc --make -static -optl-static Foo.hs. Using only
-static or -optl-static by themselves did not generate a
statically linked binary. But when I compile with both those
11 matches
Mail list logo