[MacPorts] #23976: Unable to build rb-ldap: 'LDAP_OPT_X_TLS_PROTOCOL' undeclared
MacPorts
noreply at macports.org
Mon Mar 8 04:45:24 PST 2010
#23976: Unable to build rb-ldap: 'LDAP_OPT_X_TLS_PROTOCOL' undeclared
------------------------------+---------------------------------------------
Reporter: ben@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.2
Keywords: ruby ldap | Port: rb-ldap
------------------------------+---------------------------------------------
I received this build error while trying to install the rb-ldap port:
{{{
ldap.c: In function 'Init_ldap':
ldap.c:329: warning: cast from pointer to integer of different size
ldap.c:332: warning: cast from pointer to integer of different size
ldap.c:424: error: 'LDAP_OPT_X_TLS_PROTOCOL' undeclared (first use in this
function)
ldap.c:424: error: (Each undeclared identifier is reported only once
ldap.c:424: error: for each function it appears in.)
make: *** [ldap.o] Error 1
}}}
While searching online I found this link to a patch that appears to
address the issue:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521980
(See the link at the bottom of that bug report)
--
Ticket URL: <http://trac.macports.org/ticket/23976>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list