diff options
Diffstat (limited to 'pipermail/pycrypto/2013q4/000726.html')
-rw-r--r-- | pipermail/pycrypto/2013q4/000726.html | 184 |
1 files changed, 184 insertions, 0 deletions
diff --git a/pipermail/pycrypto/2013q4/000726.html b/pipermail/pycrypto/2013q4/000726.html new file mode 100644 index 0000000..6970633 --- /dev/null +++ b/pipermail/pycrypto/2013q4/000726.html @@ -0,0 +1,184 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [pycrypto] Installation on python3 + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:pycrypto%40lists.dlitz.net?Subject=Re%3A%20%5Bpycrypto%5D%20Installation%20on%20python3&In-Reply-To=%3CCAEncD4eUrf1gtuXfwxpadrB%3DZ6xn%2BC-TRoxC%2BYzepQ_2oKgTfw%40mail.gmail.com%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <style type="text/css"> + pre { + white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */ + } + </style> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="000725.html"> + <LINK REL="Next" HREF="000727.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[pycrypto] Installation on python3</H1> + <B>Dave Pawson</B> + <A HREF="mailto:pycrypto%40lists.dlitz.net?Subject=Re%3A%20%5Bpycrypto%5D%20Installation%20on%20python3&In-Reply-To=%3CCAEncD4eUrf1gtuXfwxpadrB%3DZ6xn%2BC-TRoxC%2BYzepQ_2oKgTfw%40mail.gmail.com%3E" + TITLE="[pycrypto] Installation on python3">dave.pawson at gmail.com + </A><BR> + <I>Sat Nov 16 02:09:26 PST 2013</I> + <P><UL> + <LI>Previous message: <A HREF="000725.html">[pycrypto] Installation on python3 +</A></li> + <LI>Next message: <A HREF="000727.html">[pycrypto] ARC4 examples +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#726">[ date ]</a> + <a href="thread.html#726">[ thread ]</a> + <a href="subject.html#726">[ subject ]</a> + <a href="author.html#726">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Thanks. + +# yum info python3-dev +Loaded plugins: langpacks, refresh-packagekit +Error: No matching Packages to list +[<A HREF="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">root at homer</A> ~]# yum info python3-devel +Loaded plugins: langpacks, refresh-packagekit +Available Packages +Name : python3-devel +Arch : i686 +Version : 3.3.2 +Release : 7.fc19 +Size : 171 k +Repo : updates/19/x86_64 +Summary : Libraries and header files needed for Python 3 development +URL : <A HREF="http://www.python.org/">http://www.python.org/</A> +Licence : Python +Description : This package contains libraries and header files used to build + : applications with and native libraries for Python 3 + +Name : python3-devel +Arch : x86_64 +Version : 3.3.2 +Release : 7.fc19 +Size : 171 k +Repo : updates/19/x86_64 +Summary : Libraries and header files needed for Python 3 development +URL : <A HREF="http://www.python.org/">http://www.python.org/</A> +Licence : Python +Description : This package contains libraries and header files used to build + : applications with and native libraries for Python 3 + + +now runs + warning: GMP or MPIR library not found; Not building +Crypto.PublicKey._fastmath. + +Successfully installed pycrypto +Cleaning up... + +Seems fine. Thanks, DaveP + + +On 15 November 2013 16:05, Philip Horger <<A HREF="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">campadrenalin at gmail.com</A>> wrote: +><i> Hi Dave, +</I>><i> +</I>><i> +</I>><i> You are missing the python3-dev package, or whatever it's called in +</I>><i> Fedora-Land. That contains the headers that the compiler needs to compile C +</I>><i> extensions for Python (specifically, Python.h). Without that header +</I>><i> information, you can't compile the C extensions that are part of PyCrypto +</I>><i> (or any other Python module that makes use of compiled extensions). +</I>><i> +</I>><i> Basically, you just need to find and install that package from the Fedora +</I>><i> repos. +</I>><i> +</I>><i> Hope that helps, +</I>><i> Philip Horger +</I>><i> +</I>><i> +</I>><i> On Fri, Nov 15, 2013 at 12:10 AM, Dave Pawson <<A HREF="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">dave.pawson at gmail.com</A>> wrote: +</I>>><i> +</I>>><i> setup is Fedora 19, 64 bit. +</I>>><i> +</I>>><i> cmd was pip-python3 install pycrypto +</I>>><i> +</I>>><i> result +</I>>><i> +</I>>><i> ... +</I>>><i> creating build/temp.linux-x86_64-3.3 +</I>>><i> +</I>>><i> creating build/temp.linux-x86_64-3.3/src +</I>>><i> +</I>>><i> gcc -pthread -Wno-unused-result -DDYNAMIC_ANNOTATIONS_ENABLED=1 -pipe +</I>>><i> -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector +</I>>><i> --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic +</I>>><i> -D_GNU_SOURCE -fPIC -fwrapv -fPIC -std=c99 -O3 -fomit-frame-pointer +</I>>><i> -Isrc/ -I/usr/include/python3.3m -c src/MD2.c -o +</I>>><i> build/temp.linux-x86_64-3.3/src/MD2.o +</I>>><i> +</I>>><i> src/MD2.c:31:20: fatal error: Python.h: No such file or directory +</I>>><i> +</I>>><i> #include "Python.h" +</I>>><i> +</I>>><i> ^ +</I>>><i> +</I>>><i> compilation terminated. +</I>>><i> +</I>>><i> warning: GMP or MPIR library not found; Not building +</I>>><i> Crypto.PublicKey._fastmath. +</I>>><i> +</I>>><i> error: command 'gcc' failed with exit status 1 +</I>>><i> +</I>>><i> Any suggestions please? +</I>>><i> pycrypto installed fine on python 2.7 +</I>>><i> +</I>>><i> regards +</I>>><i> +</I>>><i> -- +</I>>><i> Dave Pawson +</I>>><i> XSLT XSL-FO FAQ. +</I>>><i> Docbook FAQ. +</I>>><i> <A HREF="http://www.dpawson.co.uk">http://www.dpawson.co.uk</A> +</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>><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> + + +-- +Dave Pawson +XSLT XSL-FO FAQ. +Docbook FAQ. +<A HREF="http://www.dpawson.co.uk">http://www.dpawson.co.uk</A> +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000725.html">[pycrypto] Installation on python3 +</A></li> + <LI>Next message: <A HREF="000727.html">[pycrypto] ARC4 examples +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#726">[ date ]</a> + <a href="thread.html#726">[ thread ]</a> + <a href="subject.html#726">[ subject ]</a> + <a href="author.html#726">[ 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> |