Help on Samba 4

Jelmer Vernooij jelmer at samba.org
Mon Jul 26 04:08:02 MDT 2010


On Mon, 2010-07-26 at 14:07 +0530, Amitava Chakraborty wrote:
> We are trying to install Samba 4 on a RHEL4 update 4 machine and are facing
> problems. We have downloaded the samba4 tar ball from 
>  
> http://repo.or.cz/w/Samba.git/snapshot/master.tar.gz
>  
> After untarring it we have done
>  
> cd source4
> ./autogen.sh
> ./configure
>  
> But at this stage itself we are getting the following error:
>  
> /root/Samba/source4/wscript: error: Traceback (most recent call last):
>   File
> "/root/Samba/buildtools/bin/.waf-1.5.17-164170d221747ffbb50f4a8b9ccc2b2a/waf
> admin/Utils.py", line 198, in load_module
>     exec(compile(code,file_path,'exec'),module.__dict__)
>   File "/root/Samba/source4/wscript", line 11, in ?
>     import wafsamba, Options, samba_dist, Scripting
>   File "../buildtools/wafsamba/wafsamba.py", line 53
>     @conf
>     ^
> SyntaxError: invalid syntax
>  
> Can anybody kindly help us?
It looks like you need a newer version of Python (Python prior to 2.4
did not support decorators). What version of python are you using?

Cheers,

Jelmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20100726/15bb0c30/attachment.pgp>


More information about the samba-technical mailing list