diff options
Diffstat (limited to 'pipermail/pycrypto/2016/000875.html')
-rw-r--r-- | pipermail/pycrypto/2016/000875.html | 418 |
1 files changed, 418 insertions, 0 deletions
diff --git a/pipermail/pycrypto/2016/000875.html b/pipermail/pycrypto/2016/000875.html new file mode 100644 index 0000000..2c5418e --- /dev/null +++ b/pipermail/pycrypto/2016/000875.html @@ -0,0 +1,418 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [pycrypto] Build error? + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:pycrypto%40lists.dlitz.net?Subject=Re%3A%20%5Bpycrypto%5D%20Build%20error%3F&In-Reply-To=%3C42182.24.7.58.3.1481137792.squirrel%40martin-wwwss5.ssl.supercp.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=utf-8"> + <LINK REL="Previous" HREF="000874.html"> + <LINK REL="Next" HREF="000876.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[pycrypto] Build error?</H1> + <B>Martin Falatic</B> + <A HREF="mailto:pycrypto%40lists.dlitz.net?Subject=Re%3A%20%5Bpycrypto%5D%20Build%20error%3F&In-Reply-To=%3C42182.24.7.58.3.1481137792.squirrel%40martin-wwwss5.ssl.supercp.com%3E" + TITLE="[pycrypto] Build error?">martin at falatic.com + </A><BR> + <I>Wed Dec 7 19:09:52 UTC 2016</I> + <P><UL> + <LI>Previous message: <A HREF="000874.html">[pycrypto] Build error? +</A></li> + <LI>Next message: <A HREF="000876.html">[pycrypto] Build error? +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#875">[ date ]</a> + <a href="thread.html#875">[ thread ]</a> + <a href="subject.html#875">[ subject ]</a> + <a href="author.html#875">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>As per the docs, do NOT do that. Uninstall pycrypto if you are using +pycryptodome, or vice versa. + - Marty + + + +On Wed, December 7, 2016 04:58, Dave Pawson wrote: +><i> It does. Sorry. +</I>><i> I used pip to install pycryptodome. +</I>><i> So now I have both the old pycrypto and pycryptodome 'providing' Crypto +</I>><i> package! Mmm. +</I>><i> +</I>><i> +</I>><i> Still working, so I'll leave it for now. +</I>><i> +</I>><i> +</I>><i> regards +</I>><i> +</I>><i> +</I>><i> On 7 December 2016 at 12:02, Martin Falatic <<A HREF="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">martin at falatic.com</A>> wrote: +</I>><i> +</I>>><i> See the introduction link I sent previously. It explains this in +</I>>><i> detail. +</I>>><i> +</I>>><i> On December 7, 2016 3:45:58 AM PST, Dave Pawson <<A HREF="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">dave.pawson at gmail.com</A>> +</I>>><i> wrote: +</I>>><i> +</I>>>><i> +</I>>>><i> # pip search pycryptodome +</I>>>><i> pycryptodome (3.4.3) - Cryptographic library for Python pycryptodomex +</I>>>><i> (3.4.3) - Cryptographic library for Python +</I>>>><i> +</I>>>><i> +</I>>>><i> What's the difference please? +</I>>>><i> +</I>>>><i> +</I>>>><i> regards +</I>>>><i> +</I>>>><i> On 6 December 2016 at 21:41, Martin Falatic <<A HREF="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">martin at falatic.com</A>> +</I>>>><i> wrote: +</I>>>><i> +</I>>>>><i> +</I>>>>><i> Since it's forked from pycrypto 2.6.1 I think you'll be fine. +</I>>>>><i> However, +</I>>>>><i> if you find places where it falls short versus this one, please open +</I>>>>><i> an issue with them first so it can be tracked and hopefully +</I>>>>><i> rectified, and reply with the bug link here so others can be aware +</I>>>>><i> of it. +</I>>>>><i> +</I>>>>><i> - M +</I>>>>><i> +</I>>>>><i> +</I>>>>><i> +</I>>>>><i> On Tue, December 6, 2016 13:34, Dave Pawson wrote: +</I>>>>><i> +</I>>>>>><i> +</I>>>>>><i> Thanks for that. Good it's installable via pip. +</I>>>>>><i> I've a whole setup (pwd safe) to check out, I'll +</I>>>>>><i> see if it sits as a usable replacement. +</I>>>>>><i> +</I>>>>>><i> Dave +</I>>>>>><i> +</I>>>>>><i> +</I>>>>>><i> +</I>>>>>><i> On 6 December 2016 at 21:12, Martin Falatic <<A HREF="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">martin at falatic.com</A>> +</I>>>>>><i> wrote: +</I>>>>>><i> +</I>>>>>><i> +</I>>>>>>><i> Consider the following rather basic but important bug in +</I>>>>>>><i> pycrypto: +</I>>>>>>><i> +</I>>>>>>><i> +</I>>>>>>><i> +</I>>>>>>><i> <A HREF="https://github.com/dlitz/pycrypto/issues/187">https://github.com/dlitz/pycrypto/issues/187</A> +</I>>>>>>><i> +</I>>>>>>><i> +</I>>>>>>><i> +</I>>>>>>><i> As you'll see there, I stumbled on it and even built a fixed +</I>>>>>>><i> version a few months ago. +</I>>>>>>><i> +</I>>>>>>><i> Revisiting this now, I just re-tested to see that pycryptodome +</I>>>>>>><i> already has that fix in it. +</I>>>>>>><i> +</I>>>>>>><i> Your mileage may vary, but pycryptodome is being actively +</I>>>>>>><i> developed and maintained and is a drop-in replacement for +</I>>>>>>><i> pycrypto. +</I>>>>>>><i> +</I>>>>>>><i> - Marty +</I>>>>>>><i> +</I>>>>>>><i> +</I>>>>>>><i> +</I>>>>>>><i> +</I>>>>>>><i> +</I>>>>>>><i> On Tue, December 6, 2016 04:56, Dave Pawson +</I>>>>>>><i> wrote: +</I>>>>>>><i> +</I>>>>>>><i> +</I>>>>>>>><i> I downloaded and built from source which seems to work fine. +</I>>>>>>>><i> Shame really, it's a good library. +</I>>>>>>>><i> +</I>>>>>>>><i> +</I>>>>>>>><i> +</I>>>>>>>><i> +</I>>>>>>>><i> regards +</I>>>>>>>><i> +</I>>>>>>>><i> On 6 December 2016 at 09:12, Martin Falatic +</I>>>>>>>><i> <<A HREF="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">martin at falatic.com</A>> +</I>>>>>>>><i> wrote: +</I>>>>>>>><i> +</I>>>>>>>><i> +</I>>>>>>>><i> +</I>>>>>>>>><i> Unfortunately, by all appearances PyCrypto seems to be +</I>>>>>>>>><i> dead. I would consider Helder Eijs' "PyCryptodome" as a +</I>>>>>>>>><i> replacement. More information: +</I>>>>>>>>><i> +</I>>>>>>>>><i> +</I>>>>>>>>><i> +</I>>>>>>>>><i> +</I>>>>>>>>><i> <A HREF="https://pycryptodome.readthedocs.io/en/latest/src/introduct">https://pycryptodome.readthedocs.io/en/latest/src/introduct</A> +</I>>>>>>>>><i> ion.html +</I>>>>>>>>><i> +</I>>>>>>>>><i> +</I>>>>>>>>><i> +</I>>>>>>>>><i> - Marty +</I>>>>>>>>><i> @MartyMacGyver most places +</I>>>>>>>>><i> +</I>>>>>>>>><i> +</I>>>>>>>>><i> +</I>>>>>>>>><i> +</I>>>>>>>>><i> +</I>>>>>>>>><i> On Fri, December 2, 2016 01:38, Dave Pawson wrote: +</I>>>>>>>>><i> +</I>>>>>>>>><i> +</I>>>>>>>>><i> +</I>>>>>>>>>><i> further investigations show: +</I>>>>>>>>>><i> +</I>>>>>>>>>><i> # pip show pycrypto +</I>>>>>>>>>><i> Name: pycrypto +</I>>>>>>>>>><i> Version: 2.6.1 +</I>>>>>>>>>><i> Summary: Cryptographic modules for Python. +</I>>>>>>>>>><i> Home-page: <A HREF="http://www.pycrypto.org/">http://www.pycrypto.org/</A> +</I>>>>>>>>>><i> Author: Dwayne C. Litzenberger +</I>>>>>>>>>><i> Author-email: <A HREF="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">dlitz at dlitz.net</A> +</I>>>>>>>>>><i> License: UNKNOWN +</I>>>>>>>>>><i> Location: /usr/lib64/python2.7/site-packages +</I>>>>>>>>>><i> +</I>>>>>>>>>><i> +</I>>>>>>>>>><i> +</I>>>>>>>>>><i> +</I>>>>>>>>>><i> +</I>>>>>>>>>><i> +</I>>>>>>>>>><i> All my code is (now) Python 3.5. +</I>>>>>>>>>><i> Question if 3.5 code accesses 2.7 site-packages? +</I>>>>>>>>>><i> +</I>>>>>>>>>><i> +</I>>>>>>>>>><i> +</I>>>>>>>>>><i> +</I>>>>>>>>>><i> +</I>>>>>>>>>><i> Is there a way round this please? +</I>>>>>>>>>><i> +</I>>>>>>>>>><i> +</I>>>>>>>>>><i> +</I>>>>>>>>>><i> +</I>>>>>>>>>><i> +</I>>>>>>>>>><i> regards +</I>>>>>>>>>><i> +</I>>>>>>>>>><i> +</I>>>>>>>>>><i> +</I>>>>>>>>>><i> On 2 December 2016 at 08:28, Dave Pawson +</I>>>>>>>>>><i> <<A HREF="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">dave.pawson at gmail.com</A>> +</I>>>>>>>>>><i> wrote: +</I>>>>>>>>>><i> +</I>>>>>>>>>><i> +</I>>>>>>>>>><i> +</I>>>>>>>>>><i> +</I>>>>>>>>>>><i> Fedora 25, installing +</I>>>>>>>>>>><i> pycrypto 2.6.1 +</I>>>>>>>>>>><i> +</I>>>>>>>>>>><i> +</I>>>>>>>>>>><i> +</I>>>>>>>>>>><i> +</I>>>>>>>>>>><i> full build at <A HREF="http://pastebin.com/acC5r1YY">http://pastebin.com/acC5r1YY</A> +</I>>>>>>>>>>><i> +</I>>>>>>>>>>><i> error reported +</I>>>>>>>>>>><i> +</I>>>>>>>>>>><i> gcc: error: /usr/lib/rpm/redhat/redhat-hardened-cc1: No +</I>>>>>>>>>>><i> such file or directory error: command 'gcc' failed with +</I>>>>>>>>>>><i> exit status 1 +</I>>>>>>>>>>><i> +</I>>>>>>>>>>><i> +</I>>>>>>>>>>><i> Searching for the error I found +</I>>>>>>>>>>><i> <A HREF="https://bugs.launchpad.net/openstack-gate/+bug/1424582">https://bugs.launchpad.net/openstack-gate/+bug/1424582</A> +</I>>>>>>>>>>><i> +</I>>>>>>>>>>><i> +</I>>>>>>>>>>><i> +</I>>>>>>>>>>><i> +</I>>>>>>>>>>><i> +</I>>>>>>>>>>><i> # dnf install redhat-rpm-config +</I>>>>>>>>>>><i> +</I>>>>>>>>>>><i> +</I>>>>>>>>>>><i> +</I>>>>>>>>>>><i> +</I>>>>>>>>>>><i> +</I>>>>>>>>>>><i> which then brought +</I>>>>>>>>>>><i> +</I>>>>>>>>>>><i> src/MD2.c:31:20: fatal error: Python.h: No such file or +</I>>>>>>>>>>><i> directory #include "Python.h" ^ +</I>>>>>>>>>>><i> compilation terminated. error: command 'gcc' failed with +</I>>>>>>>>>>><i> exit status 1 +</I>>>>>>>>>>><i> +</I>>>>>>>>>>><i> +</I>>>>>>>>>>><i> +</I>>>>>>>>>>><i> +</I>>>>>>>>>>><i> dnf install python3-devel resolved that. +</I>>>>>>>>>>><i> +</I>>>>>>>>>>><i> I'm lost now with +</I>>>>>>>>>>><i> +</I>>>>>>>>>>><i> +</I>>>>>>>>>>><i> +</I>>>>>>>>>>><i> +</I>>>>>>>>>>><i> +</I>>>>>>>>>>><i> from Crypto.Cipher import AES ImportError: No module +</I>>>>>>>>>>><i> named 'Crypto' +</I>>>>>>>>>>><i> +</I>>>>>>>>>>><i> +</I>>>>>>>>>>><i> +</I>>>>>>>>>>><i> +</I>>>>>>>>>>><i> +</I>>>>>>>>>>><i> Google has lots of varying suggestions, none of which +</I>>>>>>>>>>><i> seem to work. +</I>>>>>>>>>>><i> +</I>>>>>>>>>>><i> Any help please. +</I>>>>>>>>>>><i> +</I>>>>>>>>>>><i> +</I>>>>>>>>>>><i> +</I>>>>>>>>>>><i> +</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> +</I>>>>>>>>>><i> +</I>>>>>>>>>><i> +</I>>>>>>>>>><i> +</I>>>>>>>>>><i> +</I>>>>>>>>>><i> +</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> +</I>>>>>>>>>><i> +</I>>>>>>>>>><i> pycrypto mailing list <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> +</I>>>>>>>>><i> +</I>>>>>>>>><i> +</I>>>>>>>>><i> +</I>>>>>>>>><i> ________________________________ +</I>>>>>>>>><i> +</I>>>>>>>>><i> +</I>>>>>>>>><i> pycrypto mailing list <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> +</I>>>>>>>><i> +</I>>>>>>>><i> +</I>>>>>>>><i> -- +</I>>>>>>>><i> Dave Pawson +</I>>>>>>>><i> XSLT XSL-FO +</I>>>>>>>><i> FAQ. +</I>>>>>>>><i> Docbook FAQ. +</I>>>>>>>><i> <A HREF="http://www.dpawson.co.uk">http://www.dpawson.co.uk</A> +</I>>>>>>>><i> ________________________________ +</I>>>>>>>><i> +</I>>>>>>>><i> +</I>>>>>>>><i> pycrypto mailing list <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> +</I>>>>>>><i> +</I>>>>>>><i> +</I>>>>>>><i> ________________________________ +</I>>>>>>><i> +</I>>>>>>><i> +</I>>>>>>><i> pycrypto mailing list <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> +</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> +</I>>>>>><i> +</I>>>>>><i> pycrypto mailing list <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> +</I>>>>><i> +</I>>>>><i> ________________________________ +</I>>>>><i> +</I>>>>><i> +</I>>>>><i> pycrypto mailing list +</I>>>>><i> +</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> +</I>>><i> _______________________________________________ +</I>>><i> pycrypto mailing list <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> +</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 <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> + +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000874.html">[pycrypto] Build error? +</A></li> + <LI>Next message: <A HREF="000876.html">[pycrypto] Build error? +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#875">[ date ]</a> + <a href="thread.html#875">[ thread ]</a> + <a href="subject.html#875">[ subject ]</a> + <a href="author.html#875">[ 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> |