diff options
Diffstat (limited to 'pipermail/pycrypto/attachments/20111101/5f40e9a7/attachment.html')
-rw-r--r-- | pipermail/pycrypto/attachments/20111101/5f40e9a7/attachment.html | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/pipermail/pycrypto/attachments/20111101/5f40e9a7/attachment.html b/pipermail/pycrypto/attachments/20111101/5f40e9a7/attachment.html new file mode 100644 index 0000000..0116d76 --- /dev/null +++ b/pipermail/pycrypto/attachments/20111101/5f40e9a7/attachment.html @@ -0,0 +1,83 @@ +<tt> +<p>You m<br><br> +On Nov 1, 2011 4:15 PM, &quot;Paul Hoffman&quot; &lt;<a href="mailto:paul.hoffman@gmail.com">paul.hoffman@gmail.com</a>&gt; wrote:<br><br> +&gt;<br><br> +&gt; Greetings again. Just pulled down 2.4, trying to install it on a<br><br> +&gt; Ubuntu box with &quot;python setup.py build&quot;. However:<br><br> +&gt;<br><br> +&gt; . . .<br><br> +&gt; gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes<br><br> +&gt; -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/<br><br> +&gt; -I/usr/include/python2.6 -c src/MD2.c -o<br><br> +&gt; build/temp.linux-x86_64-2.6/src/MD2.o<br><br> +&gt; src/MD2.c:31:20: error: Python.h: No such file or directory<br><br> +&gt; src/MD2.c:120: error: expected &#39;=&#39;, &#39;,&#39;, &#39;;&#39;, &#39;asm&#39; or &#39;__attribute__&#39;<br><br> +&gt; before &#39;*&#39; token<br><br> +&gt; In file included from src/MD2.c:136:<br><br> +&gt; src/hash_template.c:48: error: expected specifier-qualifier-list<br><br> +&gt; before &#39;PyObject_HEAD&#39;<br><br> +&gt; src/hash_template.c:59: error: expected &#39;=&#39;, &#39;,&#39;, &#39;;&#39;, &#39;asm&#39; or<br><br> +&gt; &#39;__attribute__&#39; before &#39;PyTypeObject&#39;<br><br> +&gt; src/hash_template.c: In function &#39;newALGobject&#39;:<br><br> +&gt; src/hash_template.c:69: warning: implicit declaration of function &#39;PyObject_New&#39;<br><br> +&gt; src/hash_template.c:69: error: expected expression before &#39;ALGobject&#39;<br><br> +&gt; src/hash_template.c: At top level:<br><br> +&gt; src/hash_template.c:76: error: expected &#39;)&#39; before &#39;*&#39; token<br><br> +&gt; src/hash_template.c:91: error: expected &#39;=&#39;, &#39;,&#39;, &#39;;&#39;, &#39;asm&#39; or<br><br> +&gt; &#39;__attribute__&#39; before &#39;*&#39; token<br><br> +&gt; src/hash_template.c:110: error: expected &#39;=&#39;, &#39;,&#39;, &#39;;&#39;, &#39;asm&#39; or<br><br> +&gt; &#39;__attribute__&#39; before &#39;*&#39; token<br><br> +&gt; src/hash_template.c:122: error: expected &#39;=&#39;, &#39;,&#39;, &#39;;&#39;, &#39;asm&#39; or<br><br> +&gt; &#39;__attribute__&#39; before &#39;*&#39; token<br><br> +&gt; src/hash_template.c:162: error: expected &#39;=&#39;, &#39;,&#39;, &#39;;&#39;, &#39;asm&#39; or<br><br> +&gt; &#39;__attribute__&#39; before &#39;*&#39; token<br><br> +&gt; src/hash_template.c:181: error: expected &#39;=&#39;, &#39;,&#39;, &#39;;&#39;, &#39;asm&#39; or<br><br> +&gt; &#39;__attribute__&#39; before &#39;ALG_methods&#39;<br><br> +&gt; src/hash_template.c:189: error: expected &#39;=&#39;, &#39;,&#39;, &#39;;&#39;, &#39;asm&#39; or<br><br> +&gt; &#39;__attribute__&#39; before &#39;*&#39; token<br><br> +&gt; src/hash_template.c:214: error: expected &#39;=&#39;, &#39;,&#39;, &#39;;&#39;, &#39;asm&#39; or<br><br> +&gt; &#39;__attribute__&#39; before &#39;ALGtype&#39;<br><br> +&gt; src/hash_template.c:265: error: expected &#39;=&#39;, &#39;,&#39;, &#39;;&#39;, &#39;asm&#39; or<br><br> +&gt; &#39;__attribute__&#39; before &#39;*&#39; token<br><br> +&gt; src/hash_template.c:298: error: array type has incomplete element type<br><br> +&gt; src/hash_template.c:299: error: &#39;PyCFunction&#39; undeclared here (not in<br><br> +&gt; a function)<br><br> +&gt; src/hash_template.c:299: error: expected &#39;}&#39; before &#39;ALG_new&#39;<br><br> +&gt; src/hash_template.c: In function &#39;initMD2&#39;:<br><br> +&gt; src/hash_template.c:333: error: &#39;PyObject&#39; undeclared (first use in<br><br> +&gt; this function)<br><br> +&gt; src/hash_template.c:333: error: (Each undeclared identifier is<br><br> +&gt; reported only once<br><br> +&gt; src/hash_template.c:333: error: for each function it appears in.)<br><br> +&gt; src/hash_template.c:333: error: &#39;m&#39; undeclared (first use in this function)<br><br> +&gt; src/hash_template.c:345: error: &#39;ALGtype&#39; undeclared (first use in<br><br> +&gt; this function)<br><br> +&gt; src/hash_template.c:345: error: &#39;PyType_Type&#39; undeclared (first use in<br><br> +&gt; this function)<br><br> +&gt; src/hash_template.c:346: warning: implicit declaration of function<br><br> +&gt; &#39;Py_InitModule&#39;<br><br> +&gt; src/hash_template.c:350: error: &#39;o&#39; undeclared (first use in this function)<br><br> +&gt; src/hash_template.c:350: warning: implicit declaration of function<br><br> +&gt; &#39;PyInt_FromLong&#39;<br><br> +&gt; src/hash_template.c:350: warning: implicit declaration of function<br><br> +&gt; &#39;PyDict_SetItemString&#39;<br><br> +&gt; src/hash_template.c:350: warning: implicit declaration of function<br><br> +&gt; &#39;PyModule_GetDict&#39;<br><br> +&gt; src/hash_template.c:350: warning: implicit declaration of function &#39;Py_DECREF&#39;<br><br> +&gt; src/hash_template.c:354: warning: implicit declaration of function<br><br> +&gt; &#39;PyErr_Occurred&#39;<br><br> +&gt; src/hash_template.c:355: warning: implicit declaration of function<br><br> +&gt; &#39;Py_FatalError&#39;<br><br> +&gt; error: command &#39;gcc&#39; failed with exit status 1<br><br> +&gt;<br><br> +&gt; Clues appreciated.<br><br> +&gt;<br><br> +&gt; --Paul Hoffman<br><br> +&gt; _______________________________________________<br><br> +&gt; pycrypto mailing list<br><br> +&gt; <a href="mailto:pycrypto@lists.dlitz.net">pycrypto@lists.dlitz.net</a><br><br> +&gt; <a href="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto</a><br><br> +You probably have apt-get install python-dev</p><br> +<p>-T</p><br> + +</tt> |