[Yhc] YHC Install Error...

Alexis Morris akmorris at gmail.com
Wed Jun 13 11:34:19 EDT 2007


On 6/13/07, Neil Mitchell <ndmitchell at gmail.com> wrote:
>
> Hi Alexis,
>
> > I tried the commands below, and the first two executed fine...after that
> > when I run scons it doesn't find the C compiler. Where can I specify
> this?
> > Originally it ran with the cl.exe compiler that comes with visual c++
> but
> > somehow has stopped. Not sure why. Below is an output...
> >
> > C:\yhc>scons
> > scons: Reading SConscript files ...
> > Building version 0.7.0-20070505002602-custom.
> > Checking for architecture... (cached) Windows implies x86
> > Checking for operating system... (cached) win32
> > Checking for Subversion binary... (cached) Not found
> > Error. 'svn' not found in PATH. Will use ctypes snapshot.
> > Checking for GHC binary... (cached) "ghc"
> > Checking for GHC version 6.4.1 or later... (cached) Found version 6.6.1.
> > Checking for Python version 2.3 or later... (cached) Found version 2.5.1
> > final (0).
> > Checking for Scons binary... (cached) "scons"
> > Checking for Darcs binary... (cached) "darcs"
> > Checking for Darcs version... (cached) Found version 1.0.7 (release).
> > Checking for Haddock binary... (cached) Not found
> > Error. Haddock not found, you won't be able to build the documentation.
> > Checking whether byte ordering is bigendian... (cached) no
> > Checking size of char... (cached) no
> > Checking size of short... (cached) no
> > Checking size of int... (cached) no
> > Checking size of long... (cached) no
> > Checking size of long long... (cached) no
> > Checking size of float... (cached) no
> > Checking size of double... (cached) no
> > Checking size of void*... (cached) no
> > Failed to check types sizes/endianness. You do have a working C compiler
> > don't you?
> > If so then please contact the Yhc developers for help.
> >
> > //Me testing the c compiler...
> >
> > C:\yhc>cl
> > Microsoft (R) 32-bit C/C++ Standard Compiler Version 12.00.8168 for
> 80x86
> > Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
> >
> > usage: cl [ option... ] filename... [ /link linkoption... ]
> >
> > C:\yhc>
>
> Weird! My usual issue is that you can start either a standard command
> prompt, or a Visual Studio command prompt - only the latter will be
> able to compile Yhi.
>
> Thanks
>
> Neil
>

Hi,

Apparently there's a bug in Scons that doesn't refresh the cache. The
solution I found somewhere on this mailing list was to do a

scons configure --config=force

That solved it. Now I'm just going to try compiling yhi using arm-gcc.

Cheers

-- 
</Alexis>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/yhc/attachments/20070613/d51590d9/attachment.htm


More information about the Yhc mailing list