[Samba] Samba 4.1.4 compilation error

shivappa sangapur ssangapur3 at gmail.com
Fri Apr 25 08:33:32 MDT 2014


Hi all,

I am compiling samba 4.1.4 but getting below error on python.
(Python version 2.5.2)

Is it required a higher version of python.

…...………………………………….........………
Checking for program cpp                 : /usr/bin/cpp

Checking for program ar                  : /usr/bin/ar

Checking for program ranlib              : /usr/bin/ranlib

Checking for gcc                         : ok

Checking for program git                 : not found

Check for -MD                            : yes

Checking for program gdb                 : /usr/bin/gdb

Checking build system                    : Linux nwbldsrv 2.6.25.5-1.1-pae
#1 SMP 2008-06-07 01:55:22 +0200 i686 i686 i386 GNU/Linux

Checking for header sys/utsname.h        : yes

Checking uname sysname type              : Traceback (most recent call
last):

  File "./buildtools/bin/waf", line 76, in <module>

    Scripting.prepare(t, cwd, VERSION, wafdir)

  File "/home/samba/samba-4.1.4/buildtools/wafadmin/Scripting.py", line
145, in prepare

    prepare_impl(t, cwd, ver, wafdir)

  File "/home/samba/samba-4.1.4/buildtools/wafadmin/Scripting.py", line
135, in prepare_impl

    main()

  File "/home/samba/samba-4.1.4/wscript", line 280, in main

    wildcard_main(wildcard_cmd)

  File "./buildtools/wafsamba/samba_wildcard.py", line 110, in wildcard_main

    fun(ctx)

  File "/home/samba/samba-4.1.4/buildtools/wafadmin/Scripting.py", line
241, in configure

    conf.sub_config([''])

  File "/home/samba/samba-4.1.4/buildtools/wafadmin/Configure.py", line
237, in sub_config

    self.recurse(k, name='configure')

  File "/home/samba/samba-4.1.4/buildtools/wafadmin/Utils.py", line 634, in
recurse

    f(self)

  File "/home/samba/samba-4.1.4/wscript", line 87, in configure

    conf.RECURSE('lib/replace')

  File "./buildtools/wafsamba/samba_utils.py", line 469, in RECURSE

    return ctx.sub_config(relpath)

  File "/home/samba/samba-4.1.4/buildtools/wafadmin/Configure.py", line
237, in sub_config

    self.recurse(k, name='configure')

  File "/home/samba/samba-4.1.4/buildtools/wafadmin/Utils.py", line 634, in
recurse

    f(self)

  File "./buildtools/wafsamba/samba_utils.py", line 48, in runonce_wrapper

    ret = function(*args)

  File "/home/samba/samba-4.1.4/lib/replace/wscript", line 28, in configure

    conf.RECURSE('buildtools/wafsamba')

  File "./buildtools/wafsamba/samba_utils.py", line 469, in RECURSE

    return ctx.sub_config(relpath)

  File "/home/samba/samba-4.1.4/buildtools/wafadmin/Configure.py", line
237, in sub_config

    self.recurse(k, name='configure')

  File "/home/samba/samba-4.1.4/buildtools/wafadmin/Utils.py", line 634, in
recurse

    f(self)

  File "./buildtools/wafsamba/samba_utils.py", line 48, in runonce_wrapper

    ret = function(*args)

  File
"/home/samba/samba-4.1.4/lib/replace/../../buildtools/wafsamba/wscript",
line 289, in configure

    conf.CHECK_UNAME()

  File "./buildtools/wafsamba/samba_conftests.py", line 465, in CHECK_UNAME

    msg="Checking uname %s type" % v):

  File "./buildtools/wafsamba/samba_autoconf.py", line 421, in CHECK_CODE

    define_ret=define_ret)

  File "./buildtools/wafsamba/samba_conftests.py", line 52, in check

    ret = self.run_c_code(*k, **kw)

  File "/home/samba/samba-4.1.4/buildtools/wafadmin/Tools/config_c.py",
line 556, in run_c_code

    proc = Utils.pproc.Popen([lastprog] + args, stdout=Utils.pproc.PIPE,
stderr=Utils.pproc.PIPE)

  File "/home/samba/samba-4.1.4/buildtools/wafadmin/pproc.py", line 165, in
__init__

    errread, errwrite)

  File "/home/samba/samba-4.1.4/buildtools/wafadmin/pproc.py", line 536, in
_execute_child

    raise child_exception

OSError: [Errno 8] Exec format error

make: *** [doconfig] Error 1

,,,.....…………………………............................

Regards,
Shivappa


More information about the samba mailing list