[Haskell-beginners] Problems with ghc

Daniel Fischer daniel.is.fischer at web.de
Wed Oct 15 07:04:41 EDT 2008


Am Mittwoch, 15. Oktober 2008 12:54 schrieb Paul Johnston:
> Apologies if this is not exactly what this list is for but is anyone
> running ghc on Solaris, specifically Open Solaris 5.11?
>
> It seemed to work
>
> paulj at hb-0021209.humanities.manchester:~/haskell/aht/3$ ghc --version
> The Glorious Glasgow Haskell Compilation System, version 6.8.3
> paulj at hb-0021209.humanities.manchester:~/haskell/aht/3$ ghci
> GHCi, version 6.8.3: http://www.haskell.org/ghc/  :? for help
> Loading package base ... linking ... done.
> Prelude>
>
> And ghci works as expected but !!!
>
> Trying to compile I get:
>
> paulj at hb-0021209.humanities.manchester:~/haskell/aht/3$ ghc -o Haq Haq.hs

Try

ghc -o Haq --make Haq.hs

or give the needed packages with the flag -package on the commandline.


More information about the Beginners mailing list