blob: ae20a63205398e22b1ed3eb5104750ab50f1ac8e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [pycrypto] setup.py fails to find gmp on Debian/Ubuntu
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:pycrypto%40lists.dlitz.net?Subject=%5Bpycrypto%5D%20setup.py%20fails%20to%20find%20gmp%20on%20Debian/Ubuntu&In-Reply-To=4E80F3FE.8000103%40ramacher.at">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="000459.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[pycrypto] setup.py fails to find gmp on Debian/Ubuntu</H1>
<B>Legrandin</B>
<A HREF="mailto:pycrypto%40lists.dlitz.net?Subject=%5Bpycrypto%5D%20setup.py%20fails%20to%20find%20gmp%20on%20Debian/Ubuntu&In-Reply-To=4E80F3FE.8000103%40ramacher.at"
TITLE="[pycrypto] setup.py fails to find gmp on Debian/Ubuntu">gooksankoo at hoiptorrow.mailexpire.com
</A><BR>
<I>Tue Sep 27 11:02:44 CST 2011</I>
<P><UL>
<LI>Previous message: <A HREF="000459.html">[pycrypto] setup.py fails to find gmp on Debian/Ubuntu
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#460">[ date ]</a>
<a href="thread.html#460">[ thread ]</a>
<a href="subject.html#460">[ subject ]</a>
<a href="author.html#460">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>><i> I've added a call to customize_compiler to your patch. Then CFLAGS and LDFLAGS
</I>><i> will be honored (as they are during the build). Hence if libgmp is not installed
</I>><i> in a standard location, the paths can be passed with CFLAGS and LDFLAGS. I've
</I>><i> also added calls to delete the files that are generated during the test build.
</I>><i> See the attach patch.
</I>
Last bit of polishing:
- Now it works with Python 2.1 (which pycrypto must apparently still support)
- It ignores any exception that os.remove() could raise.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: multiarch4.patch
Type: text/x-diff
Size: 3173 bytes
Desc: not available
Url : <A HREF="http://lists.dlitz.net/pipermail/pycrypto/attachments/20110927/c893181c/attachment.patch">http://lists.dlitz.net/pipermail/pycrypto/attachments/20110927/c893181c/attachment.patch</A>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="000459.html">[pycrypto] setup.py fails to find gmp on Debian/Ubuntu
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#460">[ date ]</a>
<a href="thread.html#460">[ thread ]</a>
<a href="subject.html#460">[ subject ]</a>
<a href="author.html#460">[ 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>
|