On Mon, Mar 21, 2011 at 5:57 PM, Ketil Malde ke...@malde.org wrote:
I got gcc44 (RHEL package) installed, but the suggested (by ./configure
--help) ./configure CC=gcc44 doesn't seem to do anything, this seems
to be a documentation bug.
The command should be -with-gcc. I've used the following
Thanks a lot for all assistance and help. I'm now as well finally running
GHC 7.0.2.
I spent some time documenting all the steps I made here:
http://klevstul.posterous.com/haskell-ghc-702-on-centos-55
Cheers,
Frode
[k]
___
Haskell-Cafe mailing list
*** GHC 7
The ghc7 binaries are compiled against a newer version of glibc than
is available on RHEL/CentOS. It works fine if you compile ghc7 from
source yourself (you can use 6.12 for that).
| Did it? I tried to do that, but I got errors about needing -fPIC. I
| tried to mess with CFLAGS,
*** CABAL
By the way, I encounter the same error when trying to install Cabal
manually:
[1 of 1] Compiling Main ( Setup.lhs, Setup.o )
Linking Setup ...
collect2: ld terminated with signal 15 [Terminated]
Error during cabal-install bootstrap:
Compiling the Setup script failed
[k]
--
collect2: ld terminated with signal 15 // PROBLEM SOLVED
--
*** HASKELL PLATFORM
Building
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
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
Hi.
I've spent some time trying to setup the Haskell Platform on CentOS 5.5:
# cat /proc/version
Linux version 2.6.18-028stab070.14 (root@rhel5-build-x64) (gcc version 4.1.2
20080704 (Red Hat 4.1.2-46)) #1 SMP Thu Nov 18 16:04:02 MSK 2010
I've compiled from source, similar to what is done here:
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: