samba4 compile fails on centos5.5
Taylor, Jonn
jonnt at taylortelephone.com
Tue Jan 25 13:49:13 MST 2011
On 01/25/2011 02:11 PM, Andrew Bartlett wrote:
> On Tue, 2011-01-25 at 14:08 -0600, Taylor, Jonn wrote:
>> 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
> This is simply a lack of a correct PYTHONPATH.
>
Is that set by this?
sys.path.insert(0, "/usr/local/samba/lib/python2.4/site-packages")
Jonn
More information about the samba-technical
mailing list