<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Oh, I missed an important fact - platform() MUST! return a best default, if it fails, it causes exit(1), (according to Alastair's stack trace) &nbsp;that cannot be caught anyway (unless you override it beforehand like sys.abort = dummy , sys.exit= dummy),<div><br></div><div>So, I suggest Alastair should fix his platform settings out (I did test 12.04 x32 and x64 bits on a VM-Ware systems and they worked fine).</div><div><br></div><div>Cheers,</div><div><br></div><div>o&nbsp;<br><br><div>&gt; From: xtald00d@gmail.com<br>&gt; Date: Tue, 11 Jun 2013 15:52:08 -0600<br>&gt; To: cctbxbb@phenix-online.org<br>&gt; Subject: Re: [cctbxbb] build problem on ubuntu 12.04<br>&gt; <br>&gt; <br>&gt; On Jun 11, 2013, at 3:41 PM, Nathaniel Echols wrote:<br>&gt; &gt; Okay, I've added the sys.maxsize check if the call to<br>&gt; &gt; platform.architecture() doesn't work.  The only issue with this is<br>&gt; &gt; that sys.maxsize wasn't introduced until Python 2.6, so we can't use<br>&gt; &gt; it by default yet.<br>&gt; &gt; <br>&gt; &gt; -Nat<br>&gt; <br>&gt; The top answer here<br>&gt; <br>&gt; http://stackoverflow.com/questions/1405913/how-do-i-determine-if-my-python-shell-is-executing-in-32bit-or-64bit-mode-on-os<br>&gt; <br>&gt; gets around the python 2.6 dependency.<br>&gt; <br>&gt; In a nutshell:<br>&gt; <br>&gt; import struct<br>&gt; nbits = 8 * struct.calcsize("P")<br>&gt; <br>&gt; <br>&gt; James<br>&gt; _______________________________________________<br>&gt; cctbxbb mailing list<br>&gt; cctbxbb@phenix-online.org<br>&gt; http://phenix-online.org/mailman/listinfo/cctbxbb<br></div></div>                                               </div></body>
</html>