[Haskell-cafe] Cannot compile Network.CGI programs
Donald Bruce Stewart
dons at cse.unsw.edu.au
Sat May 26 04:03:37 EDT 2007
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: RIPEMD160
> I installed the Network.CGI package and tried to compile the Hello World
> example on my Ubuntu machine.
> >ghc cgi.hs -o cgi
Missing --make to link against the cgi and network and mtl packages.
Also, -O or -O2, you may as well optimise your code :-)
ghc --make -O cgi.hs -o cgi
More information about the Haskell-Cafe