|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
hmake and GHC 6.6Hi guys, Has compiling hmake 3.12 been tested with GHC 6.6? The webpage lists "Fix to enable hmake to build with ghc-6.6." under 3.12, but if I grab the tarball and run: ./configure make as INSTALL instructs then I get: ------------------ [...] cd src/interpreter; make HC=ghc BUILDCOMP=ghc all make[1]: Entering directory `/tmp/ian/hmake/hmake-3.12/src/interpreter' mkdir -p /tmp/ian/hmake/hmake-3.12/targets/x86_64-Linux/obj/interpreter /tmp/ian/hmake/hmake-3.12/script/hmake -hc=ghc HInteractive -d/tmp/ian/hmake/hmake-3.12/targets/x86_64-Linux/obj/interpreter \ -i../hmake -package util -package base -DUSE_READLINE=1 -lreadline Warning: package(s) util not available (according to ghc-pkg) MkProg: Can't find module Readline in user directories . ../hmake Or in installed libraries/packages at /usr/lib/ghc-6.6/imports /usr/lib/ghc-6.6/imports Asked for by: SimpleLineEditor.hs Fix using the -I, -P, or -package flags. Stop - hmake dependency error. ------------------ It looks like util should be filtered out in the -ge 605 case of script/fixghc and some dance or other needs to be done to fix the readline problems, but mostly I am worred I am missing something as the webpage implies it should work. I can't see any cabal files (except foe one for cpphs) or anything, though. Thanks Ian _______________________________________________ Nhc-users mailing list Nhc-users@... http://www.haskell.org/mailman/listinfo/nhc-users |
|
|
Re: hmake and GHC 6.6Ian Lynagh <igloo@...> writes:
> Has compiling hmake 3.12 been tested with GHC 6.6? No, not explicitly. It was tested with the pre-release 6.5 however. > The webpage lists "Fix to enable hmake to build with ghc-6.6." Ah. I expect there is something in a Makefile that still explicitly refers to the ghc by version, using 605 instead of 606. That's the trouble with testing against a pre-release - versioning information can't be checked properly. Regards, Malcolm _______________________________________________ Nhc-users mailing list Nhc-users@... http://www.haskell.org/mailman/listinfo/nhc-users |
|
|
Re: hmake and GHC 6.6Malcolm Wallace <Malcolm.Wallace@...> wrote:
> > Has compiling hmake 3.12 been tested with GHC 6.6? > No, not explicitly. It was tested with the pre-release 6.5 however. Actually, that was a lie. I certainly intended to test it on a pre-release, but I don't think I ever actually got round to it. Hence the breakage. > I expect there is something in a Makefile that still explicitly > refers to the ghc by version, using 605 instead of 606. This is also complete nonsense. The issues were exactly as you identified: * fixghc should erase any mention of -package util for ghc >= 6.5 * module Readline is now called System.Console.Readline, and it lives in -package readline. I have pushed a fix, and tested that it works on both ghc-6.4.1 and ghc-6.6. Regards, Malcolm _______________________________________________ Nhc-users mailing list Nhc-users@... http://www.haskell.org/mailman/listinfo/nhc-users |
| Free Forum Powered by Nabble | Forum Help |