is it possible building smbtorture without python?
Andrew Bartlett
abartlet at samba.org
Sat May 22 00:32:28 MDT 2010
On Fri, 2010-05-21 at 21:28 -0700, James Peach wrote:
> Hi all,
>
> Is it possible to build smbtorture without including the python
> support? Is smbtorture supposed to include a web server or is there
> some dependency confusion?
The dependency chains of Samba4 are a bit odd, but indeed, some of our
torture code really does depend on the whole server...
We don't have an option to remove python support from smbtorture - a
number of the tests link to and use python code as part of the tests
(running provision most notably).
> blacko:source4 jpeach$ ../buildtools/bin/waf --target smbtorture
> Waf: Entering directory `/Users/jpeach/samba/git/samba.git/source4/bin'
> [1803/1854] Linking default/source4/web_server/libWEB_WSGI-samba4.dylib
> Undefined symbols:
> "_debug_level", referenced from:
> _py_error_write in wsgi_1.o
> _py_error_writelines in wsgi_1.o
> _wsgi_process_http_input in wsgi_1.o
> _wsgi_process_http_input in wsgi_1.o
> _wsgi_initialize in wsgi_1.o
> "_dbghdr", referenced from:
> _py_error_write in wsgi_1.o
> _py_error_writelines in wsgi_1.o
> _wsgi_process_http_input in wsgi_1.o
> _wsgi_process_http_input in wsgi_1.o
> _wsgi_initialize in wsgi_1.o
> "_dbgtext", referenced from:
> _py_error_write in wsgi_1.o
> _py_error_writelines in wsgi_1.o
> _wsgi_process_http_input in wsgi_1.o
> _wsgi_process_http_input in wsgi_1.o
> _wsgi_initialize in wsgi_1.o
> "_websrv_output_headers", referenced from:
> _start_response in wsgi_1.o
> "_websrv_output", referenced from:
> _wsgi_process_http_input in wsgi_1.o
> "_tls_enabled", referenced from:
> _wsgi_process_http_input in wsgi_1.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> Waf: Leaving directory `/Users/jpeach/samba/git/samba.git/source4/bin'
> Build failed: -> task failed (err #1):
> {task: cc_link
> tsocket_1.o,tsocket_helpers_1.o,tsocket_bsd_1.o,wsgi_1.o ->
> libWEB_WSGI-samba4.dylib}
This is more interesting. perhaps we actually don't have enough
dependencies.
Andrew Bartlett
--
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
Samba Developer, Cisco Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20100522/ac5162f7/attachment.pgp>
More information about the samba-technical
mailing list