Philippe Dhont (Sea-ro)
2003-Jun-02 13:30 UTC
[Samba] ./configure --with-pam fails allways
Hi, It is since a while on different distributions that i can't compile samba --with-pam I download 2.2.8a ./configure --with-pam And i always get: 1)config.log 2)screen dump 1) this is the config.log file This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:814: checking for gcc configure:927: checking whether the C compiler (gcc -O ) works configure:943: gcc -o conftest -O conftest.c 1>&5 configure:969: checking whether the C compiler (gcc -O ) is a cross-compiler configure:974: checking whether we are using GNU C configure:1002: checking whether gcc accepts -g configure:1064: checking for a BSD compatible install configure:1121: checking for gawk configure:1152: checking if the linker (ld) is GNU ld configure:1169: checking for passwd configure:1206: checking whether gcc and cc understand -c and -o together configure:1264: checking that the C compiler understands volatile configure:1327: checking host system type configure:1348: checking target system type configure:1366: checking build system type configure:1400: checking config.cache system type configure:1665: checking for LFS support configure:1710: gcc -o conftest -O -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c 1>&5 configure:1792: checking for inline configure:1832: checking how to run the C preprocessor configure:1912: checking for ANSI C header files configure:2020: checking for dirent.h that defines DIR configure:2058: checking for opendir in -ldir configure:2141: checking whether time.h and sys/time.h may both be included configure:2176: checking for sys/wait.h that is POSIX.1 compatible configure:2221: checking for arpa/inet.h configure:2221: checking for sys/fcntl.h configure:2221: checking for sys/select.h configure:2221: checking for fcntl.h configure:2221: checking for sys/time.h configure:2221: checking for sys/unistd.h configure:2261: checking for unistd.h configure:2261: checking for utime.h configure:2261: checking for grp.h configure:2261: checking for sys/id.h configure:2261: checking for limits.h configure:2261: checking for memory.h configure:2261: checking for net/if.h configure:2301: checking for compat.h configure:2301: checking for rpc/rpc.h configure:2301: checking for rpcsvc/nis.h configure:2301: checking for rpcsvc/yp_prot.h configure:2301: checking for rpcsvc/ypclnt.h configure:2341: checking for stdlib.h configure:2341: checking for string.h configure:2341: checking for strings.h configure:2341: checking for syslog.h configure:2341: checking for sys/file.h configure:2381: checking for sys/param.h configure:2381: checking for ctype.h configure:2381: checking for sys/wait.h configure:2381: checking for sys/resource.h configure:2381: checking for sys/ioctl.h configure:2381: checking for sys/ipc.h configure:2381: checking for sys/mode.h configure:2421: checking for sys/mman.h configure:2421: checking for sys/filio.h configure:2421: checking for sys/priv.h configure:2421: checking for sys/shm.h configure:2421: checking for sys/socket.h configure:2461: checking for syslog.h configure:2461: checking for sys/syslog.h configure:2461: checking for sys/mount.h configure:2461: checking for sys/vfs.h configure:2461: checking for sys/fs/s5param.h configure:2461: checking for sys/filsys.h configure:2461: checking for termios.h configure:2461: checking for termio.h configure:2501: checking for sys/termio.h configure:2501: checking for sys/statfs.h configure:2501: checking for sys/dustat.h configure:2501: checking for sys/statvfs.h configure:2501: checking for stdarg.h configure:2501: checking for sys/sockio.h configure:2541: checking for security/pam_modules.h configure:2541: checking for security/_pam_macros.h configure:2541: checking for dlfcn.h configure:2541: checking for synch.h configure:2541: checking for pthread.h configure:2541: checking for nsswitch.h configure:2614: checking for shadow.h configure:2614: checking for netinet/ip.h configure:2614: checking for netinet/tcp.h configure:2614: checking for netinet/in_systm.h configure:2614: checking for netinet/in_ip.h configure:2654: checking for nss.h configure:2654: checking for nss_common.h configure:2654: checking for ns_api.h configure:2654: checking for sys/security.h configure:2654: checking for security/pam_appl.h configure:2654: checking for security/pam_modules.h configure:2694: checking for stropts.h configure:2694: checking for poll.h configure:2734: checking for sys/capability.h configure:2734: checking for syscall.h configure:2734: checking for sys/syscall.h configure:2774: checking for sys/acl.h configure:2774: checking for sys/cdefs.h configure:2774: checking for glob.h configure:2816: checking for utmp.h configure:2816: checking for utmpx.h configure:2816: checking for lastlog.h configure:2858: checking for sys/fs/vx_quota.h configure:2900: checking for linux/xqm.h configure:2938: checking size of int configure:2977: checking size of long configure:3016: checking size of short configure:3056: checking for working const configure:3131: checking for inline configure:3171: checking whether byte ordering is bigendian configure:3261: checking whether char is unsigned configure:3325: checking return type of signal handlers configure:3366: checking for uid_t in sys/types.h configure:3400: checking for mode_t configure:3433: checking for off_t configure:3466: checking for size_t configure:3499: checking for pid_t configure:3532: checking for st_rdev in struct stat configure:3566: checking for d_off in dirent configure:3602: checking for ino_t configure:3635: checking for loff_t configure:3668: checking for offset_t configure:3701: checking for ssize_t configure:3734: checking for wchar_t configure:3781: checking for cups-config configure:3830: checking for dlopen configure:3884: checking for dlopen in -ldl configure:3933: checking for immediate structures configure:3980: checking for unix domain sockets configure:4022: checking for socklen_t type configure:4062: checking for sig_atomic_t type configure:4104: checking for errno declaration configure:4139: checking for setresuid declaration configure:4174: checking for setresgid declaration configure:4209: checking for asprintf declaration configure:4244: checking for vasprintf declaration configure:4279: checking for vsnprintf declaration configure:4314: checking for snprintf declaration configure:4351: checking for real setresuid configure:4390: checking for real setresgid configure:4428: checking for 8-bit clean memcmp configure:4470: checking whether to use readline configure:4482: checking for readline.h configure:4482: checking for history.h configure:4482: checking for readline/readline.h configure:4522: checking for readline/history.h configure:4563: checking for readline.h configure:4563: checking for readline/readline.h configure:4936: checking for connect configure:5205: checking for yp_get_default_domain configure:5259: checking for yp_get_default_domain in -lnsl configure:5308: checking for execl configure:5369: checking for dlopen configure:5369: checking for dlclose configure:5369: checking for dlsym configure:5369: checking for dlerror configure:5369: checking for waitpid configure:5369: checking for getcwd configure:5369: checking for strdup configure:5369: checking for strndup configure:5369: checking for strnlen configure:5369: checking for strtoul configure:5369: checking for strerror configure:5369: checking for chown configure:5369: checking for fchown configure:5369: checking for chmod configure:5369: checking for fchmod configure:5369: checking for chroot configure:5369: checking for link configure:5424: checking for fstat configure:5424: checking for strchr configure:5424: checking for utime configure:5424: checking for utimes configure:5424: checking for getrlimit configure:5424: checking for fsync configure:5424: checking for bzero configure:5424: checking for memset configure:5424: checking for strlcpy configure:5424: checking for strlcat configure:5424: checking for setpgid configure:5424: checking for mknod configure:5424: checking for mknod64 configure:5479: checking for memmove configure:5479: checking for vsnprintf configure:5479: checking for snprintf configure:5479: checking for asprintf configure:5479: checking for vasprintf configure:5479: checking for setsid configure:5479: checking for glob configure:5479: checking for strpbrk configure:5479: checking for pipe configure:5479: checking for crypt16 configure:5479: checking for getauthuid configure:5534: checking for strftime configure:5534: checking for sigprocmask configure:5534: checking for sigblock configure:5534: checking for sigaction configure:5534: checking for sigset configure:5534: checking for innetgr configure:5534: checking for setnetgrent configure:5534: checking for getnetgrent configure:5534: checking for endnetgrent configure:5589: checking for initgroups configure:5589: checking for select configure:5589: checking for poll configure:5589: checking for rdchk configure:5589: checking for getgrnam configure:5589: checking for getgrent configure:5589: checking for pathconf configure:5589: checking for realpath configure:5644: checking for setpriv configure:5644: checking for setgidx configure:5644: checking for setuidx configure:5644: checking for setgroups configure:5644: checking for sysconf configure:5644: checking for mktime configure:5644: checking for rename configure:5644: checking for ftruncate configure:5644: checking for stat64 configure:5644: checking for fstat64 configure:5699: checking for lstat64 configure:5699: checking for fopen64 configure:5699: checking for atexit configure:5699: checking for grantpt configure:5699: checking for dup2 configure:5699: checking for lseek64 configure:5699: checking for ftruncate64 configure:5699: checking for readdir64 configure:5754: checking for fseek64 configure:5754: checking for fseeko64 configure:5754: checking for ftell64 configure:5754: checking for ftello64 configure:5754: checking for setluid configure:5754: checking for getpwanam configure:5754: checking for setlinebuf configure:5809: checking for srandom configure:5809: checking for random configure:5809: checking for srand configure:5809: checking for rand configure:5809: checking for setenv configure:5809: checking for usleep configure:5809: checking for strcasecmp configure:5809: checking for fcvt configure:5809: checking for fcvtl configure:5809: checking for symlink configure:5809: checking for readlink configure:5864: checking for syslog configure:5864: checking for vsyslog configure:5921: checking for syscall configure:5977: checking for _dup configure:5977: checking for _dup2 configure:5977: checking for _opendir configure:5977: checking for _readdir configure:5977: checking for _seekdir configure:5977: checking for _telldir configure:5977: checking for _closedir configure:6032: checking for __dup configure:6032: checking for __dup2 configure:6032: checking for __opendir configure:6032: checking for __readdir configure:6032: checking for __seekdir configure:6032: checking for __telldir configure:6032: checking for __closedir configure:6087: checking for __getcwd configure:6087: checking for _getcwd configure:6142: checking for __xstat configure:6142: checking for __fxstat configure:6142: checking for __lxstat configure:6197: checking for _stat configure:6197: checking for _lstat configure:6197: checking for _fstat configure:6197: checking for __stat configure:6197: checking for __lstat configure:6197: checking for __fstat configure:6252: checking for _acl configure:6252: checking for __acl configure:6252: checking for _facl configure:6252: checking for __facl configure:6252: checking for _open configure:6252: checking for __open configure:6252: checking for _chdir configure:6252: checking for __chdir configure:6307: checking for _close configure:6307: checking for __close configure:6307: checking for _fchdir configure:6307: checking for __fchdir configure:6307: checking for _fcntl configure:6307: checking for __fcntl configure:6362: checking for getdents configure:6362: checking for _getdents configure:6362: checking for __getdents configure:6362: checking for _lseek configure:6362: checking for __lseek configure:6362: checking for _read configure:6362: checking for __read configure:6417: checking for _write configure:6417: checking for __write configure:6417: checking for _fork configure:6417: checking for __fork configure:6472: checking for _stat64 configure:6472: checking for __stat64 configure:6472: checking for _fstat64 configure:6472: checking for __fstat64 configure:6472: checking for _lstat64 configure:6472: checking for __lstat64 configure:6527: checking for __sys_llseek configure:6527: checking for llseek configure:6527: checking for _llseek configure:6527: checking for __llseek configure:6527: checking for readdir64 configure:6527: checking for _readdir64 configure:6527: checking for __readdir64 configure:6582: checking for pread configure:6582: checking for _pread configure:6582: checking for __pread configure:6582: checking for pread64 configure:6582: checking for _pread64 configure:6582: checking for __pread64 configure:6637: checking for pwrite configure:6637: checking for _pwrite configure:6637: checking for __pwrite configure:6637: checking for pwrite64 configure:6637: checking for _pwrite64 configure:6637: checking for __pwrite64 configure:6692: checking for open64 configure:6692: checking for _open64 configure:6692: checking for __open64 configure:6692: checking for creat64 configure:6964: checking for putprpwnam in -lsecurity configure:7013: checking for putprpwnam configure:7125: checking for putprpwnam in -lsec configure:7174: checking for putprpwnam configure:7287: checking for set_auth_parameters in -lsecurity configure:7336: checking for set_auth_parameters configure:7448: checking for set_auth_parameters in -lsec configure:7497: checking for set_auth_parameters configure:7611: checking for getspnam in -lgen configure:7660: checking for getspnam configure:7773: checking for getspnam in -lsecurity configure:7822: checking for getspnam configure:7934: checking for getspnam in -lsec configure:7983: checking for getspnam configure:8096: checking for bigcrypt in -lsecurity configure:8145: checking for bigcrypt configure:8257: checking for bigcrypt in -lsec configure:8306: checking for bigcrypt configure:8419: checking for getprpwnam in -lsecurity configure:8468: checking for getprpwnam configure:8580: checking for getprpwnam in -lsec configure:8629: checking for getprpwnam configure:8700: checking ability to build shared libraries configure:8977: checking linker flags for shared libraries configure:8980: checking compiler flags for position-independent code configure:9051: checking for long long configure:9092: checking for LL suffix on long long integers configure:9127: checking for 64 bit off_t configure:9165: checking for off64_t configure:9207: checking for 64 bit ino_t configure:9245: checking for ino64_t configure:9287: checking for dev64_t configure:9329: checking for struct dirent64 configure:9368: checking for major macro configure:9409: checking for minor macro configure:9450: checking for makedev macro configure:9491: checking for unsigned char configure:9528: checking for sin_len in sock configure:9564: checking whether seekdir returns void configure:9600: checking for __FILE__ macro configure:9634: checking for __FUNCTION__ macro configure:9668: checking if gettimeofday takes tz argument configure:9707: checking for __va_copy configure:9742: checking for C99 vsnprintf configure:9801: checking for broken readdir configure:9841: checking for utimbuf configure:9879: checking for pututline configure:9879: checking for pututxline configure:9879: checking for updwtmp configure:9879: checking for updwtmpx configure:9879: checking for getutmpx configure:9933: checking for ut_name in utmp configure:9968: checking for ut_user in utmp configure:10003: checking for ut_id in utmp configure:10038: checking for ut_host in utmp configure:10073: checking for ut_time in utmp configure:10108: checking for ut_tv in utmp configure:10143: checking for ut_type in utmp configure:10178: checking for ut_pid in utmp configure:10213: checking for ut_exit in utmp configure:10248: checking for ut_addr in utmp configure:10284: checking whether pututline returns pointer configure:10320: checking for ut_syslen in utmpx configure:10355: checking for Linux kernel oplocks configure:10401: checking for kernel change notify support configure:10447: checking for kernel share modes configure:10498: checking for IRIX kernel oplock type definitions configure:10533: checking for irix specific capabilities configure:10585: checking for int16 typedef included by rpc/rpc.h configure:10622: checking for uint16 typedef included by rpc/rpc.h configure:10659: checking for int32 typedef included by rpc/rpc.h configure:10696: checking for uint32 typedef included by rpc/rpc.h configure:10734: checking for conflicting AUTH_ERROR define in rpc/rpc.h configure:10775: checking for test routines configure:10784: gcc -o conftest -O -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c -ldl -lnsl 1>&5 configure:10798: checking for ftruncate extend configure:10834: checking for broken getgroups configure:10870: checking whether getpass should be replaced configure:10914: checking for broken inet_ntoa configure:10960: checking for secure mkstemp configure:11009: checking for sysconf(_SC_NGROUPS_MAX) configure:11046: checking for root configure:11087: checking for iface AIX configure:11128: checking for iface ifconf configure:11216: checking for setresuid configure:11385: checking for working mmap configure:11421: checking for ftruncate needs root configure:11457: checking for fcntl locking configure:11493: checking for broken (glibc2.1/x86) 64 bit fcntl locking configure:11531: checking for 64 bit fcntl locking configure:11589: checking for st_blocks in struct stat configure:11625: checking for st_blksize in struct stat configure:11663: checking for broken RedHat 7.2 system header files configure:11706: checking for broken nisplus include files configure:11746: checking whether to use smbwrapper configure:11793: checking whether to use AFS configure:11819: checking whether to use DCE/DFS auth configure:11844: checking whether to use Kerberos IV configure:11919: checking whether to use Kerberos 5 configure:11947: checking whether to use AUTOMOUNT configure:11972: checking whether to use SMBMOUNT configure:12009: checking whether to use PAM password database configure:12035: checking for pam_get_data in -lpam configure:12081: checking whether to use pam_smbpass configure:12282: checking whether to use TDB SAM database configure:12308: checking whether to use LDAP SAM database configure:12479: checking whether to use NISPLUS SAM database configure:12507: checking whether to use traditional smbpasswd file configure:12529: checking whether to use NISPLUS_HOME configure:12554: checking whether to use SSL configure:12628: checking whether to use syslog logging configure:12653: checking whether to use profiling configure:12681: checking whether to support disk-quotas configure:12705: checking whether to support utmp accounting configure:12731: checking whether to support Microsoft Dfs configure:12761: checking whether to build the libsmbclient shared library configure:12791: checking how to get filesystem space usage configure:12798: checking statvfs64 function (SVR4) configure:13150: checking if large file support can be enabled configure:13165: gcc -c -O -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c 1>&5 configure:13232: checking whether to support ACLs configure:13433: checking whether to check for support sendfile configure:13925: checking whether to build winbind configure:13985: checking whether to enable winbind auth challenge/response code configure:14031: checking whether to enable winbind ldap hack configure:14069: checking whether or not getgroups returns EGID too many times configure:14134: checking whether struct passwd has pw_comment configure:14172: checking whether struct passwd has pw_age configure:14224: checking for poptGetContext in -lpopt configure:14267: checking whether to use included popt configure:14282: checking configure summary configure:14291: gcc -o conftest -O -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c -ldl -lnsl -lpam 1>&5 /usr/bin/ld: cannot find -lpam collect2: ld returned 1 exit status configure: failed program was: #line 14287 "configure" #include "confdefs.h" #include "./tests/summary.c" 2) this is what i get on the screen: loading cache ./config.cache checking for gcc... (cached) 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... (cached) yes checking whether gcc accepts -g... (cached) yes checking for a BSD compatible install... (cached) /usr/bin/install -c checking for gawk... (cached) mawk checking if the linker (ld) is GNU ld... (cached) yes checking for passwd... (cached) /usr/bin/passwd checking whether gcc and cc understand -c and -o together... (cached) yes checking that the C compiler understands volatile... (cached) 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... (cached) inline checking how to run the C preprocessor... (cached) gcc -E checking for ANSI C header files... (cached) yes checking for dirent.h that defines DIR... (cached) yes checking for opendir in -ldir... (cached) no checking whether time.h and sys/time.h may both be included... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking for arpa/inet.h... (cached) yes checking for sys/fcntl.h... (cached) yes checking for sys/select.h... (cached) yes checking for fcntl.h... (cached) yes checking for sys/time.h... (cached) yes checking for sys/unistd.h... (cached) yes checking for unistd.h... (cached) yes checking for utime.h... (cached) yes checking for grp.h... (cached) yes checking for sys/id.h... (cached) no checking for limits.h... (cached) yes checking for memory.h... (cached) yes checking for net/if.h... (cached) yes checking for compat.h... (cached) no checking for rpc/rpc.h... (cached) yes checking for rpcsvc/nis.h... (cached) yes checking for rpcsvc/yp_prot.h... (cached) yes checking for rpcsvc/ypclnt.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for syslog.h... (cached) yes checking for sys/file.h... (cached) yes checking for sys/param.h... (cached) yes checking for ctype.h... (cached) yes checking for sys/wait.h... (cached) yes checking for sys/resource.h... (cached) yes checking for sys/ioctl.h... (cached) yes checking for sys/ipc.h... (cached) yes checking for sys/mode.h... (cached) no checking for sys/mman.h... (cached) yes checking for sys/filio.h... (cached) no checking for sys/priv.h... (cached) no checking for sys/shm.h... (cached) yes checking for sys/socket.h... (cached) yes checking for syslog.h... (cached) yes checking for sys/syslog.h... (cached) yes checking for sys/mount.h... (cached) yes checking for sys/vfs.h... (cached) yes checking for sys/fs/s5param.h... (cached) no checking for sys/filsys.h... (cached) no checking for termios.h... (cached) yes checking for termio.h... (cached) yes checking for sys/termio.h... (cached) no checking for sys/statfs.h... (cached) yes checking for sys/dustat.h... (cached) no checking for sys/statvfs.h... (cached) yes checking for stdarg.h... (cached) yes checking for sys/sockio.h... (cached) no checking for security/pam_modules.h... (cached) no checking for security/_pam_macros.h... (cached) no checking for dlfcn.h... (cached) yes checking for synch.h... (cached) no checking for pthread.h... (cached) yes checking for nsswitch.h... (cached) no checking for shadow.h... (cached) yes checking for netinet/ip.h... (cached) yes checking for netinet/tcp.h... (cached) yes checking for netinet/in_systm.h... (cached) yes checking for netinet/in_ip.h... (cached) no checking for nss.h... (cached) yes checking for nss_common.h... (cached) no checking for ns_api.h... (cached) no checking for sys/security.h... (cached) no checking for security/pam_appl.h... (cached) no checking for security/pam_modules.h... (cached) no checking for stropts.h... (cached) yes checking for poll.h... (cached) yes checking for sys/capability.h... (cached) no checking for syscall.h... (cached) yes checking for sys/syscall.h... (cached) yes checking for sys/acl.h... (cached) no checking for sys/cdefs.h... (cached) yes checking for glob.h... (cached) yes checking for utmp.h... (cached) yes checking for utmpx.h... (cached) yes checking for lastlog.h... (cached) yes checking for sys/fs/vx_quota.h... (cached) no checking for linux/xqm.h... (cached) no checking size of int... (cached) 4 checking size of long... (cached) 4 checking size of short... (cached) 2 checking for working const... (cached) yes checking for inline... (cached) inline checking whether byte ordering is bigendian... (cached) no checking whether char is unsigned... (cached) no checking return type of signal handlers... (cached) void checking for uid_t in sys/types.h... (cached) yes checking for mode_t... (cached) yes checking for off_t... (cached) yes checking for size_t... (cached) yes checking for pid_t... (cached) yes checking for st_rdev in struct stat... (cached) yes checking for d_off in dirent... (cached) yes checking for ino_t... (cached) yes checking for loff_t... (cached) yes checking for offset_t... (cached) no checking for ssize_t... (cached) yes checking for wchar_t... (cached) yes checking for cups-config... no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking for immediate structures... (cached) yes checking for unix domain sockets... (cached) yes checking for socklen_t type... (cached) yes checking for sig_atomic_t type... (cached) yes checking for errno declaration... (cached) yes checking for setresuid declaration... (cached) no checking for setresgid declaration... (cached) no checking for asprintf declaration... (cached) yes checking for vasprintf declaration... (cached) yes checking for vsnprintf declaration... (cached) yes checking for snprintf declaration... (cached) yes checking for real setresuid... (cached) yes checking for real setresgid... (cached) yes checking for 8-bit clean memcmp... (cached) yes checking whether to use readline... yes checking for readline.h... (cached) no checking for history.h... (cached) no checking for readline/readline.h... (cached) no checking for readline/history.h... (cached) no checking for readline.h... (cached) no checking for readline/readline.h... (cached) no checking for connect... (cached) yes checking for yp_get_default_domain... (cached) no checking for yp_get_default_domain in -lnsl... (cached) yes checking for execl... (cached) yes checking for dlopen... (cached) no checking for dlclose... (cached) yes checking for dlsym... (cached) yes checking for dlerror... (cached) yes checking for waitpid... (cached) yes checking for getcwd... (cached) yes checking for strdup... (cached) yes checking for strndup... (cached) yes checking for strnlen... (cached) yes checking for strtoul... (cached) yes checking for strerror... (cached) yes checking for chown... (cached) yes checking for fchown... (cached) yes checking for chmod... (cached) yes checking for fchmod... (cached) yes checking for chroot... (cached) yes checking for link... (cached) yes checking for fstat... (cached) yes checking for strchr... (cached) yes checking for utime... (cached) yes checking for utimes... (cached) yes checking for getrlimit... (cached) yes checking for fsync... (cached) yes checking for bzero... (cached) yes checking for memset... (cached) yes checking for strlcpy... (cached) no checking for strlcat... (cached) no checking for setpgid... (cached) yes checking for mknod... (cached) yes checking for mknod64... (cached) no checking for memmove... (cached) yes checking for vsnprintf... (cached) yes checking for snprintf... (cached) yes checking for asprintf... (cached) yes checking for vasprintf... (cached) yes checking for setsid... (cached) yes checking for glob... (cached) yes checking for strpbrk... (cached) yes checking for pipe... (cached) yes checking for crypt16... (cached) no checking for getauthuid... (cached) no checking for strftime... (cached) yes checking for sigprocmask... (cached) yes checking for sigblock... (cached) yes checking for sigaction... (cached) yes checking for sigset... (cached) yes checking for innetgr... (cached) yes checking for setnetgrent... (cached) yes checking for getnetgrent... (cached) yes checking for endnetgrent... (cached) yes checking for initgroups... (cached) yes checking for select... (cached) yes checking for poll... (cached) yes checking for rdchk... (cached) no checking for getgrnam... (cached) yes checking for getgrent... (cached) yes checking for pathconf... (cached) yes checking for realpath... (cached) yes checking for setpriv... (cached) no checking for setgidx... (cached) no checking for setuidx... (cached) no checking for setgroups... (cached) yes checking for sysconf... (cached) yes checking for mktime... (cached) yes checking for rename... (cached) yes checking for ftruncate... (cached) yes checking for stat64... (cached) yes checking for fstat64... (cached) yes checking for lstat64... (cached) yes checking for fopen64... (cached) yes checking for atexit... (cached) yes checking for grantpt... (cached) yes checking for dup2... (cached) yes checking for lseek64... (cached) yes checking for ftruncate64... (cached) yes checking for readdir64... (cached) yes checking for fseek64... (cached) no checking for fseeko64... (cached) yes checking for ftell64... (cached) no checking for ftello64... (cached) yes checking for setluid... (cached) no checking for getpwanam... (cached) no checking for setlinebuf... (cached) yes checking for srandom... (cached) yes checking for random... (cached) yes checking for srand... (cached) yes checking for rand... (cached) yes checking for setenv... (cached) yes checking for usleep... (cached) yes checking for strcasecmp... (cached) yes checking for fcvt... (cached) yes checking for fcvtl... (cached) no checking for symlink... (cached) yes checking for readlink... (cached) yes checking for syslog... (cached) yes checking for vsyslog... (cached) yes checking for syscall... (cached) yes checking for _dup... (cached) no checking for _dup2... (cached) no checking for _opendir... (cached) no checking for _readdir... (cached) no checking for _seekdir... (cached) no checking for _telldir... (cached) no checking for _closedir... (cached) no checking for __dup... (cached) no checking for __dup2... (cached) yes checking for __opendir... (cached) no checking for __readdir... (cached) no checking for __seekdir... (cached) no checking for __telldir... (cached) no checking for __closedir... (cached) no checking for __getcwd... (cached) no checking for _getcwd... (cached) no checking for __xstat... (cached) yes checking for __fxstat... (cached) yes checking for __lxstat... (cached) yes checking for _stat... (cached) no checking for _lstat... (cached) no checking for _fstat... (cached) no checking for __stat... (cached) yes checking for __lstat... (cached) yes checking for __fstat... (cached) yes checking for _acl... (cached) no checking for __acl... (cached) no checking for _facl... (cached) no checking for __facl... (cached) no checking for _open... (cached) no checking for __open... (cached) yes checking for _chdir... (cached) no checking for __chdir... (cached) no checking for _close... (cached) no checking for __close... (cached) yes checking for _fchdir... (cached) no checking for __fchdir... (cached) no checking for _fcntl... (cached) no checking for __fcntl... (cached) yes checking for getdents... (cached) no checking for _getdents... (cached) no checking for __getdents... (cached) no checking for _lseek... (cached) no checking for __lseek... (cached) yes checking for _read... (cached) no checking for __read... (cached) yes checking for _write... (cached) no checking for __write... (cached) yes checking for _fork... (cached) no checking for __fork... (cached) yes checking for _stat64... (cached) no checking for __stat64... (cached) no checking for _fstat64... (cached) no checking for __fstat64... (cached) no checking for _lstat64... (cached) no checking for __lstat64... (cached) no checking for __sys_llseek... (cached) no checking for llseek... (cached) yes checking for _llseek... (cached) no checking for __llseek... (cached) no checking for readdir64... (cached) yes checking for _readdir64... (cached) no checking for __readdir64... (cached) no checking for pread... (cached) yes checking for _pread... (cached) no checking for __pread... (cached) no checking for pread64... (cached) yes checking for _pread64... (cached) no checking for __pread64... (cached) yes checking for pwrite... (cached) yes checking for _pwrite... (cached) no checking for __pwrite... (cached) no checking for pwrite64... (cached) yes checking for _pwrite64... (cached) no checking for __pwrite64... (cached) yes checking for open64... (cached) yes checking for _open64... (cached) no checking for __open64... (cached) yes checking for creat64... (cached) yes checking for putprpwnam in -lsecurity... (cached) no checking for putprpwnam... (cached) no checking for putprpwnam in -lsec... (cached) no checking for putprpwnam... (cached) no checking for set_auth_parameters in -lsecurity... (cached) no checking for set_auth_parameters... (cached) no checking for set_auth_parameters in -lsec... (cached) no checking for set_auth_parameters... (cached) no checking for getspnam in -lgen... (cached) no checking for getspnam... (cached) yes checking for getspnam in -lsecurity... (cached) no checking for getspnam... (cached) yes checking for getspnam in -lsec... (cached) no checking for getspnam... (cached) yes checking for bigcrypt in -lsecurity... (cached) no checking for bigcrypt... (cached) no checking for bigcrypt in -lsec... (cached) no checking for bigcrypt... (cached) no checking for getprpwnam in -lsecurity... (cached) no checking for getprpwnam... (cached) no checking for getprpwnam in -lsec... (cached) 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... (cached) yes checking for LL suffix on long long integers... (cached) yes checking for 64 bit off_t... (cached) yes checking for off64_t... (cached) no checking for 64 bit ino_t... (cached) yes checking for ino64_t... (cached) no checking for dev64_t... (cached) no checking for struct dirent64... (cached) yes checking for major macro... (cached) yes checking for minor macro... (cached) yes checking for makedev macro... (cached) yes checking for unsigned char... (cached) no checking for sin_len in sock... (cached) no checking whether seekdir returns void... (cached) yes checking for __FILE__ macro... (cached) yes checking for __FUNCTION__ macro... (cached) yes checking if gettimeofday takes tz argument... (cached) yes checking for __va_copy... (cached) yes checking for C99 vsnprintf... (cached) yes checking for broken readdir... (cached) no checking for utimbuf... (cached) yes checking for pututline... (cached) yes checking for pututxline... (cached) yes checking for updwtmp... (cached) yes checking for updwtmpx... (cached) yes checking for getutmpx... (cached) yes checking for ut_name in utmp... (cached) yes checking for ut_user in utmp... (cached) yes checking for ut_id in utmp... (cached) yes checking for ut_host in utmp... (cached) yes checking for ut_time in utmp... (cached) yes checking for ut_tv in utmp... (cached) yes checking for ut_type in utmp... (cached) yes checking for ut_pid in utmp... (cached) yes checking for ut_exit in utmp... (cached) yes checking for ut_addr in utmp... (cached) yes checking whether pututline returns pointer... (cached) yes checking for ut_syslen in utmpx... (cached) no checking for Linux kernel oplocks... (cached) yes checking for kernel change notify support... (cached) yes checking for kernel share modes... (cached) yes checking for IRIX kernel oplock type definitions... (cached) no checking for irix specific capabilities... (cached) no checking for int16 typedef included by rpc/rpc.h... (cached) no checking for uint16 typedef included by rpc/rpc.h... (cached) no checking for int32 typedef included by rpc/rpc.h... (cached) no checking for uint32 typedef included by rpc/rpc.h... (cached) no checking for conflicting AUTH_ERROR define in rpc/rpc.h... (cached) no checking for test routines... yes checking for ftruncate extend... (cached) yes checking for broken getgroups... (cached) no checking whether getpass should be replaced... (cached) yes checking for broken inet_ntoa... (cached) no checking for secure mkstemp... (cached) yes checking for sysconf(_SC_NGROUPS_MAX)... (cached) yes checking for root... (cached) yes checking for iface AIX... (cached) no checking for iface ifconf... (cached) yes checking for setresuid... (cached) yes checking for working mmap... (cached) yes checking for ftruncate needs root... (cached) no checking for fcntl locking... (cached) yes checking for broken (glibc2.1/x86) 64 bit fcntl locking... (cached) no checking for 64 bit fcntl locking... (cached) yes checking for st_blocks in struct stat... (cached) yes checking for st_blksize in struct stat... (cached) yes checking for broken RedHat 7.2 system header files... (cached) no checking for broken nisplus include files... (cached) yes checking whether to use smbwrapper... no checking whether to use AFS... no checking whether to use DCE/DFS auth... no checking whether to use Kerberos IV... no checking whether to use Kerberos 5... no checking whether to use AUTOMOUNT... no checking whether to use SMBMOUNT... no checking whether to use PAM password database... yes checking for pam_get_data in -lpam... (cached) no checking whether to use pam_smbpass... no checking whether to use TDB SAM database... no checking whether to use LDAP SAM database... no checking whether to use NISPLUS SAM database... no checking whether to use traditional smbpasswd file... yes checking whether to use NISPLUS_HOME... no checking whether to use SSL... no checking whether to use syslog logging... no checking whether to use profiling... no checking whether to support disk-quotas... no checking whether to support utmp accounting... no checking whether to support Microsoft Dfs... no checking whether to build the libsmbclient shared library... no checking how to get filesystem space usage checking statvfs64 function (SVR4)... (cached) yes checking if large file support can be enabled... yes checking whether to support ACLs... no checking whether to check for support sendfile... no checking whether to build winbind... yes checking whether to enable winbind auth challenge/response code... no checking whether to enable winbind ldap hack... no checking whether or not getgroups returns EGID too many times... (cached) no checking whether struct passwd has pw_comment... (cached) no checking whether struct passwd has pw_age... (cached) no checking for poptGetContext in -lpopt... (cached) no checking whether to use included popt... ./popt checking configure summary... Checking configure summary... Configure: error: summary failure. Aborting config What is going wrong ? Regards, Philippe Dhont
Philippe, Please put yourself in the shoes of someone who wants to answer you. You do not give ANY hint as to what OS platform this is on. You give a lengthy output from configure, instead of cutting this down to a meaningful snapshot. What sort of answer do you expect? We do try to help. More information would help. - John T. On Mon, 2 Jun 2003, Philippe Dhont (Sea-ro) wrote:> Hi, > It is since a while on different distributions that i can't compile samba > --with-pam > I download 2.2.8a > ./configure --with-pam > And i always get: > 1)config.log > 2)screen dump > > > > 1) this is the config.log file > > > This file contains any messages produced by compilers while > running configure, to aid debugging if configure makes a mistake. > configure:814: checking for gcc > configure:927: checking whether the C compiler (gcc -O ) works > configure:943: gcc -o conftest -O conftest.c 1>&5 > configure:969: checking whether the C compiler (gcc -O ) is a > cross-compiler > configure:974: checking whether we are using GNU C > configure:1002: checking whether gcc accepts -g > configure:1064: checking for a BSD compatible install > configure:1121: checking for gawk > configure:1152: checking if the linker (ld) is GNU ld > configure:1169: checking for passwd > configure:1206: checking whether gcc and cc understand -c and -o together > configure:1264: checking that the C compiler understands volatile > configure:1327: checking host system type > configure:1348: checking target system type > configure:1366: checking build system type > configure:1400: checking config.cache system type > configure:1665: checking for LFS support > configure:1710: gcc -o conftest -O -D_LARGEFILE64_SOURCE > -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c 1>&5 > configure:1792: checking for inline > configure:1832: checking how to run the C preprocessor > configure:1912: checking for ANSI C header files > configure:2020: checking for dirent.h that defines DIR > configure:2058: checking for opendir in -ldir > configure:2141: checking whether time.h and sys/time.h may both be included > configure:2176: checking for sys/wait.h that is POSIX.1 compatible > configure:2221: checking for arpa/inet.h > configure:2221: checking for sys/fcntl.h > configure:2221: checking for sys/select.h > configure:2221: checking for fcntl.h > configure:2221: checking for sys/time.h > configure:2221: checking for sys/unistd.h > configure:2261: checking for unistd.h > configure:2261: checking for utime.h > configure:2261: checking for grp.h > configure:2261: checking for sys/id.h > configure:2261: checking for limits.h > configure:2261: checking for memory.h > configure:2261: checking for net/if.h > configure:2301: checking for compat.h > configure:2301: checking for rpc/rpc.h > configure:2301: checking for rpcsvc/nis.h > configure:2301: checking for rpcsvc/yp_prot.h > configure:2301: checking for rpcsvc/ypclnt.h > configure:2341: checking for stdlib.h > configure:2341: checking for string.h > configure:2341: checking for strings.h > configure:2341: checking for syslog.h > configure:2341: checking for sys/file.h > configure:2381: checking for sys/param.h > configure:2381: checking for ctype.h > configure:2381: checking for sys/wait.h > configure:2381: checking for sys/resource.h > configure:2381: checking for sys/ioctl.h > configure:2381: checking for sys/ipc.h > configure:2381: checking for sys/mode.h > configure:2421: checking for sys/mman.h > configure:2421: checking for sys/filio.h > configure:2421: checking for sys/priv.h > configure:2421: checking for sys/shm.h > configure:2421: checking for sys/socket.h > configure:2461: checking for syslog.h > configure:2461: checking for sys/syslog.h > configure:2461: checking for sys/mount.h > configure:2461: checking for sys/vfs.h > configure:2461: checking for sys/fs/s5param.h > configure:2461: checking for sys/filsys.h > configure:2461: checking for termios.h > configure:2461: checking for termio.h > configure:2501: checking for sys/termio.h > configure:2501: checking for sys/statfs.h > configure:2501: checking for sys/dustat.h > configure:2501: checking for sys/statvfs.h > configure:2501: checking for stdarg.h > configure:2501: checking for sys/sockio.h > configure:2541: checking for security/pam_modules.h > configure:2541: checking for security/_pam_macros.h > configure:2541: checking for dlfcn.h > configure:2541: checking for synch.h > configure:2541: checking for pthread.h > configure:2541: checking for nsswitch.h > configure:2614: checking for shadow.h > configure:2614: checking for netinet/ip.h > configure:2614: checking for netinet/tcp.h > configure:2614: checking for netinet/in_systm.h > configure:2614: checking for netinet/in_ip.h > configure:2654: checking for nss.h > configure:2654: checking for nss_common.h > configure:2654: checking for ns_api.h > configure:2654: checking for sys/security.h > configure:2654: checking for security/pam_appl.h > configure:2654: checking for security/pam_modules.h > configure:2694: checking for stropts.h > configure:2694: checking for poll.h > configure:2734: checking for sys/capability.h > configure:2734: checking for syscall.h > configure:2734: checking for sys/syscall.h > configure:2774: checking for sys/acl.h > configure:2774: checking for sys/cdefs.h > configure:2774: checking for glob.h > configure:2816: checking for utmp.h > configure:2816: checking for utmpx.h > configure:2816: checking for lastlog.h > configure:2858: checking for sys/fs/vx_quota.h > configure:2900: checking for linux/xqm.h > configure:2938: checking size of int > configure:2977: checking size of long > configure:3016: checking size of short > configure:3056: checking for working const > configure:3131: checking for inline > configure:3171: checking whether byte ordering is bigendian > configure:3261: checking whether char is unsigned > configure:3325: checking return type of signal handlers > configure:3366: checking for uid_t in sys/types.h > configure:3400: checking for mode_t > configure:3433: checking for off_t > configure:3466: checking for size_t > configure:3499: checking for pid_t > configure:3532: checking for st_rdev in struct stat > configure:3566: checking for d_off in dirent > configure:3602: checking for ino_t > configure:3635: checking for loff_t > configure:3668: checking for offset_t > configure:3701: checking for ssize_t > configure:3734: checking for wchar_t > configure:3781: checking for cups-config > configure:3830: checking for dlopen > configure:3884: checking for dlopen in -ldl > configure:3933: checking for immediate structures > configure:3980: checking for unix domain sockets > configure:4022: checking for socklen_t type > configure:4062: checking for sig_atomic_t type > configure:4104: checking for errno declaration > configure:4139: checking for setresuid declaration > configure:4174: checking for setresgid declaration > configure:4209: checking for asprintf declaration > configure:4244: checking for vasprintf declaration > configure:4279: checking for vsnprintf declaration > configure:4314: checking for snprintf declaration > configure:4351: checking for real setresuid > configure:4390: checking for real setresgid > configure:4428: checking for 8-bit clean memcmp > configure:4470: checking whether to use readline > configure:4482: checking for readline.h > configure:4482: checking for history.h > configure:4482: checking for readline/readline.h > configure:4522: checking for readline/history.h > configure:4563: checking for readline.h > configure:4563: checking for readline/readline.h > configure:4936: checking for connect > configure:5205: checking for yp_get_default_domain > configure:5259: checking for yp_get_default_domain in -lnsl > configure:5308: checking for execl > configure:5369: checking for dlopen > configure:5369: checking for dlclose > configure:5369: checking for dlsym > configure:5369: checking for dlerror > configure:5369: checking for waitpid > configure:5369: checking for getcwd > configure:5369: checking for strdup > configure:5369: checking for strndup > configure:5369: checking for strnlen > configure:5369: checking for strtoul > configure:5369: checking for strerror > configure:5369: checking for chown > configure:5369: checking for fchown > configure:5369: checking for chmod > configure:5369: checking for fchmod > configure:5369: checking for chroot > configure:5369: checking for link > configure:5424: checking for fstat > configure:5424: checking for strchr > configure:5424: checking for utime > configure:5424: checking for utimes > configure:5424: checking for getrlimit > configure:5424: checking for fsync > configure:5424: checking for bzero > configure:5424: checking for memset > configure:5424: checking for strlcpy > configure:5424: checking for strlcat > configure:5424: checking for setpgid > configure:5424: checking for mknod > configure:5424: checking for mknod64 > configure:5479: checking for memmove > configure:5479: checking for vsnprintf > configure:5479: checking for snprintf > configure:5479: checking for asprintf > configure:5479: checking for vasprintf > configure:5479: checking for setsid > configure:5479: checking for glob > configure:5479: checking for strpbrk > configure:5479: checking for pipe > configure:5479: checking for crypt16 > configure:5479: checking for getauthuid > configure:5534: checking for strftime > configure:5534: checking for sigprocmask > configure:5534: checking for sigblock > configure:5534: checking for sigaction > configure:5534: checking for sigset > configure:5534: checking for innetgr > configure:5534: checking for setnetgrent > configure:5534: checking for getnetgrent > configure:5534: checking for endnetgrent > configure:5589: checking for initgroups > configure:5589: checking for select > configure:5589: checking for poll > configure:5589: checking for rdchk > configure:5589: checking for getgrnam > configure:5589: checking for getgrent > configure:5589: checking for pathconf > configure:5589: checking for realpath > configure:5644: checking for setpriv > configure:5644: checking for setgidx > configure:5644: checking for setuidx > configure:5644: checking for setgroups > configure:5644: checking for sysconf > configure:5644: checking for mktime > configure:5644: checking for rename > configure:5644: checking for ftruncate > configure:5644: checking for stat64 > configure:5644: checking for fstat64 > configure:5699: checking for lstat64 > configure:5699: checking for fopen64 > configure:5699: checking for atexit > configure:5699: checking for grantpt > configure:5699: checking for dup2 > configure:5699: checking for lseek64 > configure:5699: checking for ftruncate64 > configure:5699: checking for readdir64 > configure:5754: checking for fseek64 > configure:5754: checking for fseeko64 > configure:5754: checking for ftell64 > configure:5754: checking for ftello64 > configure:5754: checking for setluid > configure:5754: checking for getpwanam > configure:5754: checking for setlinebuf > configure:5809: checking for srandom > configure:5809: checking for random > configure:5809: checking for srand > configure:5809: checking for rand > configure:5809: checking for setenv > configure:5809: checking for usleep > configure:5809: checking for strcasecmp > configure:5809: checking for fcvt > configure:5809: checking for fcvtl > configure:5809: checking for symlink > configure:5809: checking for readlink > configure:5864: checking for syslog > configure:5864: checking for vsyslog > configure:5921: checking for syscall > configure:5977: checking for _dup > configure:5977: checking for _dup2 > configure:5977: checking for _opendir > configure:5977: checking for _readdir > configure:5977: checking for _seekdir > configure:5977: checking for _telldir > configure:5977: checking for _closedir > configure:6032: checking for __dup > configure:6032: checking for __dup2 > configure:6032: checking for __opendir > configure:6032: checking for __readdir > configure:6032: checking for __seekdir > configure:6032: checking for __telldir > configure:6032: checking for __closedir > configure:6087: checking for __getcwd > configure:6087: checking for _getcwd > configure:6142: checking for __xstat > configure:6142: checking for __fxstat > configure:6142: checking for __lxstat > configure:6197: checking for _stat > configure:6197: checking for _lstat > configure:6197: checking for _fstat > configure:6197: checking for __stat > configure:6197: checking for __lstat > configure:6197: checking for __fstat > configure:6252: checking for _acl > configure:6252: checking for __acl > configure:6252: checking for _facl > configure:6252: checking for __facl > configure:6252: checking for _open > configure:6252: checking for __open > configure:6252: checking for _chdir > configure:6252: checking for __chdir > configure:6307: checking for _close > configure:6307: checking for __close > configure:6307: checking for _fchdir > configure:6307: checking for __fchdir > configure:6307: checking for _fcntl > configure:6307: checking for __fcntl > configure:6362: checking for getdents > configure:6362: checking for _getdents > configure:6362: checking for __getdents > configure:6362: checking for _lseek > configure:6362: checking for __lseek > configure:6362: checking for _read > configure:6362: checking for __read > configure:6417: checking for _write > configure:6417: checking for __write > configure:6417: checking for _fork > configure:6417: checking for __fork > configure:6472: checking for _stat64 > configure:6472: checking for __stat64 > configure:6472: checking for _fstat64 > configure:6472: checking for __fstat64 > configure:6472: checking for _lstat64 > configure:6472: checking for __lstat64 > configure:6527: checking for __sys_llseek > configure:6527: checking for llseek > configure:6527: checking for _llseek > configure:6527: checking for __llseek > configure:6527: checking for readdir64 > configure:6527: checking for _readdir64 > configure:6527: checking for __readdir64 > configure:6582: checking for pread > configure:6582: checking for _pread > configure:6582: checking for __pread > configure:6582: checking for pread64 > configure:6582: checking for _pread64 > configure:6582: checking for __pread64 > configure:6637: checking for pwrite > configure:6637: checking for _pwrite > configure:6637: checking for __pwrite > configure:6637: checking for pwrite64 > configure:6637: checking for _pwrite64 > configure:6637: checking for __pwrite64 > configure:6692: checking for open64 > configure:6692: checking for _open64 > configure:6692: checking for __open64 > configure:6692: checking for creat64 > configure:6964: checking for putprpwnam in -lsecurity > configure:7013: checking for putprpwnam > configure:7125: checking for putprpwnam in -lsec > configure:7174: checking for putprpwnam > configure:7287: checking for set_auth_parameters in -lsecurity > configure:7336: checking for set_auth_parameters > configure:7448: checking for set_auth_parameters in -lsec > configure:7497: checking for set_auth_parameters > configure:7611: checking for getspnam in -lgen > configure:7660: checking for getspnam > configure:7773: checking for getspnam in -lsecurity > configure:7822: checking for getspnam > configure:7934: checking for getspnam in -lsec > configure:7983: checking for getspnam > configure:8096: checking for bigcrypt in -lsecurity > configure:8145: checking for bigcrypt > configure:8257: checking for bigcrypt in -lsec > configure:8306: checking for bigcrypt > configure:8419: checking for getprpwnam in -lsecurity > configure:8468: checking for getprpwnam > configure:8580: checking for getprpwnam in -lsec > configure:8629: checking for getprpwnam > configure:8700: checking ability to build shared libraries > configure:8977: checking linker flags for shared libraries > configure:8980: checking compiler flags for position-independent code > configure:9051: checking for long long > configure:9092: checking for LL suffix on long long integers > configure:9127: checking for 64 bit off_t > configure:9165: checking for off64_t > configure:9207: checking for 64 bit ino_t > configure:9245: checking for ino64_t > configure:9287: checking for dev64_t > configure:9329: checking for struct dirent64 > configure:9368: checking for major macro > configure:9409: checking for minor macro > configure:9450: checking for makedev macro > configure:9491: checking for unsigned char > configure:9528: checking for sin_len in sock > configure:9564: checking whether seekdir returns void > configure:9600: checking for __FILE__ macro > configure:9634: checking for __FUNCTION__ macro > configure:9668: checking if gettimeofday takes tz argument > configure:9707: checking for __va_copy > configure:9742: checking for C99 vsnprintf > configure:9801: checking for broken readdir > configure:9841: checking for utimbuf > configure:9879: checking for pututline > configure:9879: checking for pututxline > configure:9879: checking for updwtmp > configure:9879: checking for updwtmpx > configure:9879: checking for getutmpx > configure:9933: checking for ut_name in utmp > configure:9968: checking for ut_user in utmp > configure:10003: checking for ut_id in utmp > configure:10038: checking for ut_host in utmp > configure:10073: checking for ut_time in utmp > configure:10108: checking for ut_tv in utmp > configure:10143: checking for ut_type in utmp > configure:10178: checking for ut_pid in utmp > configure:10213: checking for ut_exit in utmp > configure:10248: checking for ut_addr in utmp > configure:10284: checking whether pututline returns pointer > configure:10320: checking for ut_syslen in utmpx > configure:10355: checking for Linux kernel oplocks > configure:10401: checking for kernel change notify support > configure:10447: checking for kernel share modes > configure:10498: checking for IRIX kernel oplock type definitions > configure:10533: checking for irix specific capabilities > configure:10585: checking for int16 typedef included by rpc/rpc.h > configure:10622: checking for uint16 typedef included by rpc/rpc.h > configure:10659: checking for int32 typedef included by rpc/rpc.h > configure:10696: checking for uint32 typedef included by rpc/rpc.h > configure:10734: checking for conflicting AUTH_ERROR define in rpc/rpc.h > configure:10775: checking for test routines > configure:10784: gcc -o conftest -O -D_LARGEFILE64_SOURCE > -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c -ldl -lnsl 1>&5 > configure:10798: checking for ftruncate extend > configure:10834: checking for broken getgroups > configure:10870: checking whether getpass should be replaced > configure:10914: checking for broken inet_ntoa > configure:10960: checking for secure mkstemp > configure:11009: checking for sysconf(_SC_NGROUPS_MAX) > configure:11046: checking for root > configure:11087: checking for iface AIX > configure:11128: checking for iface ifconf > configure:11216: checking for setresuid > configure:11385: checking for working mmap > configure:11421: checking for ftruncate needs root > configure:11457: checking for fcntl locking > configure:11493: checking for broken (glibc2.1/x86) 64 bit fcntl locking > configure:11531: checking for 64 bit fcntl locking > configure:11589: checking for st_blocks in struct stat > configure:11625: checking for st_blksize in struct stat > configure:11663: checking for broken RedHat 7.2 system header files > configure:11706: checking for broken nisplus include files > configure:11746: checking whether to use smbwrapper > configure:11793: checking whether to use AFS > configure:11819: checking whether to use DCE/DFS auth > configure:11844: checking whether to use Kerberos IV > configure:11919: checking whether to use Kerberos 5 > configure:11947: checking whether to use AUTOMOUNT > configure:11972: checking whether to use SMBMOUNT > configure:12009: checking whether to use PAM password database > configure:12035: checking for pam_get_data in -lpam > configure:12081: checking whether to use pam_smbpass > configure:12282: checking whether to use TDB SAM database > configure:12308: checking whether to use LDAP SAM database > configure:12479: checking whether to use NISPLUS SAM database > configure:12507: checking whether to use traditional smbpasswd file > configure:12529: checking whether to use NISPLUS_HOME > configure:12554: checking whether to use SSL > configure:12628: checking whether to use syslog logging > configure:12653: checking whether to use profiling > configure:12681: checking whether to support disk-quotas > configure:12705: checking whether to support utmp accounting > configure:12731: checking whether to support Microsoft Dfs > configure:12761: checking whether to build the libsmbclient shared library > configure:12791: checking how to get filesystem space usage > configure:12798: checking statvfs64 function (SVR4) > configure:13150: checking if large file support can be enabled > configure:13165: gcc -c -O -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 > -D_GNU_SOURCE conftest.c 1>&5 > configure:13232: checking whether to support ACLs > configure:13433: checking whether to check for support sendfile > configure:13925: checking whether to build winbind > configure:13985: checking whether to enable winbind auth challenge/response > code > configure:14031: checking whether to enable winbind ldap hack > configure:14069: checking whether or not getgroups returns EGID too many > times > configure:14134: checking whether struct passwd has pw_comment > configure:14172: checking whether struct passwd has pw_age > configure:14224: checking for poptGetContext in -lpopt > configure:14267: checking whether to use included popt > configure:14282: checking configure summary > configure:14291: gcc -o conftest -O -D_LARGEFILE64_SOURCE > -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c -ldl -lnsl -lpam 1>&5 > /usr/bin/ld: cannot find -lpam > collect2: ld returned 1 exit status > configure: failed program was: > #line 14287 "configure" > #include "confdefs.h" > #include "./tests/summary.c" > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > 2) this is what i get on the screen: > > loading cache ./config.cache > checking for gcc... (cached) 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... (cached) yes > checking whether gcc accepts -g... (cached) yes > checking for a BSD compatible install... (cached) /usr/bin/install -c > checking for gawk... (cached) mawk > checking if the linker (ld) is GNU ld... (cached) yes > checking for passwd... (cached) /usr/bin/passwd > checking whether gcc and cc understand -c and -o together... (cached) yes > checking that the C compiler understands volatile... (cached) 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... (cached) inline > checking how to run the C preprocessor... (cached) gcc -E > checking for ANSI C header files... (cached) yes > checking for dirent.h that defines DIR... (cached) yes > checking for opendir in -ldir... (cached) no > checking whether time.h and sys/time.h may both be included... (cached) yes > checking for sys/wait.h that is POSIX.1 compatible... (cached) yes > checking for arpa/inet.h... (cached) yes > checking for sys/fcntl.h... (cached) yes > checking for sys/select.h... (cached) yes > checking for fcntl.h... (cached) yes > checking for sys/time.h... (cached) yes > checking for sys/unistd.h... (cached) yes > checking for unistd.h... (cached) yes > checking for utime.h... (cached) yes > checking for grp.h... (cached) yes > checking for sys/id.h... (cached) no > checking for limits.h... (cached) yes > checking for memory.h... (cached) yes > checking for net/if.h... (cached) yes > checking for compat.h... (cached) no > checking for rpc/rpc.h... (cached) yes > checking for rpcsvc/nis.h... (cached) yes > checking for rpcsvc/yp_prot.h... (cached) yes > checking for rpcsvc/ypclnt.h... (cached) yes > checking for stdlib.h... (cached) yes > checking for string.h... (cached) yes > checking for strings.h... (cached) yes > checking for syslog.h... (cached) yes > checking for sys/file.h... (cached) yes > checking for sys/param.h... (cached) yes > checking for ctype.h... (cached) yes > checking for sys/wait.h... (cached) yes > checking for sys/resource.h... (cached) yes > checking for sys/ioctl.h... (cached) yes > checking for sys/ipc.h... (cached) yes > checking for sys/mode.h... (cached) no > checking for sys/mman.h... (cached) yes > checking for sys/filio.h... (cached) no > checking for sys/priv.h... (cached) no > checking for sys/shm.h... (cached) yes > checking for sys/socket.h... (cached) yes > checking for syslog.h... (cached) yes > checking for sys/syslog.h... (cached) yes > checking for sys/mount.h... (cached) yes > checking for sys/vfs.h... (cached) yes > checking for sys/fs/s5param.h... (cached) no > checking for sys/filsys.h... (cached) no > checking for termios.h... (cached) yes > checking for termio.h... (cached) yes > checking for sys/termio.h... (cached) no > checking for sys/statfs.h... (cached) yes > checking for sys/dustat.h... (cached) no > checking for sys/statvfs.h... (cached) yes > checking for stdarg.h... (cached) yes > checking for sys/sockio.h... (cached) no > checking for security/pam_modules.h... (cached) no > checking for security/_pam_macros.h... (cached) no > checking for dlfcn.h... (cached) yes > checking for synch.h... (cached) no > checking for pthread.h... (cached) yes > checking for nsswitch.h... (cached) no > checking for shadow.h... (cached) yes > checking for netinet/ip.h... (cached) yes > checking for netinet/tcp.h... (cached) yes > checking for netinet/in_systm.h... (cached) yes > checking for netinet/in_ip.h... (cached) no > checking for nss.h... (cached) yes > checking for nss_common.h... (cached) no > checking for ns_api.h... (cached) no > checking for sys/security.h... (cached) no > checking for security/pam_appl.h... (cached) no > checking for security/pam_modules.h... (cached) no > checking for stropts.h... (cached) yes > checking for poll.h... (cached) yes > checking for sys/capability.h... (cached) no > checking for syscall.h... (cached) yes > checking for sys/syscall.h... (cached) yes > checking for sys/acl.h... (cached) no > checking for sys/cdefs.h... (cached) yes > checking for glob.h... (cached) yes > checking for utmp.h... (cached) yes > checking for utmpx.h... (cached) yes > checking for lastlog.h... (cached) yes > checking for sys/fs/vx_quota.h... (cached) no > checking for linux/xqm.h... (cached) no > checking size of int... (cached) 4 > checking size of long... (cached) 4 > checking size of short... (cached) 2 > checking for working const... (cached) yes > checking for inline... (cached) inline > checking whether byte ordering is bigendian... (cached) no > checking whether char is unsigned... (cached) no > checking return type of signal handlers... (cached) void > checking for uid_t in sys/types.h... (cached) yes > checking for mode_t... (cached) yes > checking for off_t... (cached) yes > checking for size_t... (cached) yes > checking for pid_t... (cached) yes > checking for st_rdev in struct stat... (cached) yes > checking for d_off in dirent... (cached) yes > checking for ino_t... (cached) yes > checking for loff_t... (cached) yes > checking for offset_t... (cached) no > checking for ssize_t... (cached) yes > checking for wchar_t... (cached) yes > checking for cups-config... no > checking for dlopen... (cached) no > checking for dlopen in -ldl... (cached) yes > checking for immediate structures... (cached) yes > checking for unix domain sockets... (cached) yes > checking for socklen_t type... (cached) yes > checking for sig_atomic_t type... (cached) yes > checking for errno declaration... (cached) yes > checking for setresuid declaration... (cached) no > checking for setresgid declaration... (cached) no > checking for asprintf declaration... (cached) yes > checking for vasprintf declaration... (cached) yes > checking for vsnprintf declaration... (cached) yes > checking for snprintf declaration... (cached) yes > checking for real setresuid... (cached) yes > checking for real setresgid... (cached) yes > checking for 8-bit clean memcmp... (cached) yes > checking whether to use readline... yes > checking for readline.h... (cached) no > checking for history.h... (cached) no > checking for readline/readline.h... (cached) no > checking for readline/history.h... (cached) no > checking for readline.h... (cached) no > checking for readline/readline.h... (cached) no > checking for connect... (cached) yes > checking for yp_get_default_domain... (cached) no > checking for yp_get_default_domain in -lnsl... (cached) yes > checking for execl... (cached) yes > checking for dlopen... (cached) no > checking for dlclose... (cached) yes > checking for dlsym... (cached) yes > checking for dlerror... (cached) yes > checking for waitpid... (cached) yes > checking for getcwd... (cached) yes > checking for strdup... (cached) yes > checking for strndup... (cached) yes > checking for strnlen... (cached) yes > checking for strtoul... (cached) yes > checking for strerror... (cached) yes > checking for chown... (cached) yes > checking for fchown... (cached) yes > checking for chmod... (cached) yes > checking for fchmod... (cached) yes > checking for chroot... (cached) yes > checking for link... (cached) yes > checking for fstat... (cached) yes > checking for strchr... (cached) yes > checking for utime... (cached) yes > checking for utimes... (cached) yes > checking for getrlimit... (cached) yes > checking for fsync... (cached) yes > checking for bzero... (cached) yes > checking for memset... (cached) yes > checking for strlcpy... (cached) no > checking for strlcat... (cached) no > checking for setpgid... (cached) yes > checking for mknod... (cached) yes > checking for mknod64... (cached) no > checking for memmove... (cached) yes > checking for vsnprintf... (cached) yes > checking for snprintf... (cached) yes > checking for asprintf... (cached) yes > checking for vasprintf... (cached) yes > checking for setsid... (cached) yes > checking for glob... (cached) yes > checking for strpbrk... (cached) yes > checking for pipe... (cached) yes > checking for crypt16... (cached) no > checking for getauthuid... (cached) no > checking for strftime... (cached) yes > checking for sigprocmask... (cached) yes > checking for sigblock... (cached) yes > checking for sigaction... (cached) yes > checking for sigset... (cached) yes > checking for innetgr... (cached) yes > checking for setnetgrent... (cached) yes > checking for getnetgrent... (cached) yes > checking for endnetgrent... (cached) yes > checking for initgroups... (cached) yes > checking for select... (cached) yes > checking for poll... (cached) yes > checking for rdchk... (cached) no > checking for getgrnam... (cached) yes > checking for getgrent... (cached) yes > checking for pathconf... (cached) yes > checking for realpath... (cached) yes > checking for setpriv... (cached) no > checking for setgidx... (cached) no > checking for setuidx... (cached) no > checking for setgroups... (cached) yes > checking for sysconf... (cached) yes > checking for mktime... (cached) yes > checking for rename... (cached) yes > checking for ftruncate... (cached) yes > checking for stat64... (cached) yes > checking for fstat64... (cached) yes > checking for lstat64... (cached) yes > checking for fopen64... (cached) yes > checking for atexit... (cached) yes > checking for grantpt... (cached) yes > checking for dup2... (cached) yes > checking for lseek64... (cached) yes > checking for ftruncate64... (cached) yes > checking for readdir64... (cached) yes > checking for fseek64... (cached) no > checking for fseeko64... (cached) yes > checking for ftell64... (cached) no > checking for ftello64... (cached) yes > checking for setluid... (cached) no > checking for getpwanam... (cached) no > checking for setlinebuf... (cached) yes > checking for srandom... (cached) yes > checking for random... (cached) yes > checking for srand... (cached) yes > checking for rand... (cached) yes > checking for setenv... (cached) yes > checking for usleep... (cached) yes > checking for strcasecmp... (cached) yes > checking for fcvt... (cached) yes > checking for fcvtl... (cached) no > checking for symlink... (cached) yes > checking for readlink... (cached) yes > checking for syslog... (cached) yes > checking for vsyslog... (cached) yes > checking for syscall... (cached) yes > checking for _dup... (cached) no > checking for _dup2... (cached) no > checking for _opendir... (cached) no > checking for _readdir... (cached) no > checking for _seekdir... (cached) no > checking for _telldir... (cached) no > checking for _closedir... (cached) no > checking for __dup... (cached) no > checking for __dup2... (cached) yes > checking for __opendir... (cached) no > checking for __readdir... (cached) no > checking for __seekdir... (cached) no > checking for __telldir... (cached) no > checking for __closedir... (cached) no > checking for __getcwd... (cached) no > checking for _getcwd... (cached) no > checking for __xstat... (cached) yes > checking for __fxstat... (cached) yes > checking for __lxstat... (cached) yes > checking for _stat... (cached) no > checking for _lstat... (cached) no > checking for _fstat... (cached) no > checking for __stat... (cached) yes > checking for __lstat... (cached) yes > checking for __fstat... (cached) yes > checking for _acl... (cached) no > checking for __acl... (cached) no > checking for _facl... (cached) no > checking for __facl... (cached) no > checking for _open... (cached) no > checking for __open... (cached) yes > checking for _chdir... (cached) no > checking for __chdir... (cached) no > checking for _close... (cached) no > checking for __close... (cached) yes > checking for _fchdir... (cached) no > checking for __fchdir... (cached) no > checking for _fcntl... (cached) no > checking for __fcntl... (cached) yes > checking for getdents... (cached) no > checking for _getdents... (cached) no > checking for __getdents... (cached) no > checking for _lseek... (cached) no > checking for __lseek... (cached) yes > checking for _read... (cached) no > checking for __read... (cached) yes > checking for _write... (cached) no > checking for __write... (cached) yes > checking for _fork... (cached) no > checking for __fork... (cached) yes > checking for _stat64... (cached) no > checking for __stat64... (cached) no > checking for _fstat64... (cached) no > checking for __fstat64... (cached) no > checking for _lstat64... (cached) no > checking for __lstat64... (cached) no > checking for __sys_llseek... (cached) no > checking for llseek... (cached) yes > checking for _llseek... (cached) no > checking for __llseek... (cached) no > checking for readdir64... (cached) yes > checking for _readdir64... (cached) no > checking for __readdir64... (cached) no > checking for pread... (cached) yes > checking for _pread... (cached) no > checking for __pread... (cached) no > checking for pread64... (cached) yes > checking for _pread64... (cached) no > checking for __pread64... (cached) yes > checking for pwrite... (cached) yes > checking for _pwrite... (cached) no > checking for __pwrite... (cached) no > checking for pwrite64... (cached) yes > checking for _pwrite64... (cached) no > checking for __pwrite64... (cached) yes > checking for open64... (cached) yes > checking for _open64... (cached) no > checking for __open64... (cached) yes > checking for creat64... (cached) yes > checking for putprpwnam in -lsecurity... (cached) no > checking for putprpwnam... (cached) no > checking for putprpwnam in -lsec... (cached) no > checking for putprpwnam... (cached) no > checking for set_auth_parameters in -lsecurity... (cached) no > checking for set_auth_parameters... (cached) no > checking for set_auth_parameters in -lsec... (cached) no > checking for set_auth_parameters... (cached) no > checking for getspnam in -lgen... (cached) no > checking for getspnam... (cached) yes > checking for getspnam in -lsecurity... (cached) no > checking for getspnam... (cached) yes > checking for getspnam in -lsec... (cached) no > checking for getspnam... (cached) yes > checking for bigcrypt in -lsecurity... (cached) no > checking for bigcrypt... (cached) no > checking for bigcrypt in -lsec... (cached) no > checking for bigcrypt... (cached) no > checking for getprpwnam in -lsecurity... (cached) no > checking for getprpwnam... (cached) no > checking for getprpwnam in -lsec... (cached) 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... (cached) yes > checking for LL suffix on long long integers... (cached) yes > checking for 64 bit off_t... (cached) yes > checking for off64_t... (cached) no > checking for 64 bit ino_t... (cached) yes > checking for ino64_t... (cached) no > checking for dev64_t... (cached) no > checking for struct dirent64... (cached) yes > checking for major macro... (cached) yes > checking for minor macro... (cached) yes > checking for makedev macro... (cached) yes > checking for unsigned char... (cached) no > checking for sin_len in sock... (cached) no > checking whether seekdir returns void... (cached) yes > checking for __FILE__ macro... (cached) yes > checking for __FUNCTION__ macro... (cached) yes > checking if gettimeofday takes tz argument... (cached) yes > checking for __va_copy... (cached) yes > checking for C99 vsnprintf... (cached) yes > checking for broken readdir... (cached) no > checking for utimbuf... (cached) yes > checking for pututline... (cached) yes > checking for pututxline... (cached) yes > checking for updwtmp... (cached) yes > checking for updwtmpx... (cached) yes > checking for getutmpx... (cached) yes > checking for ut_name in utmp... (cached) yes > checking for ut_user in utmp... (cached) yes > checking for ut_id in utmp... (cached) yes > checking for ut_host in utmp... (cached) yes > checking for ut_time in utmp... (cached) yes > checking for ut_tv in utmp... (cached) yes > checking for ut_type in utmp... (cached) yes > checking for ut_pid in utmp... (cached) yes > checking for ut_exit in utmp... (cached) yes > checking for ut_addr in utmp... (cached) yes > checking whether pututline returns pointer... (cached) yes > checking for ut_syslen in utmpx... (cached) no > checking for Linux kernel oplocks... (cached) yes > checking for kernel change notify support... (cached) yes > checking for kernel share modes... (cached) yes > checking for IRIX kernel oplock type definitions... (cached) no > checking for irix specific capabilities... (cached) no > checking for int16 typedef included by rpc/rpc.h... (cached) no > checking for uint16 typedef included by rpc/rpc.h... (cached) no > checking for int32 typedef included by rpc/rpc.h... (cached) no > checking for uint32 typedef included by rpc/rpc.h... (cached) no > checking for conflicting AUTH_ERROR define in rpc/rpc.h... (cached) no > checking for test routines... yes > checking for ftruncate extend... (cached) yes > checking for broken getgroups... (cached) no > checking whether getpass should be replaced... (cached) yes > checking for broken inet_ntoa... (cached) no > checking for secure mkstemp... (cached) yes > checking for sysconf(_SC_NGROUPS_MAX)... (cached) yes > checking for root... (cached) yes > checking for iface AIX... (cached) no > checking for iface ifconf... (cached) yes > checking for setresuid... (cached) yes > checking for working mmap... (cached) yes > checking for ftruncate needs root... (cached) no > checking for fcntl locking... (cached) yes > checking for broken (glibc2.1/x86) 64 bit fcntl locking... (cached) no > checking for 64 bit fcntl locking... (cached) yes > checking for st_blocks in struct stat... (cached) yes > checking for st_blksize in struct stat... (cached) yes > checking for broken RedHat 7.2 system header files... (cached) no > checking for broken nisplus include files... (cached) yes > checking whether to use smbwrapper... no > checking whether to use AFS... no > checking whether to use DCE/DFS auth... no > checking whether to use Kerberos IV... no > checking whether to use Kerberos 5... no > checking whether to use AUTOMOUNT... no > checking whether to use SMBMOUNT... no > checking whether to use PAM password database... yes > checking for pam_get_data in -lpam... (cached) no > checking whether to use pam_smbpass... no > checking whether to use TDB SAM database... no > checking whether to use LDAP SAM database... no > checking whether to use NISPLUS SAM database... no > checking whether to use traditional smbpasswd file... yes > checking whether to use NISPLUS_HOME... no > checking whether to use SSL... no > checking whether to use syslog logging... no > checking whether to use profiling... no > checking whether to support disk-quotas... no > checking whether to support utmp accounting... no > checking whether to support Microsoft Dfs... no > checking whether to build the libsmbclient shared library... no > checking how to get filesystem space usage > checking statvfs64 function (SVR4)... (cached) yes > checking if large file support can be enabled... yes > checking whether to support ACLs... no > checking whether to check for support sendfile... no > checking whether to build winbind... yes > checking whether to enable winbind auth challenge/response code... no > checking whether to enable winbind ldap hack... no > checking whether or not getgroups returns EGID too many times... (cached) no > checking whether struct passwd has pw_comment... (cached) no > checking whether struct passwd has pw_age... (cached) no > checking for poptGetContext in -lpopt... (cached) no > checking whether to use included popt... ./popt > checking configure summary... > Checking configure summary... Configure: error: summary failure. Aborting > config > > > What is going wrong ? > Regards, > > > Philippe Dhont > > > > > > >-- John H Terpstra Email: jht@samba.org
Hi Phil if you compile any sorce you need have install all necesary development pack (devel rpm) config script say> /usr/bin/ld: cannot find -lpam > collect2: ld returned 1 exit status > configure: failed program was:that say not have pam-devel installed. Bye. ----- Original Message ----- From: "Philippe Dhont (Sea-ro)" <Philippe.Dhont@searo.be> To: <samba@lists.samba.org> Sent: Monday, June 02, 2003 3:30 PM Subject: [Samba] ./configure --with-pam fails allways> Hi, > It is since a while on different distributions that i can't compile samba > --with-pam > I download 2.2.8a > ./configure --with-pam > And i always get: > 1)config.log > 2)screen dump > > > > 1) this is the config.log file > > > This file contains any messages produced by compilers while > running configure, to aid debugging if configure makes a mistake. > configure:814: checking for gcc > configure:927: checking whether the C compiler (gcc -O ) works > configure:943: gcc -o conftest -O conftest.c 1>&5 > configure:969: checking whether the C compiler (gcc -O ) is a > cross-compiler > configure:974: checking whether we are using GNU C > configure:1002: checking whether gcc accepts -g > configure:1064: checking for a BSD compatible install > configure:1121: checking for gawk > configure:1152: checking if the linker (ld) is GNU ld > configure:1169: checking for passwd > configure:1206: checking whether gcc and cc understand -c and -o together > configure:1264: checking that the C compiler understands volatile > configure:1327: checking host system type > configure:1348: checking target system type > configure:1366: checking build system type > configure:1400: checking config.cache system type > configure:1665: checking for LFS support > configure:1710: gcc -o conftest -O -D_LARGEFILE64_SOURCE > -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c 1>&5 > configure:1792: checking for inline > configure:1832: checking how to run the C preprocessor > configure:1912: checking for ANSI C header files > configure:2020: checking for dirent.h that defines DIR > configure:2058: checking for opendir in -ldir > configure:14172: checking whether struct passwd has pw_age > configure:14224: checking for poptGetContext in -lpopt > configure:14267: checking whether to use included popt > configure:14282: checking configure summary > configure:14291: gcc -o conftest -O -D_LARGEFILE64_SOURCE > -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c -ldl -lnsl -lpam 1>&5 > /usr/bin/ld: cannot find -lpam > collect2: ld returned 1 exit status > configure: failed program was: > #line 14287 "configure" > #include "confdefs.h" > #include "./tests/summary.c" > > > > 2) this is what i get on the screen: > > loading cache ./config.cache > checking for gcc... (cached) 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... (cached) yes > checking whether gcc accepts -g... (cached) yes > checking for a BSD compatible install... (cached) /usr/bin/install -c > checking for gawk... (cached) mawk > checking if the linker (ld) is GNU ld... (cached) yes > checking for passwd... (cached) /usr/bin/passwd > checking whether gcc and cc understand -c and -o together... (cached) yes > checking that the C compiler understands volatile... (cached) 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... (cached) inline > checking how to run the C preprocessor... (cached) gcc -E > checking for ANSI C header files... (cached) yes > checking for dirent.h that defines DIR... (cached) yes > checking for opendir in -ldir... (cached) no > checking whether time.h and sys/time.h may both be included... (cached)yes> checking for sys/wait.h that is POSIX.1 compatible... (cached) yes > checking for arpa/inet.h... (cached) yes > checking for sys/fcntl.h... (cached) yes > checking for sys/select.h... (cached) yes > checking for fcntl.h... (cached) yes > checking for sys/time.h... (cached) yes > Checking configure summary... Configure: error: summary failure. Aborting > config > > > What is going wrong ? > Regards, > > > Philippe Dhont > > > > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba