Re: [Haskell-cafe] yhc install fails

Yhc people:
On Nov 21, 2007 8:46 PM, Thomas Hartman
I'm having the devil of a time getting yhc to install.
or for posterity
root@none:~/yhc-install/yhc>scons
... blah blah blah...
Compiling PreludeAux ( src/packages/yhc-base-1.0/PreludeAux.hs ) YHC_build(["src/packages/yhc-base-1.0/Foreign/Util.hbc"], ["src/packages/yhc-base-1.0/Foreign/Util.hs"]) inst/bin/yhc --core --cpp -c src/packages/yhc-base-1.0/Foreign/Util.hs Compiling Foreign.Util ( src/packages/yhc-base-1.0/Foreign/Util.hs ) YHC_build(["src/packages/yhc-base-1.0/Foreign/C/String.hbc"], ["src/packages/yhc-base-1.0/Foreign/C/String.hs"]) inst/bin/yhc --core --cpp -c src/packages/yhc-base-1.0/Foreign/C/String.hs Error: File not found, Foreign.Storable Reason: imported from Foreign.C.String Looked in: /root/yhc-install/yhc/src/packages/yhc-base-1.0/ /root/yhc-install/yhc/inst/lib/yhc/packages/yhc-base/1.0 scons: *** [src/packages/yhc-base-1.0/Foreign/C/String.hbc] Error 1 scons: building terminated because of errors.
root@none:~/yhc-install/yhc>ghc --version The Glorious Glasgow Haskell Compilation System, version 6.8.1
advice?
thomas. _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Apologies, I broke this when I fixed the getArgs bug. It's actually just a build problem, Storable needs to be built before C/String. I didn't notice it because it only happens with a fresh (uncompiled) copy of yhc. Anyway fix pushed. Thanks Tom Neil Mitchell wrote:
Yhc people:
On Nov 21, 2007 8:46 PM, Thomas Hartman
wrote: I'm having the devil of a time getting yhc to install.
or for posterity
root@none:~/yhc-install/yhc>scons
... blah blah blah...
Compiling PreludeAux ( src/packages/yhc-base-1.0/PreludeAux.hs ) YHC_build(["src/packages/yhc-base-1.0/Foreign/Util.hbc"], ["src/packages/yhc-base-1.0/Foreign/Util.hs"]) inst/bin/yhc --core --cpp -c src/packages/yhc-base-1.0/Foreign/Util.hs Compiling Foreign.Util ( src/packages/yhc-base-1.0/Foreign/Util.hs ) YHC_build(["src/packages/yhc-base-1.0/Foreign/C/String.hbc"], ["src/packages/yhc-base-1.0/Foreign/C/String.hs"]) inst/bin/yhc --core --cpp -c src/packages/yhc-base-1.0/Foreign/C/String.hs Error: File not found, Foreign.Storable Reason: imported from Foreign.C.String Looked in: /root/yhc-install/yhc/src/packages/yhc-base-1.0/ /root/yhc-install/yhc/inst/lib/yhc/packages/yhc-base/1.0 scons: *** [src/packages/yhc-base-1.0/Foreign/C/String.hbc] Error 1 scons: building terminated because of errors.
root@none:~/yhc-install/yhc>ghc --version The Glorious Glasgow Haskell Compilation System, version 6.8.1
advice?
thomas. _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
_______________________________________________ Yhc mailing list Yhc@haskell.org http://www.haskell.org/mailman/listinfo/yhc
participants (2)
-
Neil Mitchell
-
Thomas Shackell