ports/69828: OpenLDAP 2.2 server fails to compile in dnssrv.c

Lonnie Olson fungus at aros.net
Fri Jul 30 21:10:53 UTC 2004


>Number:         69828
>Category:       ports
>Synopsis:       OpenLDAP 2.2 server fails to compile in dnssrv.c
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 30 21:10:19 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Lonnie Olson
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
ArosNet, Inc.
>Environment:
System: FreeBSD ophelia.aros.net 4.6-STABLE FreeBSD 4.6-STABLE #20: Fri Aug 23 05:14:27 MDT 2002 root at catbert.aros.net:/usr/src/sys/compile/AROS i386


>Description:
	Attempts to build net/openldap22-server fail due to PORT_REPLACES_BASE_BIND.
#### Actual error ####
$ make -DWITH_OPENSSL_BASE
===>   openldap-server-2.2.14 depends on shared library: db-4.2.2 - found
===>  Configuring for openldap-server-2.2.14
openldap-server-2.2.14: bind installed with PORT_REPLACES_BASE_BIND causes build problems.
*** Error code 1

After removal of this block from the Pre-Configure in the Makefile the actual problem is:

$ make -DWITH_OPENSSL_BASE

<snip>

/bin/sh /export/usr/ports/net/openldap22-server/work/openldap-2.2.14/libtool  --mode=compile  cc -O -pipe -I../../include -I../../include   -I/usr/local/include/db42 -D_THREAD_SAFE  -I/usr/local/include  -DLDAP_LIBRARY -c dnssrv.c
rm -f .libs/dnssrv.lo
cc -O -pipe -I../../include -I../../include -I/usr/local/include/db42 -D_THREAD_SAFE -I/usr/local/include -DLDAP_LIBRARY -c dnssrv.c  -fPIC -DPIC -o .libs/dnssrv.lo
dnssrv.c: In function `ldap_domain2hostlist':
dnssrv.c:222: `C_IN' undeclared (first use in this function)
dnssrv.c:222: (Each undeclared identifier is reported only once
dnssrv.c:222: for each function it appears in.)
dnssrv.c:242: `HEADER' undeclared (first use in this function)
*** Error code 1



Currently running bind-base-8.3.7.  Also I attempted to update to bind9, still 
also with PORT_REPLACES_BASE_BIND and the same error results during the build.

>How-To-Repeat:
	cd /usr/ports/net/openldap22-server && make -DWITH_OPENSSL_BASE install
	*errors above generated*

>Fix:
	Unknown.


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list