[Yhc] Re: [Haskell-cafe] yhc install fails

Thomas Shackell shackell at cs.york.ac.uk
Thu Nov 22 04:31:01 EST 2007


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 <tphyahoo at gmail.com> wrote:
>> I'm having the devil of a time getting yhc to install.
>>
>> http://hpaste.org/4028
>>
>> or for posterity
>>
>> root at 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 at none:~/yhc-install/yhc>ghc --version
>> The Glorious Glasgow Haskell Compilation System, version 6.8.1
>>
>> advice?
>>
>> thomas.
>> _______________________________________________
>> Haskell-Cafe mailing list
>> Haskell-Cafe at haskell.org
>> http://www.haskell.org/mailman/listinfo/haskell-cafe
>>
> _______________________________________________
> Yhc mailing list
> Yhc at haskell.org
> http://www.haskell.org/mailman/listinfo/yhc



More information about the Yhc mailing list