SASL with PAM help!
Bartosz Jozwiak
bartek at cq-link.sr
Thu Jun 15 12:59:55 EDT 2006
Dear Users,
I am trying to compile Cyrus SASL 2.1.22 with PAM support.
On one of my servers everything went very well.
I am trying to install Cyrus SASL with PAM support on another server and
during
configuration proccess it says to me I do not have PAM.
I am using Debian Sarge and installed libpam0g-dev.
I have all files in /usr/include/security but still Cyrus SASL cannot
find/recognize them.
Please help!
./configure --enable-anon --enable-plain --enable-login --disable-krb4 --with-saslauthd=/var/run/saslauthd
--with-pam --with-bdb-libdir=/usr/local/lib/bdb --with-bdb-incdir=/usr/local/include/bdb
--with-openssl=/usr/local/ssl --with-plugindir=/usr/local/lib/sasl2
configure: loading cache ./config.cache
checking build system type... (cached) i686-pc-linux-gnu
checking host system type... (cached) i686-pc-linux-gnu
checking target system type... (cached) i686-pc-linux-gnu
checking for a BSD-compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... (cached) mawk
checking whether make sets $(MAKE)... (cached) yes
checking for gcc... (cached) gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking for style of include used by make... GNU
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... (cached) gcc -E
checking for gawk... (cached) mawk
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for __attribute__... (cached) yes
checking for runpath switch... -Wl,-rpath,
checking for ranlib... (cached) ranlib
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... (cached)
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... no
checking if gcc static flag -static works... -static
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for objdir... .libs
creating libtool
updating cache ./config.cache
configure: loading cache ./config.cache
checking for connect... (cached) yes
checking for res_search... (cached) no
checking for dn_expand... (cached) yes
checking for dns_lookup... (cached) no
checking DB path to use... /etc/sasldb2
checking for egrep... (cached) grep -E
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for db.h... (cached) yes
checking DB library to use... berkeley
checking if Berkeley DB handle is kept open in SASLDB... no
checking for dlopen in -ldl... (cached) yes
checking /dev/random to use... /dev/random
checking for nm... (cached) /usr/bin/nm -B
checking for underscore before symbols... (cached) no
checking for syslog... (cached) yes
checking for security/pam_appl.h... (cached) no
checking for pam/pam_appl.h... (cached) no
checking for pam_start... (cached) no
checking if I should include saslauthd... /var/run/saslauthd
checking to include Courier authdaemond support... /dev/null
checking if I should include pwcheck... no
checking if I should include the alwaystrue verifier... no
checking if we should enable sasl_checkapop... enabled
checking CRAM-MD5... enabled
checking for long... (cached) yes
checking size of long... (cached) 4
checking what directory libraries are found in... (cached) lib
checking for RSAPublicEncrypt in -lrsaref... (cached) no
checking for openssl/evp.h... (cached) yes
checking for EVP_DigestInit in -lcrypto... (cached) yes
checking for OpenSSL... yes
checking for des_cbc_encrypt in -lcrypto... (cached) no
checking for DES_cbc_encrypt in -lcrypto... (cached) yes
checking for openssl/des.h... (cached) yes
checking DIGEST-MD5... enabled
checking OTP... enabled
checking for opiechallenge in -lopie... (cached) no
checking for OPIE... no
checking SRP... disabled
checking KERBEROS_V4... disabled
checking for crypt... (cached) no
checking for crypt in -lcrypt... (cached) yes
checking for gssapi.h... (cached) no
checking for gssapi/gssapi.h... (cached) no
configure: WARNING: Disabling GSSAPI - no include files found
checking GSSAPI... disabled
checking PLAIN... enabled
checking ANONYMOUS... enabled
checking LOGIN... enabled
checking NTLM... disabled
checking PASSDSS... disabled
checking SQL... disabled
checking LDAPDB... disabled
checking for dmalloc library... no
checking for sfio library... no
checking for getsubopt... (cached) yes
checking for snprintf... (cached) yes
checking for vsnprintf... (cached) yes
checking for inet_aton in -lresolv... (cached) yes
checking for getaddrinfo... (cached) yes
checking for gai_strerror... (cached) yes
checking for getnameinfo... (cached) yes
checking for an ANSI C-conforming const... (cached) yes
checking for inline... (cached) inline
checking for mode_t... (cached) yes
checking for pid_t... (cached) yes
checking return type of signal handlers... (cached) void
checking whether time.h and sys/time.h may both be included... (cached) yes
checking for ANSI C header files... (cached) yes
checking for dirent.h that defines DIR... (cached) yes
checking for library containing opendir... (cached) none required
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking for des.h... (cached) no
checking for dlfcn.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for limits.h... (cached) yes
checking for malloc.h... (cached) yes
checking for paths.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/file.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for syslog.h... (cached) yes
checking for unistd.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for sys/uio.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for sysexits.h... (cached) yes
checking for stdarg.h... (cached) yes
checking for varargs.h... (cached) no
checking whether you have ss_family in struct sockaddr_storage... (cached)
yes
checking whether you have sa_len in struct sockaddr... (cached) no
checking for socklen_t... (cached) yes
checking for gethostname... (cached) yes
checking for getdomainname... (cached) yes
checking for getpwnam... (cached) yes
checking for getspnam... (cached) yes
checking for gettimeofday... (cached) yes
checking for inet_aton... (cached) yes
checking for memcpy... (cached) yes
checking for mkdir... (cached) yes
checking for select... (cached) yes
checking for socket... (cached) yes
checking for strchr... (cached) yes
checking for strdup... (cached) yes
checking for strerror... (cached) yes
checking for strspn... (cached) yes
checking for strstr... (cached) yes
checking for strtol... (cached) yes
checking for jrand48... (cached) yes
updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating sasldb/Makefile
config.status: creating plugins/Makefile
config.status: creating lib/Makefile
config.status: creating utils/Makefile
config.status: creating doc/Makefile
config.status: creating sample/Makefile
config.status: creating java/Makefile
config.status: creating java/CyrusSasl/Makefile
config.status: creating java/Test/Makefile
config.status: creating java/javax/Makefile
config.status: creating java/javax/security/Makefile
config.status: creating java/javax/security/auth/Makefile
config.status: creating java/javax/security/auth/callback/Makefile
config.status: creating pwcheck/Makefile
config.status: creating man/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
configure: configuring in saslauthd
configure: running /bin/sh './configure' --prefix=/usr/local
'--enable-anon' '--enable-plain' '--enable-login' '--disable-krb4'
'--with-saslauthd=/var/run/saslauthd' '--with-pam'
'--with-bdb-libdir=/usr/local/lib/bdb'
'--with-bdb-incdir=/usr/local/include/bdb' '--with-openssl=/usr/local/ssl'
'--with-plugindir=/usr/local/lib/sasl2' --cache-file=.././config.cache --srcdir=.
configure: loading cache .././config.cache
checking build system type... (cached) i686-pc-linux-gnu
checking host system type... (cached) i686-pc-linux-gnu
checking for a BSD-compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... (cached) mawk
checking whether make sets $(MAKE)... (cached) yes
checking for gcc... (cached) gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking for style of include used by make... GNU
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... (cached) gcc -E
checking for gawk... (cached) mawk
checking whether make sets $(MAKE)... (cached) yes
checking whether ln -s works... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for __attribute__... (cached) yes
checking for runpath switch... -Wl,-rpath,
checking for connect... (cached) yes
checking for res_search... (cached) no
checking for dn_expand... (cached) yes
checking for dns_lookup... (cached) no
checking for egrep... (cached) grep -E
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for long... (cached) yes
checking size of long... (cached) 4
checking what directory libraries are found in... (cached) lib
checking for RSAPublicEncrypt in -lrsaref... (cached) no
checking for openssl/evp.h... (cached) yes
checking for EVP_DigestInit in -lcrypto... (cached) yes
checking for OpenSSL... yes
checking for des_cbc_encrypt in -lcrypto... (cached) no
checking for DES_cbc_encrypt in -lcrypto... (cached) yes
checking for openssl/des.h... (cached) yes
checking KERBEROS_V4... disabled
checking for crypt... (cached) no
checking for crypt in -lcrypt... (cached) yes
checking for gssapi.h... (cached) no
checking for gssapi/gssapi.h... (cached) no
configure: WARNING: Disabling GSSAPI - no include files found
checking GSSAPI... disabled
checking for crypt... (cached) no
checking for crypt in -lcrypt... (cached) yes
checking for pam_start in -lpam... (cached) no
checking for PAM support... no
checking for inet_aton in -lresolv... (cached) yes
checking to include LDAP support... no
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking for crypt.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for krb5.h... (cached) no
checking for strings.h... (cached) yes
checking for syslog.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/uio.h... (cached) yes
checking for an ANSI C-conforming const... (cached) yes
checking for pid_t... (cached) yes
checking whether gcc implements __func__... yes
checking return type of signal handlers... (cached) void
checking for gethostname... (cached) yes
checking for mkdir... (cached) yes
checking for socket... (cached) yes
checking for strdup... (cached) yes
checking for getspnam... (cached) yes
checking for strlcat... (cached) no
checking for strlcpy... (cached) no
checking if getpwnam_r/getspnam_r take 5 arguments... yes
checking for getaddrinfo... (cached) yes
checking for getnameinfo... (cached) yes
checking whether you have ss_family in struct sockaddr_storage... (cached)
yes
checking whether you have sa_len in struct sockaddr... (cached) no
checking for socklen_t... (cached) yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating saslauthd.h
config.status: saslauthd.h is unchanged
config.status: executing depfiles commands
Configuration Complete. Type 'make' to build.
smtp:/usr/src/cyrus-sasl-2.1.22#
More information about the Info-cyrus
mailing list