Re: [NNTPCACHE] nntpcache 3.0.0b2 and openldap

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[ Charset ISO-8859-1 unsupported, converting... ]
> Dear list,
> 
> I'm trying nntpcache 3.0.0b2 in Solaris 5.7.
> After installing openldap 2.0.7, nntpcache "configure"d without problems
> (with --with-authinfo-ldap).
> But when I "make" it, there's an error like:
> 
> 	authinfo_ldap.c: In function `ldap_got_pass':
> 	authinfo_ldap.c:81: dereferencing pointer to incomplete type

I think this is a conflict between Solaris's built-in LDAP and OpenLDAP. Did
you try building without OpenLDAP first?

If that doesn't work, you can try modifying this ifdef chain that appears
and the top of authinfo_ldap.c to use the second definition:

#ifdef HAVE_LIBLBER
#include "lber.h"
#define GET_LDERROR(ld)      (ld)->ld_errno
#else
#define GET_LDERROR(ld)      ldap_get_lderrno ( (ld), NULL, NULL)
#endif

--
 Julian Assange        |If you want to build a ship, don't drum up people
                       |together to collect wood or assign them tasks and
 proff@iq.org          |work, but rather teach them to long for the endless
 proff@gnu.ai.mit.edu  |immensity of the sea. -- Antoine de Saint Exupery

_______________________________________________
NNTPCache-users mailing list
NNTPCache-users@nntpcache.org
http://www.nntpcache.org/cgi-bin/mailman/listinfo/nntpcache-users

[Index of Archives]     [Yosemite]     [Yosemite Campsites]     [Bugtraq]     [Linux]     [Trn]

Powered by Linux