<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<div>Hi,</div>
<div><br>
</div>
<div>I am trying to install StarCluster on a Mac 10.8 (Mountain Lion) .</div>
<div><br>
</div>
<div>After trying both through github and easy_install I always get an error after executing:</div>
<div><br>
</div>
<div><b>sudo python setup.py install</b></div>
<div><br>
</div>
<div>The pertinent error message is:</div>
<div><br>
</div>
<div>
<div><b>ld: warning: ignoring file /usr/local/lib/libgmp.a, file was built for archive which is not the architecture being linked (i386)</b></div>
<div>ld: illegal text reloc to ___gmp_binvert_limb_table from /usr/local/lib/libgmp.a(mp_minv_tab.o) in ___gmpn_divexact_1 for architecture x86_64</div>
<div>collect2: ld returned 1 exit status</div>
<div>lipo: can't open input file: /var/tmp//ccVxGnLR.out (No such file or directory)</div>
<div><b>error: Setup script exited with error: command 'gcc-4.2' failed with exit status 1</b></div>
</div>
<div><b><br>
</b></div>
<div>After some searching I found that the key is with the architecture and the compiler gcc-4.2.&nbsp;</div>
<div><br>
</div>
<div>I have the latest update to Xcode 4, so assume that gcc-4.2 is correct. I assume that the file libgmp.a was built for 32-bit (i386) and my compiler is trying to run with 64-bit (x86_64)?</div>
<div><br>
</div>
<div>Having little to no experience with this, can anyone suggest a workaround?</div>
<div><br>
</div>
<div>Regards,</div>
<div>matt</div>
</body>
</html>