<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>ok, Carsten.</div><div><br></div><div>That was the problem. I've installed Fedora 12 with swig 1.3.40 and everything worked ok.</div><div><br></div><div>I copied unboundmodule.py from pythonmod directory to unbound home directory though, to avoid problems to unbound when wants to locate that file. At least that way worked for me.</div><div><br></div><div>Thanks!</div><div><br></div><div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div><b><font class="Apple-style-span" size="3"><font class="Apple-style-span" size="4"><span class="Apple-style-span" style="font-size: 14px; ">Leandro C. Tino</span></font><span class="Apple-style-span" style="font-size: 13px; "> <span class="Apple-style-span" style="font-size: 14px; font-weight: normal; font-family: Arial; ">|<span class="Apple-style-span" style="font-family: Helvetica; font-size: 13px; font-weight: bold; "> <span class="Apple-style-span" style="font-size: medium; font-weight: normal; "><font class="Apple-style-span" face="Arial" size="4"><span class="Apple-style-span" style="font-size: 14px; "><b>IT evol</b></span></font><font class="Apple-style-span" color="#00843A"><font class="Apple-style-span" face="Arial" size="4"><span class="Apple-style-span" style="font-size: 14px; "><b>ux</b></span></font></font><font class="Apple-style-span" face="Arial" size="4"><span class="Apple-style-span" style="font-size: 14px; "><b>ion</b></span></font></span></span></span></span></font></b></div><div><b><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 13px; "><span class="Apple-style-span" style="font-size: 14px; font-weight: normal; font-family: Arial; "><span class="Apple-style-span" style="font-family: Helvetica; font-size: 13px; font-weight: bold; "><span class="Apple-style-span" style="font-size: medium; font-weight: normal; "><font class="Apple-style-span" face="Arial" size="4"><span class="Apple-style-span" style="font-size: 14px; "><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; ">Viamonte 577 Piso 8º, Capital Federal, Buenos Aires, Argentina</span></span></font></span></span></span></span></font></b></div></div><div><b><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 13px; "><span class="Apple-style-span" style="font-size: 14px; font-weight: normal; font-family: Arial; "><span class="Apple-style-span" style="font-family: Helvetica; font-size: 13px; font-weight: bold; "><span class="Apple-style-span" style="font-size: medium; font-weight: normal; "><font class="Apple-style-span" face="Arial" size="4"><span class="Apple-style-span" style="font-size: 14px; "><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; "><span class="Apple-style-span" style="font-family: Arial; font-size: 14px; "><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; "><br></span></span></span></span></font></span></span></span></span></font></b></div></div></span></div></div><br><div><div>On Jul 13, 2010, at 8:04 AM, Carsten Strotmann wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div> Hello Leandro,<br><br>I've seen the same error you see on 1.4.5 when compiling unbound on<br>Debian 4.x. I do not see the error on Debian 5.x or Ubuntu. I guess the<br>swig system is too old on your system. On Ubuntu I have Swig version 1.3.40.<br><br>-- Carsten Strotmann<br><br>On 7/12/10 8:56 PM, Leandro wrote:<br><blockquote type="cite">Hi Paul,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Swig doesn't seem to be the problem!<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">[root@rhel54ca-vm5 ~]# yum list installed | grep -i swig<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">*swig.x86_64                                1.3.29-2.el5              <br></blockquote><blockquote type="cite"> installed*<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Furthermore, 1.4.4 does not show that error, even though it is<br></blockquote><blockquote type="cite">installed with 1.4.5 in the same box...<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Thanks!<br></blockquote><blockquote type="cite">Leandro.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">On Jul 12, 2010, at 2:50 PM, Paul Wouters wrote:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite">On Mon, 12 Jul 2010, Leandro wrote:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Subject: [Unbound-users] Problems with pythonmodule (versions 1.4.4<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">and 1.4.5)<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Hi all,<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Trying with both unbound-1.4.4 and unbound-1.4.5, I've got different<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">problems when enable python modules. In both cases, configuration is<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">done<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">--with-pythonmodule, and set unbound.conf as follows:<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">        module-config: "validator python iterator"<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">        python-script: "/usr/local/etc/unbound/e1.py" <br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">#where e1.py is the same<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">as <a href="http://www.unbound.net/documentation/pythonmod/examples/example0.html">http://www.unbound.net/documentation/pythonmod/examples/example0.html</a> (Fundamentals)<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">I'm lost here! Could you please lend me a hand?<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Please find history below with both versions.<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Try: yum/apt-get install swig<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Looks like you are missing the swig python package.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Paul<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">*Leandro C. Tino | *IT evol**ux**ion* | <a href="mailto:leandro@itevoluxion.com">leandro@itevoluxion.com</a><br></blockquote><blockquote type="cite"><<a href="mailto:leandro@itevoluxion.com">mailto:leandro@itevoluxion.com</a>>*<br></blockquote><blockquote type="cite">*Viamonte 577 Piso 8º, Capital Federal, Buenos Aires, Argentina | +54<br></blockquote><blockquote type="cite">11 4313 5201*<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">Unbound-users mailing list<br></blockquote><blockquote type="cite"><a href="mailto:Unbound-users@unbound.net">Unbound-users@unbound.net</a><br></blockquote><blockquote type="cite"><a href="http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users">http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users</a><br></blockquote><br>_______________________________________________<br>Unbound-users mailing list<br><a href="mailto:Unbound-users@unbound.net">Unbound-users@unbound.net</a><br>http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users<br></div></blockquote></div><br></body></html>