i have made a package file for GHC. this is how you can install fudgets. 1. download it: http://www.cse.ogi.edu/~hallgren/untested/fudgets-030414-ghc-5.04.3-i386-linux-rh9.tar.gz 2. unzip it: tar -C /usr/local -xzvf fudgets-030414-ghc-5.04.3-i386-linux-rh9.tar.gz 3. add it to the ghc package database: env GHCFUDGETS=/usr/local/lib/GhcFudgets ghc-pkg -a < fudgets.pkg (this is in csh, for bash simply remove the "env")
then you should be able to compile programs using fudgets like this: ghc --make -package fudgets SpaceInvaders2.hs
hope this helps. bye iavor
Bas van Dijk wrote:
Hi,
Does anybody have the Fudgets library working with GHC 5.04.3 ?
I know the library is tested under GHC 5.02 but I would rather not install two versions of GHC.
Bas.
_______________________________________________ Haskell mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell
Package { name = "fudgets", import_dirs = ["${GHCFUDGETS}"], source_dirs = [], library_dirs = ["${GHCFUDGETS}","${GHCFUDGETS}/contrib","/usr/X11R6/lib"], hs_libraries = ["Fudgets","FudgetsXlib","ContribFudgets"], extra_libraries = ["X11","Xext"], include_dirs = [], c_includes = [], package_deps = ["lang"], extra_ghc_opts = ["-fglasgow-exts"], extra_cc_opts = [], extra_ld_opts = [] }