Hi,<br><br>Thanks for the bug reports, I don't have a big endian machine to test Yhc on so it's quite hard to debug the builds. I'm trying to get my department to install scons onto a Solaris SPARC machine so I can test on that.
<br><br>I have added tests for Subversion and GHC so you'll get proper error messages if the correct programs are not installed.<br><br>Can you try going into the .scons_temp subdirectory under whereever you built yhc? In there will be a collection of source code files, executables and text files holding the output. One of them will be the program which determines whether the machine is big endian. If you could run that directly from a consol and tell me what the output is that would be helpful. I have run that program standalone under Solaris and got the correct output.
<br><br>Cheers,<br>Andrew<br><br><div><span class="gmail_quote">On 7/10/06, <b class="gmail_sendername">Isaac</b> &lt;<a href="mailto:isaacdupree@charter.net">isaacdupree@charter.net</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Andrew Wilkinson wrote:<br><br>&gt; Please try it out and let me know any error messages that you get!<br><br>$ scons<br>scons: Reading SConscript files ...<br>svn co <a href="http://svn.python.org/projects/ctypes/trunk/ctypes/source/">
http://svn.python.org/projects/ctypes/trunk/ctypes/source/</a><br>depends/ctypes<br>sh: svn: command not found<br>Bootstrapping...<br>IOError: [Errno 2] No such file or directory: 'depends/ctypes/SConscript':<br>&nbsp;&nbsp;File &quot;Sconstruct&quot;, line 32:
<br>&nbsp;&nbsp;&nbsp;&nbsp;bootstrap(env)<br>&nbsp;&nbsp;File &quot;/home/isaac/build/yhc-devel/build/bootstrap.py&quot;, line 13:<br>&nbsp;&nbsp;&nbsp;&nbsp;copy(env, &quot;depends/ctypes/SConscript&quot;, &quot;build/SConscript.ctypes&quot;)<br>&nbsp;&nbsp;File &quot;/home/isaac/build/yhc-devel/build/bootstrap.py&quot;, line 32:
<br>&nbsp;&nbsp;&nbsp;&nbsp;open(to, &quot;w&quot;).write(open(file, &quot;r&quot;).read()) # is there a better way<br>to copy a file?<br><br>In other words, I didn't have subversion installed. It would be nice if<br>the resulting error messages were a bit more obvious though.
<br><br>After installing subversion and darcs-pulling again, here is the end of<br>its log (it failed) (I've added a few ###[annotations]### manually):<br>[...]<br>Checked out revision 50525.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;###[of ctypes]###<br>Bootstrapping...
<br>Done.<br>Checking whether byte ordering is bigendian... failed&nbsp;&nbsp; ###[bad]###<br>Checking size of char... 1<br>Checking size of short... 2<br>Checking size of int... 4<br>Checking size of long... 4<br>Checking size of long long... 8
<br>Checking size of float... 4<br>Checking size of double... 8<br>Checking size of void*... 4<br>Checking for pthread_create() in C library pthread... yes<br><br>Generating config.h with the following settings:<br><br>&nbsp;&nbsp;&nbsp;&nbsp;WORDS_BIGENDIAN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;None&nbsp;&nbsp;&nbsp;&nbsp;###[bad]###
<br>&nbsp;&nbsp;&nbsp;&nbsp;HAVE_LIBPTHREAD&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1<br>&nbsp;&nbsp;&nbsp;&nbsp;SIZEOF_LONG_LONG&nbsp;&nbsp;&nbsp;&nbsp; 8<br>&nbsp;&nbsp;&nbsp;&nbsp;SIZEOF_LONG&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4<br>&nbsp;&nbsp;&nbsp;&nbsp;WIN32&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0<br>&nbsp;&nbsp;&nbsp;&nbsp;SIZEOF_VOIDP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4<br>&nbsp;&nbsp;&nbsp;&nbsp;SIZEOF_CHAR&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1<br>&nbsp;&nbsp;&nbsp;&nbsp;SIZEOF_DOUBLE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;8<br>&nbsp;&nbsp;&nbsp;&nbsp;SIZEOF_FLOAT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4
<br>&nbsp;&nbsp;&nbsp;&nbsp;SIZEOF_INT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4<br>&nbsp;&nbsp;&nbsp;&nbsp;HAVE_GCC_LABELS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1<br>&nbsp;&nbsp;&nbsp;&nbsp;SIZEOF_SHORT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2<br><br>TypeError: int argument required:<br>&nbsp;&nbsp;File &quot;Sconstruct&quot;, line 35:<br>&nbsp;&nbsp;&nbsp;&nbsp;configure(env, Configure) # Configure<br>
&nbsp;&nbsp;File &quot;/home/isaac/build/yhc-devel/build/configure.py&quot;, line 42:<br>&nbsp;&nbsp;&nbsp;&nbsp;config_h_build('config.h', '<a href="http://config.h.new.in">config.h.new.in</a>', vals)<br>&nbsp;&nbsp;File &quot;/home/isaac/build/yhc-devel/build/config_h.py&quot;, line 21:
<br>&nbsp;&nbsp;&nbsp;&nbsp;text = config_h_in.read() % defines<br><br>(I'm on powerpc which is big-endian)<br><br>Isaac<br></blockquote></div><br>