Do you really mean to be installing starcluster on your ec2 node?<div><br></div><div>The most relevant line is this one:</div><div><br></div><div>src/MD2.c:31:20: error: Python.h: No such file or directory<br><br>To build Python extensions, you need the Python headers, etc, which should be be installed with your package manager.</div>

<div><div>on debian/ubuntu:</div></div><div><br></div><div>    sudo apt-get install python-dev</div><div><br></div><div><br></div><div>-MinRK<br><br><div class="gmail_quote">On Mon, Nov 28, 2011 at 12:24, Quang Trinh <span dir="ltr">&lt;<a href="mailto:quang.trinh@gmail.com">quang.trinh@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
  I am trying to install starcluster but get this error msg ( see<br>
below ).  Can someone tell me how to get around this?<br>
<br>
Thanks,<br>
<br>
Q<br>
<br>
[ec2-user@xxxxxxx applications]$ sudo easy_install StarCluster<br>
Searching for StarCluster<br>
Best match: StarCluster 0.92.1<br>
Processing StarCluster-0.92.1-py2.6.egg<br>
StarCluster 0.92.1 is already the active version in easy-install.pth<br>
Installing starcluster script to /usr/bin<br>
<br>
Using /usr/lib/python2.6/site-packages/StarCluster-0.92.1-py2.6.egg<br>
Processing dependencies for StarCluster<br>
Searching for pycrypto&gt;=2.1<br>
Reading <a href="http://pypi.python.org/simple/pycrypto/" target="_blank">http://pypi.python.org/simple/pycrypto/</a><br>
Reading <a href="http://pycrypto.sourceforge.net" target="_blank">http://pycrypto.sourceforge.net</a><br>
Reading <a href="http://www.pycrypto.org/" target="_blank">http://www.pycrypto.org/</a><br>
Reading <a href="http://www.amk.ca/python/code/crypto" target="_blank">http://www.amk.ca/python/code/crypto</a><br>
Best match: pycrypto 2.4.1<br>
Downloading <a href="https://ftp.dlitz.net/pub/dlitz/crypto/pycrypto/pycrypto-2.4.1.tar.gz" target="_blank">https://ftp.dlitz.net/pub/dlitz/crypto/pycrypto/pycrypto-2.4.1.tar.gz</a><br>
Processing pycrypto-2.4.1.tar.gz<br>
Running pycrypto-2.4.1/setup.py -q bdist_egg --dist-dir<br>
/tmp/easy_install-mYT5_f/pycrypto-2.4.1/egg-dist-tmp-72tY14<br>
warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath.<br>
src/MD2.c:31:20: error: Python.h: No such file or directory<br>
src/MD2.c:120: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’<br>
before ‘*’ token<br>
In file included from src/MD2.c:136:<br>
src/hash_template.c:48: error: expected specifier-qualifier-list<br>
before ‘PyObject_HEAD’<br>
src/hash_template.c:59: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or<br>
‘__attribute__’ before ‘PyTypeObject’<br>
src/hash_template.c: In function ‘newALGobject’:<br>
src/hash_template.c:69: warning: implicit declaration of function ‘PyObject_New’<br>
src/hash_template.c:69: error: expected expression before ‘ALGobject’<br>
src/hash_template.c: At top level:<br>
src/hash_template.c:76: error: expected ‘)’ before ‘*’ token<br>
src/hash_template.c:91: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or<br>
‘__attribute__’ before ‘*’ token<br>
src/hash_template.c:110: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or<br>
‘__attribute__’ before ‘*’ token<br>
src/hash_template.c:122: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or<br>
‘__attribute__’ before ‘*’ token<br>
src/hash_template.c:162: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or<br>
‘__attribute__’ before ‘*’ token<br>
src/hash_template.c:181: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or<br>
‘__attribute__’ before ‘ALG_methods’<br>
src/hash_template.c:189: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or<br>
‘__attribute__’ before ‘*’ token<br>
src/hash_template.c:214: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or<br>
‘__attribute__’ before ‘ALGtype’<br>
src/hash_template.c:265: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or<br>
‘__attribute__’ before ‘*’ token<br>
src/hash_template.c:298: error: array type has incomplete element type<br>
src/hash_template.c:299: error: ‘PyCFunction’ undeclared here (not in<br>
a function)<br>
src/hash_template.c:299: error: expected ‘}’ before ‘ALG_new’<br>
src/hash_template.c: In function ‘initMD2’:<br>
src/hash_template.c:333: error: ‘PyObject’ undeclared (first use in<br>
this function)<br>
src/hash_template.c:333: error: (Each undeclared identifier is<br>
reported only once<br>
src/hash_template.c:333: error: for each function it appears in.)<br>
src/hash_template.c:333: error: ‘m’ undeclared (first use in this function)<br>
src/hash_template.c:345: error: ‘ALGtype’ undeclared (first use in<br>
this function)<br>
src/hash_template.c:345: error: ‘PyType_Type’ undeclared (first use in<br>
this function)<br>
src/hash_template.c:346: warning: implicit declaration of function<br>
‘Py_InitModule’<br>
src/hash_template.c:350: error: ‘o’ undeclared (first use in this function)<br>
src/hash_template.c:350: warning: implicit declaration of function<br>
‘PyInt_FromLong’<br>
src/hash_template.c:350: warning: implicit declaration of function<br>
‘PyDict_SetItemString’<br>
src/hash_template.c:350: warning: implicit declaration of function<br>
‘PyModule_GetDict’<br>
src/hash_template.c:350: warning: implicit declaration of function ‘Py_DECREF’<br>
src/hash_template.c:354: warning: implicit declaration of function<br>
‘PyErr_Occurred’<br>
src/hash_template.c:355: warning: implicit declaration of function<br>
‘Py_FatalError’<br>
error: Setup script exited with error: command &#39;gcc&#39; failed with exit status 1<br>
<br>
_______________________________________________<br>
StarCluster mailing list<br>
<a href="mailto:StarCluster@mit.edu">StarCluster@mit.edu</a><br>
<a href="http://mailman.mit.edu/mailman/listinfo/starcluster" target="_blank">http://mailman.mit.edu/mailman/listinfo/starcluster</a><br>
</blockquote></div><br></div>