hi,all, I've downloaded the latest version perldap 1.4.1 from ftp.perldap.org,and want to install on my mandrake linux system. but while I makeing the source code,something wrong like follows: #################################################### [root@eschoolnew perldap-1.4.1]# perl Makefile.PL
PerLDAP - Perl 5 Module for LDAP ================================ Directory containing 'include' and 'lib' directory of the Netscape LDAP Software Developer Kit (default: /usr): Using LDAPv3 Developer Kit (default: yes)? n Include SSL Support (default: yes)? n Located multiple libraries: - libldap40.so - libldap.so - libldap.a - libldap_r.so - libldap_r.a Libraries to link with (default: -L/usr/lib -lldap40): Checking if your kit is complete... Looks good Writing Makefile for Mozilla::LDAP::API [root@eschoolnew perldap-1.4.1]# make cp API.pm blib/lib/Mozilla/LDAP/API.pm AutoSplitting blib/lib/Mozilla/LDAP/API.pm (blib/lib/auto/Mozilla/LDAP/API) cp Conn.pm blib/lib/Mozilla/LDAP/Conn.pm cp LDIF.pm blib/lib/Mozilla/LDAP/LDIF.pm cp Utils.pm blib/lib/Mozilla/LDAP/Utils.pm cp Entry.pm blib/lib/Mozilla/LDAP/Entry.pm /usr/bin/perl -I/usr/lib/perl5/5.6.1/i386-linux -I/usr/lib/perl5/5.6.1 /usr/lib/ perl5/5.6.1/ExtUtils/xsubpp -nolinenumbers -typemap /usr/lib/perl5/5.6.1/ExtUti ls/typemap -typemap typemap API.xs > API.xsc && mv API.xsc API.c cc -c -fno-strict-aliasing -DPERL_POLLUTE -O3 -fomit-frame-pointer -pipe - mcpu =pentiumpro -march=i586 -ffast-math -fno-strength-reduce -DVERSION=\"1.41\ " -D XS_VERSION=\"1.41\" -fpic -I/usr/lib/perl5/5.6.1/i386-linux/CORE API.c In file included from API.c:57: constant.h: In function `constant': constant.h:753: incompatible types in return API.c: At top level: API.c:89: parse error before `internal_rebind_proc' API.c:90: warning: data definition has no type or storage class API.c:92: parse error before `ldap_default_rebind_proc' API.c:93: warning: data definition has no type or storage class API.c: In function `perldap_init': API.c:133: storage size of `memalloc_fns' isn't known API.c:141: `LDAP_OPT_MEMALLOC_FN_PTRS' undeclared (first use in this function) API.c:141: (Each undeclared identifier is reported only once API.c:141: for each function it appears in.) API.c: At top level: API.c:526: parse error before `internal_rebind_proc' API.c:567: parse error before `ldap_default_rebind_proc' API.c: In function `XS_Mozilla__LDAP__API_ldap_free_friendlymap': API.c:1397: `FriendlyMap' undeclared (first use in this function) API.c:1397: `map' undeclared (first use in this function) API.c:1397: parse error before `)' API.c: In function `XS_Mozilla__LDAP__API_ldap_friendly_name': API.c:1442: `FriendlyMap' undeclared (first use in this function) API.c:1442: `map' undeclared (first use in this function) API.c:1442: parse error before `)' API.c:1443: parse error before `char' API.c:1446: `RETVAL' undeclared (first use in this function) API.c:1447: `targ' undeclared (first use in this function) API.c: In function `XS_Mozilla__LDAP__API_ldap_set_rebind_proc': API.c:2773: too many arguments to function `ldap_set_rebind_proc' API.c:2779: warning: passing arg 2 of `ldap_set_rebind_proc' from incompatible pointer type API.c:2779: too many arguments to function `ldap_set_rebind_proc' API.c: In function `XS_Mozilla__LDAP__API_ldap_set_default_rebind_proc': API.c:2812: `LDAP_REBINDPROC_CALLBACK' undeclared (first use in this function) API.c:2812: parse error before `)' API.c:2812: too many arguments to function `ldap_set_rebind_proc' API.c: In function `XS_Mozilla__LDAP__API_ldap_url_parse': API.c:2932: structure has no member named `lud_options' API.c: In function `XS_Mozilla__LDAP__API_ldap_version': API.c:3042: `LDAPVersion' undeclared (first use in this function) API.c:3042: `ver' undeclared (first use in this function) API.c:3042: parse error before `)' API.c:3043: parse error before `int' API.c:3046: `RETVAL' undeclared (first use in this function) API.c:3047: `targ' undeclared (first use in this function) make: *** [API.o] Error 1 ################### here are some system info: [root@eschoolnew perldap-1.4.1]# perl -v This is perl, v5.6.1 built for i386-linux Copyright 1987-2001, Larry Wall ............... [root@eschoolnew perldap-1.4.1]# uname -a Linux eschoolnew 2.4.8-26mdk #1 Sun Sep 23 17:06:39 CEST 2001 i686 unknown [root@eschoolnew perldap-1.4.1]# why?I've found file libldap40.a in /usr/lib,and does it because of lacking netscape SDK?
