some help for building samba4 on mac os X 10.6

Zahari Zahariev zahari.zahariev at gmail.com
Sun Oct 17 00:14:55 MDT 2010


  On 10/16/10 1:05 AM, Matthieu Patou wrote:
> Hi,
>
> I have this:
> WAF_MAKE=1 ../buildtools/bin/waf build
> Waf: Entering directory `/Users/mat/samba4/source4/bin'
> [   5/2211] Generating VERSION
> [2124/2211] Linking default/source4/lib/registry/py-registry.so
> [2125/2211] Linking default/source4/rpc_server/libdcerpc-server.dylib
> Undefined symbols:
>   "_PyErr_Format", referenced from:
>       _py_lp_ctx_load in pyparam_6.o
>       _lpcfg_from_py_object in pyparam_util_14.o
>   "_PyList_SetItem", referenced from:
>       _py_lp_ctx_get_helper in pyparam_6.o
>       _py_lp_ctx_services in pyparam_6.o
>   "_PyObject_GetIter", referenced from:
>       _wsgi_process_http_input in wsgi_1.o
>   "__Py_TrueStruct", referenced from:
>       _create_environ in wsgi_1.o
>   "_PyType_IsSubtype", referenced from:
>       _py_lp_service_dump in pyparam_6.o
>       _lpcfg_from_py_object in pyparam_util_14.o
>   "_PyErr_Print", referenced from:
>       _provision_bare in provision_6.o
>       _provision_bare in provision_6.o
>       _provision_bare in provision_6.o
>       _provision_store_self_join in provision_6.o
>       _provision_store_self_join in provision_6.o
>       _provision_store_self_join in provision_6.o
>       _provision_get_schema in provision_6.o
>       _provision_get_schema in provision_6.o
>       _provision_get_schema in provision_6.o
>   "_PyDict_GetItemString", referenced from:
>       _provision_bare in provision_6.o
>
> All the log is in file log attached.
> Can someone help me ?
>
>
> Matthieu
>
Hi Matthieu,

How do you even get to here on OS X 10.6? I cannot get pass 500th file:

$ make
WAF_MAKE=1 ../buildtools/bin/waf build
Waf: Entering directory `/Users/zahari/samba-master/source4/bin'
[   5/2212] Generating VERSION
[ 513/2212] Compiling ../librpc/ndr/ndr_basic.c
In file included from ../../librpc/ndr/ndr_basic.c:23:
../../lib/replace/system/network.h:75:20: error: /net/if.h: Input/output 
error
Waf: Leaving directory `/Users/zahari/samba-master/source4/bin'
Build failed:  -> task failed (err #1):
     {task: cc ndr_basic.c -> ndr_basic_1.o}
make: *** [all] Error 1
Zahari-Zaharievs-MacBook-Pro:source4 zahari$

Any ideas?


More information about the samba-technical mailing list