summaryrefslogtreecommitdiff
path: root/pipermail/pycrypto/attachments/20100221/b87f38ad/attachment.html
blob: ad33c90d8c01b7bf7c7a2ea51d78de2782c5ec2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<tt>
Hello,&lt;br&gt;&lt;br&gt;I&amp;#39;m&nbsp;new&nbsp;here&nbsp;and&nbsp;I&nbsp;plan&nbsp;to&nbsp;install&nbsp;pycrypto.&lt;br&gt;&lt;br&gt;I&nbsp;downloaded&nbsp;the&nbsp;pycrypto-2.1.0&nbsp;and&nbsp;put&nbsp;the&nbsp;command:&lt;br&gt;&lt;br&gt;python&nbsp;setup.py&nbsp;install&lt;br&gt;&lt;br&gt;There&nbsp;occur&nbsp;many&nbsp;error,&nbsp;the&nbsp;error&nbsp;log&nbsp;is:&lt;br&gt;---------------------------------------------------------------------------------------------------------------------------------------------&lt;br&gt;<br>
warning:&nbsp;GMP&nbsp;library&nbsp;not&nbsp;found;&nbsp;Not&nbsp;building&nbsp;Crypto.PublicKey._fastmath.&lt;br&gt;src/MD2.c:31:20:&nbsp;error:&nbsp;Python.h:&nbsp;No&nbsp;such&nbsp;file&nbsp;or&nbsp;directory&lt;br&gt;src/MD2.c:118:&nbsp;error:&nbsp;expected&nbsp;‘=’,&nbsp;‘,’,&nbsp;‘;’,&nbsp;‘asm’&nbsp;or&nbsp;‘__attribute__’&nbsp;before&nbsp;‘*’&nbsp;token&lt;br&gt;<br>
In&nbsp;file&nbsp;included&nbsp;from&nbsp;src/MD2.c:134:&lt;br&gt;src/hash_template.c:42:&nbsp;error:&nbsp;expected&nbsp;specifier-qualifier-list&nbsp;before&nbsp;‘PyObject_HEAD’&lt;br&gt;src/hash_template.c:46:&nbsp;error:&nbsp;expected&nbsp;‘=’,&nbsp;‘,’,&nbsp;‘;’,&nbsp;‘asm’&nbsp;or&nbsp;‘__attribute__’&nbsp;before&nbsp;‘PyTypeObject’&lt;br&gt;<br>
src/hash_template.c:&nbsp;In&nbsp;function&nbsp;‘newALGobject’:&lt;br&gt;src/hash_template.c:55:&nbsp;warning:&nbsp;implicit&nbsp;declaration&nbsp;of&nbsp;function&nbsp;‘PyObject_New’&lt;br&gt;src/hash_template.c:55:&nbsp;error:&nbsp;expected&nbsp;expression&nbsp;before&nbsp;‘ALGobject’&lt;br&gt;src/hash_template.c:55:&nbsp;warning:&nbsp;assignment&nbsp;makes&nbsp;pointer&nbsp;from&nbsp;integer&nbsp;without&nbsp;a&nbsp;cast&lt;br&gt;<br>
src/hash_template.c:&nbsp;At&nbsp;top&nbsp;level:&lt;br&gt;src/hash_template.c:62:&nbsp;error:&nbsp;expected&nbsp;‘)’&nbsp;before&nbsp;‘*’&nbsp;token&lt;br&gt;src/hash_template.c:77:&nbsp;error:&nbsp;expected&nbsp;‘=’,&nbsp;‘,’,&nbsp;‘;’,&nbsp;‘asm’&nbsp;or&nbsp;‘__attribute__’&nbsp;before&nbsp;‘*’&nbsp;token&lt;br&gt;src/hash_template.c:96:&nbsp;error:&nbsp;expected&nbsp;‘=’,&nbsp;‘,’,&nbsp;‘;’,&nbsp;‘asm’&nbsp;or&nbsp;‘__attribute__’&nbsp;before&nbsp;‘*’&nbsp;token&lt;br&gt;<br>
src/hash_template.c:108:&nbsp;error:&nbsp;expected&nbsp;‘=’,&nbsp;‘,’,&nbsp;‘;’,&nbsp;‘asm’&nbsp;or&nbsp;‘__attribute__’&nbsp;before&nbsp;‘*’&nbsp;token&lt;br&gt;src/hash_template.c:143:&nbsp;error:&nbsp;expected&nbsp;‘=’,&nbsp;‘,’,&nbsp;‘;’,&nbsp;‘asm’&nbsp;or&nbsp;‘__attribute__’&nbsp;before&nbsp;‘*’&nbsp;token&lt;br&gt;src/hash_template.c:160:&nbsp;error:&nbsp;expected&nbsp;‘=’,&nbsp;‘,’,&nbsp;‘;’,&nbsp;‘asm’&nbsp;or&nbsp;‘__attribute__’&nbsp;before&nbsp;‘ALG_methods’&lt;br&gt;<br>
src/hash_template.c:169:&nbsp;error:&nbsp;expected&nbsp;‘=’,&nbsp;‘,’,&nbsp;‘;’,&nbsp;‘asm’&nbsp;or&nbsp;‘__attribute__’&nbsp;before&nbsp;‘*’&nbsp;token&lt;br&gt;src/hash_template.c:178:&nbsp;error:&nbsp;expected&nbsp;‘=’,&nbsp;‘,’,&nbsp;‘;’,&nbsp;‘asm’&nbsp;or&nbsp;‘__attribute__’&nbsp;before&nbsp;‘ALGtype’&lt;br&gt;src/hash_template.c:203:&nbsp;error:&nbsp;expected&nbsp;‘=’,&nbsp;‘,’,&nbsp;‘;’,&nbsp;‘asm’&nbsp;or&nbsp;‘__attribute__’&nbsp;before&nbsp;‘*’&nbsp;token&lt;br&gt;<br>
src/hash_template.c:237:&nbsp;error:&nbsp;array&nbsp;type&nbsp;has&nbsp;incomplete&nbsp;element&nbsp;type&lt;br&gt;src/hash_template.c:238:&nbsp;error:&nbsp;‘PyCFunction’&nbsp;undeclared&nbsp;here&nbsp;(not&nbsp;in&nbsp;a&nbsp;function)&lt;br&gt;src/hash_template.c:238:&nbsp;error:&nbsp;expected&nbsp;‘}’&nbsp;before&nbsp;‘ALG_new’&lt;br&gt;<br>
src/hash_template.c:&nbsp;In&nbsp;function&nbsp;‘initMD2’:&lt;br&gt;src/hash_template.c:254:&nbsp;error:&nbsp;‘PyObject’&nbsp;undeclared&nbsp;(first&nbsp;use&nbsp;in&nbsp;this&nbsp;function)&lt;br&gt;src/hash_template.c:254:&nbsp;error:&nbsp;(Each&nbsp;undeclared&nbsp;identifier&nbsp;is&nbsp;reported&nbsp;only&nbsp;once&lt;br&gt;src/hash_template.c:254:&nbsp;error:&nbsp;for&nbsp;each&nbsp;function&nbsp;it&nbsp;appears&nbsp;in.)&lt;br&gt;<br>
src/hash_template.c:254:&nbsp;error:&nbsp;‘m’&nbsp;undeclared&nbsp;(first&nbsp;use&nbsp;in&nbsp;this&nbsp;function)&lt;br&gt;src/hash_template.c:256:&nbsp;error:&nbsp;‘ALGtype’&nbsp;undeclared&nbsp;(first&nbsp;use&nbsp;in&nbsp;this&nbsp;function)&lt;br&gt;src/hash_template.c:256:&nbsp;error:&nbsp;‘PyType_Type’&nbsp;undeclared&nbsp;(first&nbsp;use&nbsp;in&nbsp;this&nbsp;function)&lt;br&gt;<br>
src/hash_template.c:257:&nbsp;warning:&nbsp;implicit&nbsp;declaration&nbsp;of&nbsp;function&nbsp;‘Py_InitModule’&lt;br&gt;src/hash_template.c:260:&nbsp;error:&nbsp;‘o’&nbsp;undeclared&nbsp;(first&nbsp;use&nbsp;in&nbsp;this&nbsp;function)&lt;br&gt;src/hash_template.c:260:&nbsp;warning:&nbsp;implicit&nbsp;declaration&nbsp;of&nbsp;function&nbsp;‘PyInt_FromLong’&lt;br&gt;<br>
src/hash_template.c:260:&nbsp;warning:&nbsp;implicit&nbsp;declaration&nbsp;of&nbsp;function&nbsp;‘PyDict_SetItemString’&lt;br&gt;src/hash_template.c:260:&nbsp;warning:&nbsp;implicit&nbsp;declaration&nbsp;of&nbsp;function&nbsp;‘PyModule_GetDict’&lt;br&gt;src/hash_template.c:260:&nbsp;warning:&nbsp;implicit&nbsp;declaration&nbsp;of&nbsp;function&nbsp;‘Py_DECREF’&lt;br&gt;<br>
src/hash_template.c:263:&nbsp;warning:&nbsp;implicit&nbsp;declaration&nbsp;of&nbsp;function&nbsp;‘PyErr_Occurred’&lt;br&gt;src/hash_template.c:264:&nbsp;warning:&nbsp;implicit&nbsp;declaration&nbsp;of&nbsp;function&nbsp;‘Py_FatalError’&lt;br&gt;error:&nbsp;command&nbsp;&amp;#39;gcc&amp;#39;&nbsp;failed&nbsp;with&nbsp;exit&nbsp;status&nbsp;1&lt;br&gt;<br>
-----------------------------------------------------------------------------------------------------------------------------------------&lt;br&gt;<br>
&lt;br&gt;Is&nbsp;this&nbsp;the&nbsp;problem&nbsp;of&nbsp;the&nbsp;GCC&nbsp;version?&lt;br&gt;My&nbsp;gcc&nbsp;version&nbsp;is&nbsp;4.4.1&nbsp;and&nbsp;my&nbsp;python&nbsp;version&nbsp;is&nbsp;Python-2.6.4.&lt;br&nbsp;clear=&quot;all&quot;&gt;&lt;br&gt;Thank&nbsp;you&nbsp;for&nbsp;help!!&lt;br&gt;&lt;br&gt;Best,&lt;br&gt;Tianyin&lt;br&gt;--&nbsp;&lt;br&gt;Tianyin&nbsp;XU,&nbsp;(&nbsp;徐天音&nbsp;)&lt;br&gt;State&nbsp;Key&nbsp;Laboratory&nbsp;for&nbsp;Novel&nbsp;Software&nbsp;Technology&lt;br&gt;<br>
Department&nbsp;of&nbsp;Computer&nbsp;Science&nbsp;and&nbsp;Technology,&nbsp;Nanjing&nbsp;University&lt;br&gt;No.&nbsp;22,&nbsp;Hankou&nbsp;Road,&nbsp;Nanjing&nbsp;210093,&nbsp;P.&nbsp;R.&nbsp;China&lt;br&gt;<br>
Homepage.&nbsp;&lt;a&nbsp;href=&quot;http://cs.nju.edu.cn/dislab/xuty/xuty.html&quot;&nbsp;target=&quot;_blank&quot;&gt;http://cs.nju.edu.cn/dislab/xuty/xuty.html&lt;/a&gt;&lt;br&gt;<br>

</tt>