The Samba-Bugzilla – Bug 4706
building python bindings
Last modified: 2007-11-21 08:40:32 UTC
I've tried to compile on my pc with Debian 3.1 Unstable from:
specifying to configure option --with-python=2.5.
At install time the following error occurs.
The following command failed:
gcc -Ilib/ldb/include -Ilib/talloc -Ilib/replace -g -DDEBUG_PASSWORD -DDEVELOPER -Wall -Wshadow -Werror-implicit-function-declaration -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wmissing-format-attribute -Wformat=2 -Wdeclaration-after-statement -Wunused-macros -Wno-format-y2k -Wno-unused-parameter -I./include -I. -I./lib -I./lib/replace -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H -I /usr/include/python2.5 -I /usr/include/python2.5 -I /usr/include/python2.5 -I /usr/include/python2.5 -fPIC -c lib/ldb/swig/ldb_wrap.c -o lib/ldb/swig/ldb_wrap.o
make: *** [lib/ldb/swig/ldb_wrap.o] Error 1
Created attachment 2768 [details]
Log generated by make install
This still fails for me. Was your recent python bindings patch meant to fix this, or just get things closer to a eventual fix?
Andrew, yeah sorry about that. They still don't build but it's getting closer!
Should be fixed in SVN now.