Hey,
Im trying to compile manually this module for apache 2(not in pkgsrc), but im not successful. I get this error:

porncatalog# make
apxs -Wc,-Wall -Wc,-Werror -Wc,-g -c -lldap_r mod_cfg_ldap.c
/usr/pkg/libexec/apr/libtool --silent --mode=compile cc -prefer-pic -O -pipe -I/usr/pkg/include -I/usr/include -DAP_HAVE_DESIGNATED_INITIALIZER -pthread -I/usr/pkg/include/httpd -I/usr/pkg/include/apr-0 -I/usr/pkg/include/apr-0 -I/usr/pkg/include -Wall -Werror -g -c -o mod_cfg_ldap.lo mod_cfg_ldap.c && touch mod_cfg_ldap.slo
mod_cfg_ldap.c: In function `cfg_ldap_init_ldap':
mod_cfg_ldap.c:108: warning: implicit declaration of function `ldap_init'
mod_cfg_ldap.c:108: warning: assignment makes pointer from integer without a cast
mod_cfg_ldap.c:119: warning: implicit declaration of function `ldap_unbind'
mod_cfg_ldap.c:129: warning: implicit declaration of function `ldap_unbind_s' mod_cfg_ldap.c:150: warning: assignment makes pointer from integer without a cast mod_cfg_ldap.c:153: warning: implicit declaration of function `ldap_simple_bind_s'
mod_cfg_ldap.c: In function `cfg_ldap_read_vhost_from_ldap':
mod_cfg_ldap.c:237: warning: implicit declaration of function `ldap_search_s' mod_cfg_ldap.c:283: warning: implicit declaration of function `ldap_get_values' mod_cfg_ldap.c:283: warning: assignment makes pointer from integer without a cast mod_cfg_ldap.c:298: warning: implicit declaration of function `ldap_value_free'
apxs:Error: Command failed with rc=65536


Ive changed the makefile to point to apxs instead of to apxs2 but thats all im capable of doing.:)

you can get the file here:
http://mesh.dl.sourceforge.net/sourceforge/modcfgldap/mod_cfg_ldap-1.2.tar.gz

Reply via email to