=> Bootstrap dependency digest>=20010302: found digest-20121220 => Checksum SHA1 OK for mod_auth_ldap3.05.tar.gz => Checksum RMD160 OK for mod_auth_ldap3.05.tar.gz ===> Installing dependencies for ap2-auth-ldap-3.05nb9 ========================================================================== The following variables will affect the build process of this package, ap2-auth-ldap-3.05nb9. Their current value is shown below: * PKG_APACHE_DEFAULT = apache22 * SSLBASE (defined) * SSLCERTS = /usr/pkg/etc/openssl/certs * SSLDIR = /usr/pkg/etc/openssl * SSLKEYS = /usr/pkg/etc/openssl/private Based on these variables, the following variables have been set: * APACHE_PKG_PREFIX = ap2 * PKG_APACHE = apache2 You may want to abort the process now with CTRL-C and change their value before continuing. Be sure to run `/usr/pkg/bin/bmake clean' after the changes. ========================================================================== => Tool dependency libtool-base>=2.2.6bnb3: found libtool-base-2.4.2nb6 => Tool dependency perl>=5.0: found perl-5.18.2nb1 => Full dependency apache>=2.0.51<2.2: found apache-2.0.65nb2 => Full dependency apache>=2.0.65nb2: found apache-2.0.65nb2 => Full dependency openldap-client>=2.4.39nb1: found openldap-client-2.4.39nb1 => Full dependency openssl>=1.0.1c: found openssl-1.0.1g => Full dependency pth>=2.0.0nb2: found pth-2.0.7nb3 ===> Overriding tools for ap2-auth-ldap-3.05nb9 ===> Extracting for ap2-auth-ldap-3.05nb9 ===> Patching for ap2-auth-ldap-3.05nb9 => Applying pkgsrc patches for ap2-auth-ldap-3.05nb9 => Fixing hardcoded paths. ===> Creating toolchain wrappers for ap2-auth-ldap-3.05nb9 /bin/mkdir -p /usr/pkgsrc/work/www/ap2-auth-ldap/work/.buildlink/bin && /bin/ln -fs ../sbin/apxs /usr/pkgsrc/work/www/ap2-auth-ldap/work/.buildlink/bin/apxs ===> Configuring for ap2-auth-ldap-3.05nb9 => Modifying GNU configure scripts to avoid --recheck => Replacing config-guess with pkgsrc versions => Replacing config-sub with pkgsrc versions => Replacing install-sh with pkgsrc version /sbin/sysctl: not found bmake: "/sbin/sysctl -n kern.argmax" returned non-zero status creating cache ./config.cache checking for ranlib... ranlib checking whether make sets ${MAKE}... yes checking for gcc... cc checking whether the C compiler (cc -O2 -march=i586 -I/usr/pkg/include -I/usr/pkg/include/apr-0 -I/usr/include -DLDAP_DEPRECATED -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib) works... yes checking whether the C compiler (cc -O2 -march=i586 -I/usr/pkg/include -I/usr/pkg/include/apr-0 -I/usr/include -DLDAP_DEPRECATED -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib) is a cross-compiler... no checking whether we are using GNU C... yes checking whether cc accepts -g... yes checking how to run the C preprocessor... cc -E checking for ANSI C header files... yes checking for string.h... yes checking for strings.h... yes checking for memory.h... yes checking for malloc.h... yes checking for unistd.h... yes checking for ctype.h... yes checking for limits... no checking for stdint.h... yes checking for sys/types.h... yes checking for stdlib.h... yes checking for socket... yes checking for htonl... yes checking for gethostname... yes checking for gethostbyaddr... yes checking for yp_get_default_domain... no checking for __yp_get_default_domain... no checking for yp_get_default_domain in -lnsl... no checking for __yp_get_default_domain in -lnsl... no checking for res_search... yes checking for inet_aton... yes checking for dn_skipname... yes checking for version of apache the module is getting compiled... Apache 2.x checking for path of Apache install directory... /usr/pkg checking for /usr/pkg/bin/apr-config... found checking for /usr/pkg/bin/apu-config... found checking for memory cache support... none. memory caching support will be off checking for Apache 2.0 module support via DSO through APXS... yes checking for LDAP SDK... /usr/pkg/ checking for 3 arg ldap_set_rebind_proc... yes checking for ldap_start_tls_s... yes checking for ldap_initialize... yes yes checking whether to enable SSL... no updating cache ./config.cache creating ./config.status creating Makefile creating mk_withldap ====================================================================== You're compiling the module as Dynamic Shared Object (DSO) Make sure your apache is compiled with DSO support. To test, type $ /path_of/httpd -l and make sure mod_so.c is in the list *********************************************************************************** *** Compiling mod_auth_ldap v3.05 for Apache 2.x *********************************************************************************** Final Compilation Flags: HASHLIB_TYPE= HASHINC= HASHLIB= APR_LIBS = -L/usr/pkg/lib -lapr-0 -lm -lcrypt APU_LIBS = -L/usr/pkg/lib -laprutil-0 -lexpat APXS = /usr/pkg/sbin/apxs DEFINES = -DSTDC_HEADERS=1 -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_MEMORY_H=1 -DHAVE_MALLOC_H=1 -DHAVE_UNISTD_H=1 -DHAVE_CTYPE_H=1 -DHAVE_STDINT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_STDLIB_H=1 -DHAVE_SOCKET=1 -DHAVE_HTONL=1 -DHAVE_GETHOSTNAME=1 -DHAVE_GETHOSTBYADDR=1 -DHAVE_RES_SEARCH=1 -DHAVE_INET_ATON=1 -DHAVE_DN_SKIPNAME=1 -DWITH_APACHE_2=1 -DHAVE_LDAP=1 -DHAVE_3ARG_SETREBINDPROC=1 -DHAVE_LDAP_START_TLS_S=1 -DHAVE_LDAP_INITIALIZE=1 LDAP_DIR = /usr/pkg/ LDAP_INCLUDE_DIR = /usr/pkg//include LDAP_LIB_DIR = /usr/pkg//lib CPPFLAGS = -I/usr/pkg//include -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lldap -llber -I/usr/pkg/include -I/usr/pkg/include/apr-0 -I/usr/include -DLDAP_DEPRECATED LDFLAGS = -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg//lib LIBS = -lldap -llber ====================================================================== If everything looks ok, at the shell prompt, type: make make install => Modifying libtool scripts to use pkgsrc libtool