summaryrefslogtreecommitdiff
path: root/pipermail/pycrypto/attachments/20131115/a3da9740/attachment.html
blob: 73fef603755692a75a2c60a9eaaa3fd3a4203bea (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
<tt>
&lt;div&nbsp;dir=&quot;ltr&quot;&gt;Hi&nbsp;Dave,&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&nbsp;style&gt;You&nbsp;are&nbsp;missing&nbsp;the&nbsp;python3-dev&nbsp;package,&nbsp;or&nbsp;whatever&nbsp;it&#39;s&nbsp;called&nbsp;in&nbsp;Fedora-Land.&nbsp;That&nbsp;contains&nbsp;the&nbsp;headers&nbsp;that&nbsp;the&nbsp;compiler&nbsp;needs&nbsp;to&nbsp;compile&nbsp;C&nbsp;extensions&nbsp;for&nbsp;Python&nbsp;(specifically,&nbsp;Python.h).&nbsp;Without&nbsp;that&nbsp;header&nbsp;information,&nbsp;you&nbsp;can&#39;t&nbsp;compile&nbsp;the&nbsp;C&nbsp;extensions&nbsp;that&nbsp;are&nbsp;part&nbsp;of&nbsp;PyCrypto&nbsp;(or&nbsp;any&nbsp;other&nbsp;Python&nbsp;module&nbsp;that&nbsp;makes&nbsp;use&nbsp;of&nbsp;compiled&nbsp;extensions).&lt;/div&gt;<br>
&lt;div&nbsp;style&gt;&lt;br&gt;&lt;/div&gt;&lt;div&nbsp;style&gt;Basically,&nbsp;you&nbsp;just&nbsp;need&nbsp;to&nbsp;find&nbsp;and&nbsp;install&nbsp;that&nbsp;package&nbsp;from&nbsp;the&nbsp;Fedora&nbsp;repos.&lt;/div&gt;&lt;div&nbsp;style&gt;&lt;br&gt;&lt;/div&gt;&lt;div&nbsp;style&gt;Hope&nbsp;that&nbsp;helps,&lt;/div&gt;&lt;div&nbsp;style&gt;Philip&nbsp;Horger&lt;/div&gt;&lt;/div&gt;&lt;div&nbsp;class=&quot;gmail_extra&quot;&gt;<br>
&lt;br&gt;&lt;br&gt;&lt;div&nbsp;class=&quot;gmail_quote&quot;&gt;On&nbsp;Fri,&nbsp;Nov&nbsp;15,&nbsp;2013&nbsp;at&nbsp;12:10&nbsp;AM,&nbsp;Dave&nbsp;Pawson&nbsp;&lt;span&nbsp;dir=&quot;ltr&quot;&gt;&lt;&lt;a&nbsp;href=&quot;mailto:dave.pawson@gmail.com&quot;&nbsp;target=&quot;_blank&quot;&gt;dave.pawson@gmail.com&lt;/a&gt;&gt;&lt;/span&gt;&nbsp;wrote:&lt;br&gt;&lt;blockquote&nbsp;class=&quot;gmail_quote&quot;&nbsp;style=&quot;margin:0&nbsp;0&nbsp;0&nbsp;.8ex;border-left:1px&nbsp;#ccc&nbsp;solid;padding-left:1ex&quot;&gt;<br>
setup&nbsp;is&nbsp;Fedora&nbsp;19,&nbsp;64&nbsp;bit.&lt;br&gt;<br>
&lt;br&gt;<br>
cmd&nbsp;was&nbsp;pip-python3&nbsp;install&nbsp;pycrypto&lt;br&gt;<br>
&lt;br&gt;<br>
result&lt;br&gt;<br>
&lt;br&gt;<br>
...&lt;br&gt;<br>
creating&nbsp;build/temp.linux-x86_64-3.3&lt;br&gt;<br>
&lt;br&gt;<br>
creating&nbsp;build/temp.linux-x86_64-3.3/src&lt;br&gt;<br>
&lt;br&gt;<br>
gcc&nbsp;-pthread&nbsp;-Wno-unused-result&nbsp;-DDYNAMIC_ANNOTATIONS_ENABLED=1&nbsp;-pipe&lt;br&gt;<br>
-Wall&nbsp;-Wp,-D_FORTIFY_SOURCE=2&nbsp;-fexceptions&nbsp;-fstack-protector&lt;br&gt;<br>
--param=ssp-buffer-size=4&nbsp;-grecord-gcc-switches&nbsp;-m64&nbsp;-mtune=generic&lt;br&gt;<br>
-D_GNU_SOURCE&nbsp;-fPIC&nbsp;-fwrapv&nbsp;-fPIC&nbsp;-std=c99&nbsp;-O3&nbsp;-fomit-frame-pointer&lt;br&gt;<br>
-Isrc/&nbsp;-I/usr/include/python3.3m&nbsp;-c&nbsp;src/MD2.c&nbsp;-o&lt;br&gt;<br>
build/temp.linux-x86_64-3.3/src/MD2.o&lt;br&gt;<br>
&lt;br&gt;<br>
src/MD2.c:31:20:&nbsp;fatal&nbsp;error:&nbsp;Python.h:&nbsp;No&nbsp;such&nbsp;file&nbsp;or&nbsp;directory&lt;br&gt;<br>
&lt;br&gt;<br>
 #include&nbsp;&quot;Python.h&quot;&lt;br&gt;<br>
&lt;br&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^&lt;br&gt;<br>
&lt;br&gt;<br>
compilation&nbsp;terminated.&lt;br&gt;<br>
&lt;br&gt;<br>
warning:&nbsp;GMP&nbsp;or&nbsp;MPIR&nbsp;library&nbsp;not&nbsp;found;&nbsp;Not&nbsp;building&nbsp;Crypto.PublicKey._fastmath.&lt;br&gt;<br>
&lt;br&gt;<br>
error:&nbsp;command&nbsp;&#39;gcc&#39;&nbsp;failed&nbsp;with&nbsp;exit&nbsp;status&nbsp;1&lt;br&gt;<br>
&lt;br&gt;<br>
Any&nbsp;suggestions&nbsp;please?&lt;br&gt;<br>
pycrypto&nbsp;installed&nbsp;fine&nbsp;on&nbsp;python&nbsp;2.7&lt;br&gt;<br>
&lt;br&gt;<br>
regards&lt;br&gt;<br>
&lt;span&nbsp;class=&quot;HOEnZb&quot;&gt;&lt;font&nbsp;color=&quot;#888888&quot;&gt;&lt;br&gt;<br>
--&lt;br&gt;<br>
Dave&nbsp;Pawson&lt;br&gt;<br>
XSLT&nbsp;XSL-FO&nbsp;FAQ.&lt;br&gt;<br>
Docbook&nbsp;FAQ.&lt;br&gt;<br>
&lt;a&nbsp;href=&quot;http://www.dpawson.co.uk&quot;&nbsp;target=&quot;_blank&quot;&gt;http://www.dpawson.co.uk&lt;/a&gt;&lt;br&gt;<br>
_______________________________________________&lt;br&gt;<br>
pycrypto&nbsp;mailing&nbsp;list&lt;br&gt;<br>
&lt;a&nbsp;href=&quot;mailto:pycrypto@lists.dlitz.net&quot;&gt;pycrypto@lists.dlitz.net&lt;/a&gt;&lt;br&gt;<br>
&lt;a&nbsp;href=&quot;http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto&quot;&nbsp;target=&quot;_blank&quot;&gt;http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto&lt;/a&gt;&lt;br&gt;<br>
&lt;/font&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;<br>

</tt>