samba4 compile fails on centos5.5

Taylor, Jonn jonnt at taylortelephone.com
Tue Jan 25 13:08:23 MST 2011


More broken python 2.4

[root at pdc samba]# samba_dnsupdate --verbose
Traceback (most recent call last):
  File "/usr/local/samba/sbin/samba_dnsupdate", line 40, in ?
    import samba
ImportError: No module named samba

Jonn

On 01/25/2011 07:10 AM, Matthias Dieter Wallnöfer wrote:
> Yeah, Andrew - your opinion is understandable.
>
> But as a quick fix shouldn't we apply my patch? Jelmer, what do you
> think?
>
> Cheers,
> Matthias
>
> Andrew Bartlett wrote:
>> On Mon, 2011-01-24 at 08:57 +0100, Matthias Dieter Wallnöfer wrote:
>>   
>>> The python 2.4/2.5 compatiblity code is missing. Attached a patch which
>>> should fix this.
>>>      
>> I know this is the approach that has been taken so far, but I think it
>> is incorrect.  We should not have to add such magic to each .c file that
>> uses python.  We need a common header, probably in libreplace or
>> somewhere similar, that adds the right stuff.
>>
>> Andrew Bartlett
>>
>>    
>


More information about the samba-technical mailing list