Bug 4706 - building python bindings
building python bindings
Product: Samba 4.0
Classification: Unclassified
Component: Other
x86 Linux
: P3 normal
: ---
Assigned To: Jelmer Vernooij
Andrew Bartlett
Depends on:
  Show dependency treegraph
Reported: 2007-06-18 10:30 UTC by Roberto Alcini
Modified: 2007-11-21 08:40 UTC (History)
1 user (show)

See Also:

Install Log (31.62 KB, text/plain)
2007-06-18 10:31 UTC, Roberto Alcini
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roberto Alcini 2007-06-18 10:30:12 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
Comment 1 Roberto Alcini 2007-06-18 10:31:16 UTC
Created attachment 2768 [details]
Install Log

Log generated by make install
Comment 2 Andrew Bartlett 2007-07-17 00:35:54 UTC

This still fails for me.  Was your recent python bindings patch meant to fix this, or just get things closer to a eventual fix?
Comment 3 Tim Potter 2007-07-17 04:13:16 UTC
Andrew, yeah sorry about that.  They still don't build but it's getting closer!
Comment 4 Jelmer Vernooij 2007-11-21 08:40:32 UTC
Should be fixed in SVN now.