[Unbound-users] Problems with pythonmodule (versions 1.4.4 and 1.4.5)
leandro at itevoluxion.com
Tue Jul 20 18:06:03 UTC 2010
That was the problem. I've installed Fedora 12 with swig 1.3.40 and
everything worked ok.
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.
Leandro C. Tino | IT evoluxion
Viamonte 577 Piso 8º, Capital Federal, Buenos Aires, Argentina
On Jul 13, 2010, at 8:04 AM, Carsten Strotmann wrote:
> Hello Leandro,
> I've seen the same error you see on 1.4.5 when compiling unbound on
> Debian 4.x. I do not see the error on Debian 5.x or Ubuntu. I guess
> swig system is too old on your system. On Ubuntu I have Swig version
> -- Carsten Strotmann
> On 7/12/10 8:56 PM, Leandro wrote:
>> Hi Paul,
>> Swig doesn't seem to be the problem!
>> [root at rhel54ca-vm5 ~]# yum list installed | grep -i swig
>> *swig.x86_64 1.3.29-2.el5
>> Furthermore, 1.4.4 does not show that error, even though it is
>> installed with 1.4.5 in the same box...
>> On Jul 12, 2010, at 2:50 PM, Paul Wouters wrote:
>>> On Mon, 12 Jul 2010, Leandro wrote:
>>>> Subject: [Unbound-users] Problems with pythonmodule (versions 1.4.4
>>>> and 1.4.5)
>>>> Hi all,
>>>> Trying with both unbound-1.4.4 and unbound-1.4.5, I've got
>>>> problems when enable python modules. In both cases, configuration
>>>> --with-pythonmodule, and set unbound.conf as follows:
>>>> module-config: "validator python iterator"
>>>> python-script: "/usr/local/etc/unbound/e1.py"
>>>> #where e1.py is the same
>>>> as http://www.unbound.net/documentation/pythonmod/examples/example0.html
>>>> I'm lost here! Could you please lend me a hand?
>>>> Please find history below with both versions.
>>> Try: yum/apt-get install swig
>>> Looks like you are missing the swig python package.
>> *Leandro C. Tino | *IT evol**ux**ion* | leandro at itevoluxion.com
>> <mailto:leandro at itevoluxion.com>*
>> *Viamonte 577 Piso 8º, Capital Federal, Buenos Aires, Argentina | +54
>> 11 4313 5201*
>> Unbound-users mailing list
>> Unbound-users at unbound.net
> Unbound-users mailing list
> Unbound-users at unbound.net
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Unbound-users