samba4alpha17: configure error on FreeBSD 9.0 current

Samba-JP oota ribbon at
Wed Sep 28 05:57:19 MDT 2011

OS:   FreeBSD 9.0 current (beta3)
type: amd64

when I execute

% ./configure.developer --enable-selftest --prefix=/usr/local 

configure failed. bin/config.log reports error like this.

[1/2] Compiling ESC[32mtest.cESC[0m
In file included from /usr/local/include/python2.7/Python.h:58,
                 from ../test.c:2:
/usr/local/include/python2.7/pyport.h:849:2: error: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)."
['/usr/bin/gcc', '-MD', '-fno-strict-aliasing', '-I/usr/local/include/python2.7', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed:  -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'Could not find the python development headers


More information about the samba-technical mailing list