samba-3.5.20 and errors in configure

Thomas Bork tombork at web.de
Mon Jan 7 13:34:50 MST 2013


Hi @all,

I'm seeing these errors while configuring samba-3.5.20:

[...]
checking for prototype struct passwd *getpwent_r(struct passwd *src, 
char *buf, int buflen)... ./configure: line 9979: 
ac_cv_c_prototype_struct_passwd_pgetpwent_r_struct_passwd_psrc__char_pbuf__int_buflen_=no: 
command not found

Line 9979:
`$as_echo "ac_cv_c_prototype_struct passwd *getpwent_r(struct passwd 
*src, char *buf, int buflen)" | $as_tr_sh`=no

[...]
checking for prototype struct passwd *getpwent_r(struct passwd *src, 
char *buf, size_t buflen)... ./configure: line 10026: 
ac_cv_c_prototype_struct_passwd_pgetpwent_r_struct_passwd_psrc__char_pbuf__size_t_buflen_=no: 
command not found

Line 10026:
`$as_echo "ac_cv_c_prototype_struct passwd *getpwent_r(struct passwd 
*src, char *buf, size_t buflen)" | $as_tr_sh`=no

[...]
checking for prototype struct group *getgrent_r(struct group *src, char 
*buf, int buflen)... ./configure: line 10121: 
ac_cv_c_prototype_struct_group_pgetgrent_r_struct_group_psrc__char_pbuf__int_buflen_=no: 
command not found

Line 10121:
`$as_echo "ac_cv_c_prototype_struct group *getgrent_r(struct group *src, 
char *buf, int buflen)" | $as_tr_sh`=no

[...]
checking for prototype struct group *getgrent_r(struct group *src, char 
*buf, size_t buflen)... ./configure: line 10169: 
ac_cv_c_prototype_struct_group_pgetgrent_r_struct_group_psrc__char_pbuf__size_t_buflen_=no: 
command not found

Line 10169:
`$as_echo "ac_cv_c_prototype_struct group *getgrent_r(struct group *src, 
char *buf, size_t buflen)" | $as_tr_sh`=no

[...]
checking for prototype void *dlopen(const char* filename, unsigned int 
flags)... ./configure: line 10456: 
ac_cv_c_prototype_void_pdlopen_const_charp_filename__unsigned_int_flags_=no: 
command not found

Line 10456:
`$as_echo "ac_cv_c_prototype_void *dlopen(const char* filename, unsigned 
int flags)" | $as_tr_sh`=no



The output from autogen.sh:
deveis # cd /usr/src/samba-3.5.20/source3
deveis # ./autogen.sh
./autogen.sh: running script/mkversion.sh
./script/mkversion.sh: 'include/version.h' created for 
Samba("3.5.20-"for-eisfair-1-patch"-1")
./autogen.sh: running autoheader -Im4 -I../m4 -I../lib/replace -I../source4
configure.in:1334: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call 
detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/general.m4:2031: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2052: AC_CACHE_CHECK is expanded from...
configure.in:1334: the top level
configure.in:5554: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call 
detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/general.m4:1481: AC_ARG_WITH is expanded from...
configure.in:5554: the top level
samba4.m4:6: warning: file `../m4/check_python.m4' included several times
samba4.m4:83: warning: file `../lib/tdb/libtdb.m4' included several times
../source4/build/m4/public.m4:70: SMB_EXT_LIB_FROM_PKGCONFIG is expanded 
from...
samba4.m4:83: the top level
../lib/tevent/samba.m4:3: warning: file `../lib/tevent/libtevent.m4' 
included several times
../source4/build/m4/public.m4:70: SMB_EXT_LIB_FROM_PKGCONFIG is expanded 
from...
../lib/tevent/samba.m4:3: the top level
./autogen.sh: running autoconf -Im4 -I../m4 -I../lib/replace -I../source4
configure.in:1334: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call 
detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/general.m4:2031: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2052: AC_CACHE_CHECK is expanded from...
configure.in:1334: the top level
configure.in:5554: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call 
detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/general.m4:1481: AC_ARG_WITH is expanded from...
configure.in:5554: the top level
samba4.m4:6: warning: file `../m4/check_python.m4' included several times
samba4.m4:83: warning: file `../lib/tdb/libtdb.m4' included several times
../source4/build/m4/public.m4:70: SMB_EXT_LIB_FROM_PKGCONFIG is expanded 
from...
samba4.m4:83: the top level
../lib/tevent/samba.m4:3: warning: file `../lib/tevent/libtevent.m4' 
included several times
../source4/build/m4/public.m4:70: SMB_EXT_LIB_FROM_PKGCONFIG is expanded 
from...
../lib/tevent/samba.m4:3: the top level
Now run ./configure (or ./configure.developer) and then make.

-- 
der tom


More information about the samba-technical mailing list