[Ilugc] Help: qmail-ldap make setup check error

  • From: dilliganeshg8@xxxxxxxxx (Dilli Ganesh)
  • Date: Fri, 20 Dec 2013 15:31:34 +0530

Dear all,

     I tried to install the qmail-1.03 patched with
qmail-ldap-1.03-20060201.patch on
Ubuntu 10.04. After successfully patched and run "make setup
check" under /qmail-1.03 path, but get the following error and stop there.
Any hints for that?

# make setup check
... ...
... ...
... ...
./compile -DQLDAP_CLUSTER -DEXTERNAL_TODO -DDASH_EXT -DDATA_COMPRESS
-DQMQP_COMPRESS -DSMTPEXECCHECK -I/usr/local/include -DDEBUG qldap.c
qldap.c:36:18: error: lber.h: No such file or directory
qldap.c:37:18: error: ldap.h: No such file or directory
qldap.c:65: error: expected specifier-qualifier-list before ?LDAP?
qldap.c: In function ?qldap_open?:
qldap.c:250: error: ?qldap? has no member named ?ld?
qldap.c:250: error: ?LDAP_PORT? undeclared (first use in this function)
qldap.c:250: error: (Each undeclared identifier is reported only once
qldap.c:250: error: for each function it appears in.)
qldap.c: In function ?qldap_bind?:
qldap.c:279: error: ?qldap? has no member named ?ld?
qldap.c:288: error: ?LDAP_SUCCESS? undeclared (first use in this function)
qldap.c:292: error: ?LDAP_TIMELIMIT_EXCEEDED? undeclared (first use in
this function)
qldap.c:293: error: ?LDAP_SERVER_DOWN? undeclared (first use in this function)
qldap.c:297: error: ?LDAP_INVALID_CREDENTIALS? undeclared (first use
in this function)
qldap.c:301: error: ?LDAP_PROTOCOL_ERROR? undeclared (first use in
this function)
qldap.c: In function ?qldap_close?:
qldap.c:344: error: ?qldap? has no member named ?ld?
qldap.c: In function ?qldap_free_results?:
qldap.c:353: error: ?qldap? has no member named ?res?
qldap.c:354: error: ?qldap? has no member named ?res?
qldap.c:354: error: ?LDAPMessage? undeclared (first use in this function)
qldap.c:354: error: expected expression before ?)? token
qldap.c:355: error: ?qldap? has no member named ?msg?
qldap.c:355: error: expected expression before ?)? token
qldap.c: In function ?qldap_lookup?:
qldap.c:386: error: ?qldap? has no member named ?ld?
qldap.c:386: error: ?LDAP_SCOPE_SUBTREE? undeclared (first use in this function)
qldap.c:387: error: ?qldap? has no member named ?res?
qldap.c:401: error: ?LDAP_SUCCESS? undeclared (first use in this function)
qldap.c:405: error: ?LDAP_TIMEOUT? undeclared (first use in this function)
qldap.c:406: error: ?LDAP_TIMELIMIT_EXCEEDED? undeclared (first use in
this function)
qldap.c:407: error: ?LDAP_BUSY? undeclared (first use in this function)
qldap.c:411: error: ?LDAP_NO_SUCH_OBJECT? undeclared (first use in
this function)
qldap.c:422: error: ?qldap? has no member named ?ld?
qldap.c:422: error: ?qldap? has no member named ?res?
qldap.c:434: error: ?qldap? has no member named ?msg?
qldap.c:434: error: ?qldap? has no member named ?ld?
qldap.c:434: error: ?qldap? has no member named ?res?
qldap.c: In function ?qldap_filter?:
qldap.c:458: error: ?LDAP_SCOPE_BASE? undeclared (first use in this function)
qldap.c:461: error: ?LDAP_SCOPE_ONELEVEL? undeclared (first use in
this function)
qldap.c:464: error: ?LDAP_SCOPE_SUBTREE? undeclared (first use in this function)
qldap.c:473: error: ?qldap? has no member named ?ld?
qldap.c:474: error: ?qldap? has no member named ?res?
qldap.c:488: error: ?LDAP_SUCCESS? undeclared (first use in this function)
qldap.c:492: error: ?LDAP_TIMEOUT? undeclared (first use in this function)
qldap.c:493: error: ?LDAP_TIMELIMIT_EXCEEDED? undeclared (first use in
this function)
qldap.c:494: error: ?LDAP_BUSY? undeclared (first use in this function)
qldap.c:498: error: ?LDAP_NO_SUCH_OBJECT? undeclared (first use in
this function)

--

Thanks & Regards,
Dilli Ganesh. K
9942370737

Other related posts:

  • » [Ilugc] Help: qmail-ldap make setup check error - Dilli Ganesh