
Hi, I am trying to build yhc on my mac. I have ghc 6.4.1 installed and gcc 4.0.1. However, when configuring I get the following message: ... Checking for GHC binary... (cached) "/Users/cmb21/bin/ghc" Checking for GHC version 6.4.1 or later... (cached) Found version 6.4.1. 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. dhcp2938:~/yhc cmb21$ I'm not sure what the problem is here; could someone help please? Kind regards, Chris Brown.

On 11/7/06, C.M.Brown
Hi,
I am trying to build yhc on my mac. I have ghc 6.4.1 installed and gcc 4.0.1. However, when configuring I get the following message:
This is a problem I have seen on a semi-regular basis with MacOS X machines, but not having one I haven't been able to track it down. Some time it works, other times it fails to build. Can you please email me the config.log file that should be in your yhc directory? After you've done that please try a 'scons fullclean' then try building again. Cheers, Andrew

Hi Andrew,
This is a problem I have seen on a semi-regular basis with MacOS X machines, but not having one I haven't been able to track it down. Some time it works, other times it fails to build.
Can you please email me the config.log file that should be in your yhc directory?
Attached. After you've done that please try a 'scons fullclean' then try
building again.
I've tried that as well and it still comes up with an error! Thanks, Chris

C.M.Brown wrote:
Attached.
After you've done that please try a 'scons fullclean' then try
building again.
I've tried that as well and it still comes up with an error!
I have also found that the fullclean doesn't get everything. I've been using this to strip everything down to just the files that darcs knows about: # darcs whatsnew -ls | grep '^a' | awk '{print $2}' | xargs rm -rf
participants (3)
-
Andrew Wilkinson
-
C.M.Brown
-
Clifford Beshers