[Samba] Samba Compile problem (2.2.7a)

Rich Webb rwebb at chartermi.net
Tue Feb 25 01:37:27 GMT 2003


in /usr/src/samba-2.2.7a/source I typed the following command:

 ./configure --prefix=/usr --sysconfdir=/etc/samba

I get an error:

checking configure summary... configure: error: summary failure. Aborting
config

Last 20 lines of config.log:

configure:14091: checking whether struct passwd has pw_age
configure:14104:
gcc -c -O  -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
conftest.c 1>&5
configure: In function `main':
configure:14100: structure has no member named `pw_age'
configure: failed program was:
#line 14097 "configure"
#include "confdefs.h"
#include <pwd.h>
int main() {
struct passwd p; p.pw_age;
; return 0; }
configure:14143: checking for poptGetContext in -lpopt
configure:14162: gcc -o
conftest -O  -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
conftest.c -lpopt   -ldl -lnsl -lcrypt 1>&5
configure:14186: checking whether to use included popt
configure:14201: checking configure summary
configure:14210: gcc -o
conftest -O  -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
conftest.c  -ldl -lnsl -lcrypt -lpopt 1>&5
configure: failed program was:
#line 14206 "configure"
#include "confdefs.h"
#include "./tests/summary.c"

Any help would be greatly appreciated.
Thanks
Rich





More information about the samba mailing list