diff options
Diffstat (limited to 'pipermail/pycrypto/2011q4/000495.html')
-rw-r--r-- | pipermail/pycrypto/2011q4/000495.html | 146 |
1 files changed, 146 insertions, 0 deletions
diff --git a/pipermail/pycrypto/2011q4/000495.html b/pipermail/pycrypto/2011q4/000495.html new file mode 100644 index 0000000..753d796 --- /dev/null +++ b/pipermail/pycrypto/2011q4/000495.html @@ -0,0 +1,146 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [pycrypto] Cannot build 2.4 + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:pycrypto%40lists.dlitz.net?Subject=%5Bpycrypto%5D%20Cannot%20build%202.4&In-Reply-To=CAPik8yZAsOVZgR7QgXeB2gji8JH3dyBtn9FsH431rms6COr%2Bdw%40mail.gmail.com"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="000494.html"> + <LINK REL="Next" HREF="000498.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[pycrypto] Cannot build 2.4</H1> + <B>Tino Dai</B> + <A HREF="mailto:pycrypto%40lists.dlitz.net?Subject=%5Bpycrypto%5D%20Cannot%20build%202.4&In-Reply-To=CAPik8yZAsOVZgR7QgXeB2gji8JH3dyBtn9FsH431rms6COr%2Bdw%40mail.gmail.com" + TITLE="[pycrypto] Cannot build 2.4">oberoc at gmail.com + </A><BR> + <I>Tue Nov 1 14:24:42 CST 2011</I> + <P><UL> + <LI>Previous message: <A HREF="000494.html">[pycrypto] Cannot build 2.4 +</A></li> + <LI>Next message: <A HREF="000498.html">[pycrypto] Public Key encryption of files +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#495">[ date ]</a> + <a href="thread.html#495">[ thread ]</a> + <a href="subject.html#495">[ subject ]</a> + <a href="author.html#495">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>You m +On Nov 1, 2011 4:15 PM, "Paul Hoffman" <<A HREF="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">paul.hoffman at gmail.com</A>> wrote: +><i> +</I>><i> Greetings again. Just pulled down 2.4, trying to install it on a +</I>><i> Ubuntu box with "python setup.py build". However: +</I>><i> +</I>><i> . . . +</I>><i> gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes +</I>><i> -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ +</I>><i> -I/usr/include/python2.6 -c src/MD2.c -o +</I>><i> build/temp.linux-x86_64-2.6/src/MD2.o +</I>><i> src/MD2.c:31:20: error: Python.h: No such file or directory +</I>><i> src/MD2.c:120: error: expected '=', ',', ';', 'asm' or '__attribute__' +</I>><i> before '*' token +</I>><i> In file included from src/MD2.c:136: +</I>><i> src/hash_template.c:48: error: expected specifier-qualifier-list +</I>><i> before 'PyObject_HEAD' +</I>><i> src/hash_template.c:59: error: expected '=', ',', ';', 'asm' or +</I>><i> '__attribute__' before 'PyTypeObject' +</I>><i> src/hash_template.c: In function 'newALGobject': +</I>><i> src/hash_template.c:69: warning: implicit declaration of function +</I>'PyObject_New' +><i> src/hash_template.c:69: error: expected expression before 'ALGobject' +</I>><i> src/hash_template.c: At top level: +</I>><i> src/hash_template.c:76: error: expected ')' before '*' token +</I>><i> src/hash_template.c:91: error: expected '=', ',', ';', 'asm' or +</I>><i> '__attribute__' before '*' token +</I>><i> src/hash_template.c:110: error: expected '=', ',', ';', 'asm' or +</I>><i> '__attribute__' before '*' token +</I>><i> src/hash_template.c:122: error: expected '=', ',', ';', 'asm' or +</I>><i> '__attribute__' before '*' token +</I>><i> src/hash_template.c:162: error: expected '=', ',', ';', 'asm' or +</I>><i> '__attribute__' before '*' token +</I>><i> src/hash_template.c:181: error: expected '=', ',', ';', 'asm' or +</I>><i> '__attribute__' before 'ALG_methods' +</I>><i> src/hash_template.c:189: error: expected '=', ',', ';', 'asm' or +</I>><i> '__attribute__' before '*' token +</I>><i> src/hash_template.c:214: error: expected '=', ',', ';', 'asm' or +</I>><i> '__attribute__' before 'ALGtype' +</I>><i> src/hash_template.c:265: error: expected '=', ',', ';', 'asm' or +</I>><i> '__attribute__' before '*' token +</I>><i> src/hash_template.c:298: error: array type has incomplete element type +</I>><i> src/hash_template.c:299: error: 'PyCFunction' undeclared here (not in +</I>><i> a function) +</I>><i> src/hash_template.c:299: error: expected '}' before 'ALG_new' +</I>><i> src/hash_template.c: In function 'initMD2': +</I>><i> src/hash_template.c:333: error: 'PyObject' undeclared (first use in +</I>><i> this function) +</I>><i> src/hash_template.c:333: error: (Each undeclared identifier is +</I>><i> reported only once +</I>><i> src/hash_template.c:333: error: for each function it appears in.) +</I>><i> src/hash_template.c:333: error: 'm' undeclared (first use in this +</I>function) +><i> src/hash_template.c:345: error: 'ALGtype' undeclared (first use in +</I>><i> this function) +</I>><i> src/hash_template.c:345: error: 'PyType_Type' undeclared (first use in +</I>><i> this function) +</I>><i> src/hash_template.c:346: warning: implicit declaration of function +</I>><i> 'Py_InitModule' +</I>><i> src/hash_template.c:350: error: 'o' undeclared (first use in this +</I>function) +><i> src/hash_template.c:350: warning: implicit declaration of function +</I>><i> 'PyInt_FromLong' +</I>><i> src/hash_template.c:350: warning: implicit declaration of function +</I>><i> 'PyDict_SetItemString' +</I>><i> src/hash_template.c:350: warning: implicit declaration of function +</I>><i> 'PyModule_GetDict' +</I>><i> src/hash_template.c:350: warning: implicit declaration of function +</I>'Py_DECREF' +><i> src/hash_template.c:354: warning: implicit declaration of function +</I>><i> 'PyErr_Occurred' +</I>><i> src/hash_template.c:355: warning: implicit declaration of function +</I>><i> 'Py_FatalError' +</I>><i> error: command 'gcc' failed with exit status 1 +</I>><i> +</I>><i> Clues appreciated. +</I>><i> +</I>><i> --Paul Hoffman +</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>You probably have apt-get install python-dev + +-T +-------------- next part -------------- +An HTML attachment was scrubbed... +URL: <A HREF="http://lists.dlitz.net/pipermail/pycrypto/attachments/20111101/5f40e9a7/attachment.htm">http://lists.dlitz.net/pipermail/pycrypto/attachments/20111101/5f40e9a7/attachment.htm</A> +</PRE> + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000494.html">[pycrypto] Cannot build 2.4 +</A></li> + <LI>Next message: <A HREF="000498.html">[pycrypto] Public Key encryption of files +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#495">[ date ]</a> + <a href="thread.html#495">[ thread ]</a> + <a href="subject.html#495">[ subject ]</a> + <a href="author.html#495">[ 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> |