diff options
Diffstat (limited to 'pipermail/pycrypto/2010q1/000184.html')
-rw-r--r-- | pipermail/pycrypto/2010q1/000184.html | 165 |
1 files changed, 165 insertions, 0 deletions
diff --git a/pipermail/pycrypto/2010q1/000184.html b/pipermail/pycrypto/2010q1/000184.html new file mode 100644 index 0000000..3ae5c0b --- /dev/null +++ b/pipermail/pycrypto/2010q1/000184.html @@ -0,0 +1,165 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [pycrypto] Installation Problem + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:pycrypto%40lists.dlitz.net?Subject=%5Bpycrypto%5D%20Installation%20Problem&In-Reply-To=42de1d981002211438u629132c9k18027bffeda0693b%40mail.gmail.com"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="000183.html"> + <LINK REL="Next" HREF="000185.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[pycrypto] Installation Problem</H1> + <B>ten speme</B> + <A HREF="mailto:pycrypto%40lists.dlitz.net?Subject=%5Bpycrypto%5D%20Installation%20Problem&In-Reply-To=42de1d981002211438u629132c9k18027bffeda0693b%40mail.gmail.com" + TITLE="[pycrypto] Installation Problem">myspeme at gmail.com + </A><BR> + <I>Tue Feb 23 04:25:57 CST 2010</I> + <P><UL> + <LI>Previous message: <A HREF="000183.html">[pycrypto] Installation Problem +</A></li> + <LI>Next message: <A HREF="000185.html">[pycrypto] Installation Problem +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#184">[ date ]</a> + <a href="thread.html#184">[ thread ]</a> + <a href="subject.html#184">[ subject ]</a> + <a href="author.html#184">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>src/MD2.c:31:20: error: Python.h: No such file or directory +you should include python.h + +On Mon, Feb 22, 2010 at 6:38 AM, Tianyin Xu <<A HREF="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">xuty1985 at gmail.com</A>> wrote: + +><i> Hello, +</I>><i> +</I>><i> I'm new here and I plan to install pycrypto. +</I>><i> +</I>><i> I downloaded the pycrypto-2.1.0 and put the command: +</I>><i> +</I>><i> python setup.py install +</I>><i> +</I>><i> There occur many error, the error log is: +</I>><i> +</I>><i> --------------------------------------------------------------------------------------------------------------------------------------------- +</I>><i> warning: GMP library not found; Not building Crypto.PublicKey._fastmath. +</I>><i> src/MD2.c:31:20: error: Python.h: No such file or directory +</I>><i> src/MD2.c:118: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ +</I>><i> before ‘*’ token +</I>><i> In file included from src/MD2.c:134: +</I>><i> src/hash_template.c:42: error: expected specifier-qualifier-list before +</I>><i> ‘PyObject_HEAD’ +</I>><i> src/hash_template.c:46: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or +</I>><i> ‘__attribute__’ before ‘PyTypeObject’ +</I>><i> src/hash_template.c: In function ‘newALGobject’: +</I>><i> src/hash_template.c:55: warning: implicit declaration of function +</I>><i> ‘PyObject_New’ +</I>><i> src/hash_template.c:55: error: expected expression before ‘ALGobject’ +</I>><i> src/hash_template.c:55: warning: assignment makes pointer from integer +</I>><i> without a cast +</I>><i> src/hash_template.c: At top level: +</I>><i> src/hash_template.c:62: error: expected ‘)’ before ‘*’ token +</I>><i> src/hash_template.c:77: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or +</I>><i> ‘__attribute__’ before ‘*’ token +</I>><i> src/hash_template.c:96: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or +</I>><i> ‘__attribute__’ before ‘*’ token +</I>><i> src/hash_template.c:108: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or +</I>><i> ‘__attribute__’ before ‘*’ token +</I>><i> src/hash_template.c:143: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or +</I>><i> ‘__attribute__’ before ‘*’ token +</I>><i> src/hash_template.c:160: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or +</I>><i> ‘__attribute__’ before ‘ALG_methods’ +</I>><i> src/hash_template.c:169: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or +</I>><i> ‘__attribute__’ before ‘*’ token +</I>><i> src/hash_template.c:178: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or +</I>><i> ‘__attribute__’ before ‘ALGtype’ +</I>><i> src/hash_template.c:203: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or +</I>><i> ‘__attribute__’ before ‘*’ token +</I>><i> src/hash_template.c:237: error: array type has incomplete element type +</I>><i> src/hash_template.c:238: error: ‘PyCFunction’ undeclared here (not in a +</I>><i> function) +</I>><i> src/hash_template.c:238: error: expected ‘}’ before ‘ALG_new’ +</I>><i> src/hash_template.c: In function ‘initMD2’: +</I>><i> src/hash_template.c:254: error: ‘PyObject’ undeclared (first use in this +</I>><i> function) +</I>><i> src/hash_template.c:254: error: (Each undeclared identifier is reported +</I>><i> only once +</I>><i> src/hash_template.c:254: error: for each function it appears in.) +</I>><i> src/hash_template.c:254: error: ‘m’ undeclared (first use in this function) +</I>><i> src/hash_template.c:256: error: ‘ALGtype’ undeclared (first use in this +</I>><i> function) +</I>><i> src/hash_template.c:256: error: ‘PyType_Type’ undeclared (first use in this +</I>><i> function) +</I>><i> src/hash_template.c:257: warning: implicit declaration of function +</I>><i> ‘Py_InitModule’ +</I>><i> src/hash_template.c:260: error: ‘o’ undeclared (first use in this function) +</I>><i> src/hash_template.c:260: warning: implicit declaration of function +</I>><i> ‘PyInt_FromLong’ +</I>><i> src/hash_template.c:260: warning: implicit declaration of function +</I>><i> ‘PyDict_SetItemString’ +</I>><i> src/hash_template.c:260: warning: implicit declaration of function +</I>><i> ‘PyModule_GetDict’ +</I>><i> src/hash_template.c:260: warning: implicit declaration of function +</I>><i> ‘Py_DECREF’ +</I>><i> src/hash_template.c:263: warning: implicit declaration of function +</I>><i> ‘PyErr_Occurred’ +</I>><i> src/hash_template.c:264: warning: implicit declaration of function +</I>><i> ‘Py_FatalError’ +</I>><i> error: command 'gcc' failed with exit status 1 +</I>><i> +</I>><i> ----------------------------------------------------------------------------------------------------------------------------------------- +</I>><i> +</I>><i> Is this the problem of the GCC version? +</I>><i> My gcc version is 4.4.1 and my python version is Python-2.6.4. +</I>><i> +</I>><i> Thank you for help!! +</I>><i> +</I>><i> Best, +</I>><i> Tianyin +</I>><i> -- +</I>><i> Tianyin XU, ( 徐天音 ) +</I>><i> State Key Laboratory for Novel Software Technology +</I>><i> Department of Computer Science and Technology, Nanjing University +</I>><i> No. 22, Hankou Road, Nanjing 210093, P. R. China +</I>><i> Homepage. <A HREF="http://cs.nju.edu.cn/dislab/xuty/xuty.html">http://cs.nju.edu.cn/dislab/xuty/xuty.html</A> +</I>><i> +</I>><i> _______________________________________________ +</I>><i> pycrypto mailing list +</I>><i> <A HREF="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">pycrypto at lists.dlitz.net</A> +</I>><i> <A HREF="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto</A> +</I>><i> +</I>><i> +</I>-------------- next part -------------- +An HTML attachment was scrubbed... +URL: <A HREF="http://lists.dlitz.net/pipermail/pycrypto/attachments/20100223/e9913ce6/attachment.htm">http://lists.dlitz.net/pipermail/pycrypto/attachments/20100223/e9913ce6/attachment.htm</A> +</PRE> + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000183.html">[pycrypto] Installation Problem +</A></li> + <LI>Next message: <A HREF="000185.html">[pycrypto] Installation Problem +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#184">[ date ]</a> + <a href="thread.html#184">[ thread ]</a> + <a href="subject.html#184">[ subject ]</a> + <a href="author.html#184">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">More information about the pycrypto +mailing list</a><br> +</body></html> |