On Tue, 2007-08-28 at 13:14 +0400, Alexander Vodomerov wrote:
> Does anybody here uses GHC on Linux with SELinux turned on?

I'm using it on Fedora 7 without any problems.

$ /usr/sbin/getenforce 
Enforcing
$ getsebool allow_execmem
allow_execmem --> off
$ cat /etc/redhat-release 
Fedora release 7 (Moonshine)
$ ls -Z $(which ghc)
lrwxrwxrwx  root root system_u:object_r:bin_t          /usr/bin/ghc ->
ghc-6.6.1*
$ ls -Z $(which ghci)
lrwxrwxrwx  root root system_u:object_r:bin_t          /usr/bin/ghci ->
ghci-6.6.1*
$ ghc
ghc-6.6.1: no input files
Usage: For basic information, try the `--help' option.
$ ghci
   ___         ___ _
  / _ \ /\  /\/ __(_)
 / /_\// /_/ / /  | |    GHC Interactive, version 6.6.1, for Haskell 98.
/ /_\\/ __  / /___| |    http://www.haskell.org/ghc/
\____/\/ /_/\____/|_|    Type :? for help.

Loading package base ... linking ... done.
Prelude> :l Text.hs
[1 of 1] Compiling Main             ( Text.hs, interpreted )
Ok, modules loaded: Main.
*Main> main
Loading package mtl-1.0.1 ... linking ... done.
Loading package glib-0.9.12 ... linking ... done.
Loading package cairo-0.9.12 ... linking ... done.
Loading package gtk-0.9.12 ... linking ... done.
*Main>  Leaving GHCi.
$ ghc --make Text.hs 
[1 of 1] Compiling Main             ( Text.hs, Text.o )
Linking Text ...

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to