[Samba] Problem running ./configure

Elliot elliot.williams at mutualinterest.com.sg
Tue Oct 29 04:29:00 GMT 2002


guys .. when i run ./configure for my samba 2.2.6 .. i get this error

$ checking for test routines... configure: error: cant find test code.
Aborting config

I am not sure how to resolve it. I have posted my error log file at
http://www.mutualinterest.com.sg/config.log   hope someone can help me
out here..

And this is my output. Sorry if it is kinda long.


[root at gatecrasher source]# ./configure
loading cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc -O  ) works... yes checking whether
the C compiler (gcc -O  ) is a cross-compiler... no checking whether we
are using GNU C... yes checking whether gcc accepts -g... yes checking
for a BSD compatible install... /usr/bin/install -c checking for gawk...
gawk checking if the linker (ld) is GNU ld... yes checking for passwd...
/usr/bin/passwd checking whether gcc and cc understand -c and -o
together... yes checking that the C compiler understands volatile... yes
checking host system type... i686-pc-linux-gnu checking target system
type... i686-pc-linux-gnu checking build system type...
i686-pc-linux-gnu checking config.cache system type... same checking for
LFS support... yes checking for inline... inline checking how to run the
C preprocessor... gcc -E checking for ANSI C header files... yes
checking for dirent.h that defines DIR... yes checking for opendir in
-ldir... no checking whether time.h and sys/time.h may both be
included... yes checking for sys/wait.h that is POSIX.1 compatible...
yes checking for arpa/inet.h... yes checking for sys/fcntl.h... yes
checking for sys/select.h... yes checking for fcntl.h... yes checking
for sys/time.h... yes checking for sys/unistd.h... yes checking for
unistd.h... yes checking for utime.h... yes checking for grp.h... yes
checking for sys/id.h... no checking for limits.h... yes checking for
memory.h... yes checking for net/if.h... yes checking for compat.h... no
checking for rpc/rpc.h... yes checking for rpcsvc/nis.h... yes checking
for rpcsvc/yp_prot.h... yes checking for rpcsvc/ypclnt.h... yes checking
for stdlib.h... yes checking for string.h... yes checking for
strings.h... yes checking for syslog.h... yes checking for sys/file.h...
yes checking for sys/param.h... yes checking for ctype.h... yes checking
for sys/wait.h... (cached) yes checking for sys/resource.h... yes
checking for sys/ioctl.h... yes checking for sys/ipc.h... yes checking
for sys/mode.h... no checking for sys/mman.h... yes checking for
sys/filio.h... no checking for sys/priv.h... no checking for
sys/shm.h... yes checking for sys/socket.h... yes checking for
syslog.h... (cached) yes checking for sys/syslog.h... yes checking for
sys/mount.h... yes checking for sys/vfs.h... yes checking for
sys/fs/s5param.h... no checking for sys/filsys.h... no checking for
termios.h... yes checking for termio.h... yes checking for
sys/termio.h... no checking for sys/statfs.h... yes checking for
sys/dustat.h... no checking for sys/statvfs.h... yes checking for
stdarg.h... yes checking for sys/sockio.h... no checking for
security/pam_modules.h... no checking for security/_pam_macros.h... no
checking for dlfcn.h... yes checking for synch.h... no checking for
pthread.h... yes checking for nsswitch.h... no checking for shadow.h...
yes checking for netinet/ip.h... yes checking for netinet/tcp.h... yes
checking for netinet/in_systm.h... yes checking for netinet/in_ip.h...
no checking for nss.h... yes checking for nss_common.h... no checking
for ns_api.h... no checking for sys/security.h... no checking for
security/pam_appl.h... no checking for security/pam_modules.h...
(cached) no checking for stropts.h... yes checking for poll.h... yes
checking for sys/capability.h... no checking for syscall.h... yes
checking for sys/syscall.h... yes checking for sys/acl.h... no checking
for sys/cdefs.h... yes checking for glob.h... yes checking for utmp.h...
yes checking for utmpx.h... yes checking for lastlog.h... yes checking
for sys/fs/vx_quota.h... no checking for linux/xqm.h... yes checking
size of int... 4 checking size of long... 4 checking size of short... 2
checking for working const... yes checking for inline... (cached) inline
checking whether byte ordering is bigendian... no checking whether char
is unsigned... no checking return type of signal handlers... void
checking for uid_t in sys/types.h... yes checking for mode_t... yes
checking for off_t... yes checking for size_t... yes checking for
pid_t... yes checking for st_rdev in struct stat... yes checking for
d_off in dirent... yes checking for ino_t... yes checking for loff_t...
yes checking for offset_t... no checking for ssize_t... yes checking for
wchar_t... yes checking for cups-config... /usr/bin/cups-config checking
for dlopen... no checking for dlopen in -ldl... no checking for
immediate structures... yes checking for unix domain sockets... yes
checking for socklen_t type... yes checking for sig_atomic_t type... yes
checking for errno declaration... yes checking for setresuid
declaration... no checking for setresgid declaration... no checking for
asprintf declaration... yes checking for vasprintf declaration... yes
checking for vsnprintf declaration... yes checking for snprintf
declaration... yes checking for real setresuid... no checking for real
setresgid... no checking for 8-bit clean memcmp... no checking whether
to use readline... yes checking for readline.h... no checking for
history.h... no checking for readline/readline.h... no checking for
readline/history.h... no checking for readline.h... (cached) no checking
for readline/readline.h... (cached) no checking for connect... no
checking for connect in -lsocket... no checking for connect in -linet...
no checking for yp_get_default_domain... no checking for
yp_get_default_domain in -lnsl... no checking for execl... no checking
for dlopen... (cached) no checking for dlclose... no checking for
dlsym... no checking for dlerror... no checking for waitpid... no
checking for getcwd... no checking for strdup... no checking for
strndup... no checking for strnlen... no checking for strtoul... no
checking for strerror... no checking for chown... no checking for
fchown... no checking for chmod... no checking for fchmod... no checking
for chroot... no checking for link... no checking for fstat... no
checking for strchr... no checking for utime... no checking for
utimes... no checking for getrlimit... no checking for fsync... no
checking for bzero... no checking for memset... no checking for
strlcpy... no checking for strlcat... no checking for setpgid... no
checking for mknod... no checking for mknod64... no checking for
memmove... no checking for vsnprintf... no checking for snprintf... no
checking for asprintf... no checking for vasprintf... no checking for
setsid... no checking for glob... no checking for strpbrk... no checking
for pipe... no checking for crypt16... no checking for getauthuid... no
checking for strftime... no checking for sigprocmask... no checking for
sigblock... no checking for sigaction... no checking for sigset... no
checking for innetgr... no checking for setnetgrent... no checking for
getnetgrent... no checking for endnetgrent... no checking for
initgroups... no checking for select... no checking for poll... no
checking for rdchk... no checking for getgrnam... no checking for
getgrent... no checking for pathconf... no checking for realpath... no
checking for setpriv... no checking for setgidx... no checking for
setuidx... no checking for setgroups... no checking for sysconf... no
checking for mktime... no checking for rename... no checking for
ftruncate... no checking for stat64... no checking for fstat64... no
checking for lstat64... no checking for fopen64... no checking for
atexit... no checking for grantpt... no checking for dup2... no checking
for lseek64... no checking for ftruncate64... no checking for
readdir64... no checking for fseek64... no checking for fseeko64... no
checking for ftell64... no checking for ftello64... no checking for
setluid... no checking for getpwanam... no checking for setlinebuf... no
checking for srandom... no checking for random... no checking for
srand... no checking for rand... no checking for setenv... no checking
for usleep... no checking for strcasecmp... no checking for fcvt... no
checking for fcvtl... no checking for symlink... no checking for
readlink... no checking for syslog... no checking for vsyslog... no
checking for syscall... no checking for _dup... no checking for _dup2...
no checking for _opendir... no checking for _readdir... no checking for
_seekdir... no checking for _telldir... no checking for _closedir... no
checking for __dup... no checking for __dup2... no checking for
__opendir... no checking for __readdir... no checking for __seekdir...
no checking for __telldir... no checking for __closedir... no checking
for __getcwd... no checking for _getcwd... no checking for __xstat... no
checking for __fxstat... no checking for __lxstat... no checking for
_stat... no checking for _lstat... no checking for _fstat... no checking
for __stat... no checking for __lstat... no checking for __fstat... no
checking for _acl... no checking for __acl... no checking for _facl...
no checking for __facl... no checking for _open... no checking for
__open... no checking for _chdir... no checking for __chdir... no
checking for _close... no checking for __close... no checking for
_fchdir... no checking for __fchdir... no checking for _fcntl... no
checking for __fcntl... no checking for getdents... no checking for
_getdents... no checking for __getdents... no checking for _lseek... no
checking for __lseek... no checking for _read... no checking for
__read... no checking for _write... no checking for __write... no
checking for _fork... no checking for __fork... no checking for
_stat64... no checking for __stat64... no checking for _fstat64... no
checking for __fstat64... no checking for _lstat64... no checking for
__lstat64... no checking for __sys_llseek... no checking for llseek...
no checking for _llseek... no checking for __llseek... no checking for
readdir64... (cached) no checking for _readdir64... no checking for
__readdir64... no checking for pread... no checking for _pread... no
checking for __pread... no checking for pread64... no checking for
_pread64... no checking for __pread64... no checking for pwrite... no
checking for _pwrite... no checking for __pwrite... no checking for
pwrite64... no checking for _pwrite64... no checking for __pwrite64...
no checking for open64... no checking for _open64... no checking for
__open64... no checking for creat64... no checking for stat64 in
<sys/stat.h>... no checking for lstat64 in <sys/stat.h>... no checking
for fstat64 in <sys/stat.h>... no checking for strcasecmp in -lresolv...
no checking for putprpwnam in -lsecurity... no checking for
putprpwnam... no checking for putprpwnam in -lsec... no checking for
putprpwnam... (cached) no checking for set_auth_parameters in
-lsecurity... no checking for set_auth_parameters... no checking for
set_auth_parameters in -lsec... no checking for set_auth_parameters...
(cached) no checking for getspnam in -lgen... no checking for
getspnam... no checking for getspnam in -lsecurity... no checking for
getspnam... (cached) no checking for getspnam in -lsec... no checking
for getspnam... (cached) no checking for bigcrypt in -lsecurity... no
checking for bigcrypt... no checking for bigcrypt in -lsec... no
checking for bigcrypt... (cached) no checking for getprpwnam in
-lsecurity... no checking for getprpwnam... no checking for getprpwnam
in -lsec... no checking for getprpwnam... (cached) no checking ability
to build shared libraries...
true
checking linker flags for shared libraries... -shared checking compiler
flags for position-independent code...
checking for long long... no
checking for LL suffix on long long integers... yes
checking for 64 bit off_t... no
checking for off64_t... no
checking for 64 bit ino_t... no
checking for ino64_t... no
checking for dev64_t... no
checking for struct dirent64... yes
checking for major macro... no
checking for minor macro... no
checking for makedev macro... no
checking for unsigned char... no
checking for sin_len in sock... no
checking whether seekdir returns void... yes
checking for __FILE__ macro... yes
checking for __FUNCTION__ macro... yes
checking if gettimeofday takes tz argument... no
checking for __va_copy... no
checking for C99 vsnprintf... no
checking for broken readdir... no
checking for utimbuf... yes
checking for pututline... no
checking for pututxline... no
checking for updwtmp... no
checking for updwtmpx... no
checking for getutmpx... no
checking for ut_name in utmp... yes
checking for ut_user in utmp... yes
checking for ut_id in utmp... yes
checking for ut_host in utmp... yes
checking for ut_time in utmp... yes
checking for ut_tv in utmp... yes
checking for ut_type in utmp... yes
checking for ut_pid in utmp... yes
checking for ut_exit in utmp... yes
checking for ut_addr in utmp... yes
checking for ut_syslen in utmpx... no
checking for Linux kernel oplocks... no
checking for kernel change notify support... no
checking for kernel share modes... no
checking for IRIX kernel oplock type definitions... no
checking for irix specific capabilities... no
checking for int16 typedef included by rpc/rpc.h... no
checking for uint16 typedef included by rpc/rpc.h... no checking for
int32 typedef included by rpc/rpc.h... no checking for uint32 typedef
included by rpc/rpc.h... no checking for conflicting AUTH_ERROR define
in rpc/rpc.h... no checking for test routines... configure: error: cant
find test code. Aborting config


Thank You






More information about the samba mailing list