<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Menlo;
panose-1:2 11 6 9 3 8 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:12.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
p.p1, li.p1, div.p1
{mso-style-name:p1;
margin:0cm;
font-size:8.5pt;
font-family:Menlo;
color:black;}
span.s1
{mso-style-name:s1;}
p.p2, li.p2, div.p2
{mso-style-name:p2;
margin:0cm;
font-size:8.5pt;
font-family:Menlo;
color:black;}
p.p3, li.p3, div.p3
{mso-style-name:p3;
margin:0cm;
font-size:8.5pt;
font-family:Menlo;
color:#B42419;}
span.s2
{mso-style-name:s2;
color:#B42419;}
span.s3
{mso-style-name:s3;
color:#2FB41D;}
span.s4
{mso-style-name:s4;
color:#2EAEBB;}
span.s5
{mso-style-name:s5;
color:black;}
span.apple-converted-space
{mso-style-name:apple-converted-space;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:12.0pt;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="EN-IN" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">I am trying to install pymilter in ubuntu 20.04 using
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="p1"><span class="s1">pip3 install pymilter</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">Error:<o:p></o:p></span></p>
<p class="p1"><span class="s1">Collecting pymilter</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="s1">Using cached pymilter-1.0.5.tar.gz (1.0 MB)</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="s1">Preparing metadata (setup.py) ... done</span><o:p></o:p></p>
<p class="p1"><span class="s1">Building wheels for collected packages: pymilter</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="s1">Building wheel for pymilter (setup.py) ... error</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="s2"><b>error</b></span><span class="s1">:
<b>subprocess-exited-with-error</b></span><o:p></o:p></p>
<p class="p2"><span class="apple-converted-space"> </span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="s2">¡Ñ</span><span class="s1">
</span><span class="s3">python setup.py bdist_wheel</span><span class="s1"> did not run successfully.</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="s2">¢x</span><span class="s1"> exit code:
</span><span class="s4"><b>1</b></span><o:p></o:p></p>
<p class="p3"><span class="apple-converted-space"><span style="color:black"> </span>
</span><span class="s1">¢¢¢w></span><span class="s5"> </span><span class="s1">[32 lines of output]</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="apple-converted-space"><span style="color:#B42419"> </span></span><span class="s1"> running bdist_wheel</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="apple-converted-space"><span style="color:#B42419"> </span></span><span class="s1"> running build</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="apple-converted-space"><span style="color:#B42419"> </span></span><span class="s1"> running build_py</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="apple-converted-space"><span style="color:#B42419"> </span></span><span class="s1"> creating build</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="apple-converted-space"><span style="color:#B42419"> </span></span><span class="s1"> creating build/lib.linux-x86_64-3.8</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="apple-converted-space"><span style="color:#B42419"> </span></span><span class="s1"> copying mime.py -> build/lib.linux-x86_64-3.8</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="apple-converted-space"><span style="color:#B42419"> </span></span><span class="s1"> creating build/lib.linux-x86_64-3.8/Milter</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="apple-converted-space"><span style="color:#B42419"> </span></span><span class="s1"> copying Milter/plock.py -> build/lib.linux-x86_64-3.8/Milter</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="apple-converted-space"><span style="color:#B42419"> </span></span><span class="s1"> copying Milter/dsn.py -> build/lib.linux-x86_64-3.8/Milter</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="apple-converted-space"><span style="color:#B42419"> </span></span><span class="s1"> copying Milter/dynip.py -> build/lib.linux-x86_64-3.8/Milter</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="apple-converted-space"><span style="color:#B42419"> </span></span><span class="s1"> copying Milter/utils.py -> build/lib.linux-x86_64-3.8/Milter</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="apple-converted-space"><span style="color:#B42419"> </span></span><span class="s1"> copying Milter/cache.py -> build/lib.linux-x86_64-3.8/Milter</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="apple-converted-space"><span style="color:#B42419"> </span></span><span class="s1"> copying Milter/__init__.py -> build/lib.linux-x86_64-3.8/Milter</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="apple-converted-space"><span style="color:#B42419"> </span></span><span class="s1"> copying Milter/config.py -> build/lib.linux-x86_64-3.8/Milter</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="apple-converted-space"><span style="color:#B42419"> </span></span><span class="s1"> copying Milter/greylist.py -> build/lib.linux-x86_64-3.8/Milter</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="apple-converted-space"><span style="color:#B42419"> </span></span><span class="s1"> copying Milter/dns.py -> build/lib.linux-x86_64-3.8/Milter</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="apple-converted-space"><span style="color:#B42419"> </span></span><span class="s1"> copying Milter/testctx.py -> build/lib.linux-x86_64-3.8/Milter</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="apple-converted-space"><span style="color:#B42419"> </span></span><span class="s1"> copying Milter/pyip6.py -> build/lib.linux-x86_64-3.8/Milter</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="apple-converted-space"><span style="color:#B42419"> </span></span><span class="s1"> copying Milter/greysql.py -> build/lib.linux-x86_64-3.8/Milter</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="apple-converted-space"><span style="color:#B42419"> </span></span><span class="s1"> copying Milter/test.py -> build/lib.linux-x86_64-3.8/Milter</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="apple-converted-space"><span style="color:#B42419"> </span></span><span class="s1"> copying Milter/policy.py -> build/lib.linux-x86_64-3.8/Milter</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="apple-converted-space"><span style="color:#B42419"> </span></span><span class="s1"> copying Milter/unsign.py -> build/lib.linux-x86_64-3.8/Milter</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="apple-converted-space"><span style="color:#B42419"> </span></span><span class="s1"> copying Milter/sgmllib.py -> build/lib.linux-x86_64-3.8/Milter</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="apple-converted-space"><span style="color:#B42419"> </span></span><span class="s1"> running build_ext</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="apple-converted-space"><span style="color:#B42419"> </span></span><span class="s1"> building 'milter' extension</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="apple-converted-space"><span style="color:#B42419"> </span></span><span class="s1"> creating build/temp.linux-x86_64-3.8</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="apple-converted-space"><span style="color:#B42419"> </span></span><span class="s1"> x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong
-Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DMAX_ML_REPLY=32 -I/home/admin/pyvinv/include -I/usr/include/python3.8 -c miltermodule.c -o build/temp.linux-x86_64-3.8/miltermodule.o
-Werror=implicit-function-declaration</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="apple-converted-space"><span style="color:#B42419"> </span></span><span class="s1"> miltermodule.c:50:10: fatal error: libmilter/mfapi.h: No such file or directory</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="s2"> </span>
<span class="apple-converted-space"><span style="color:#B42419"> </span> </span>
<span class="s1">50 | #include <libmilter/mfapi.h> // libmilter API</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="apple-converted-space"><span style="color:#B42419"> </span></span><span class="s1">
</span><span class="apple-converted-space"> </span><span class="s1">|</span><span class="apple-converted-space">
</span><span class="s1">^~~~~~~~~~~~~~~~~~~</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="apple-converted-space"><span style="color:#B42419"> </span></span><span class="s1"> compilation terminated.</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="apple-converted-space"><span style="color:#B42419"> </span></span><span class="s1"> error: command 'x86_64-linux-gnu-gcc' failed with exit status 1</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"><o:p> </o:p></span></p>
</div>
</body>
</html>