hello to all, I'm having trouble to compile the module Net :: LDAPapi (required by <AuthBy LDAP>)
I installed all the dependencies, but I keep getting errors in completing the form, you have any suggestions? Thanks My perl version is: v5.10.1 (*) built for x86_64-linux-thread-multi My OS is: Red Hat Enterprise Linux Server release 6.4 (Santiago) This is the error that I visualize with cpan: cpan[1]> install Net::LDAPapi CPAN: Storable loaded ok (v2.20) Reading '/root/.cpan/Metadata' Database was generated on Fri, 05 Apr 2013 09:07:49 GMT Running install for module 'Net::LDAPapi' Running make for M/MI/MISHIKAL/Net-LDAPapi-3.0.3.tar.gz CPAN: Digest::SHA loaded ok (v5.84) CPAN: Compress::Zlib loaded ok (v2.02) Checksum for /root/.cpan/sources/authors/id/M/MI/MISHIKAL/Net-LDAPapi-3.0.3.tar.gz ok Scanning cache /root/.cpan/build for sizes ............................................................................DONE Net-LDAPapi-3.0.3/ Net-LDAPapi-3.0.3/Todo Net-LDAPapi-3.0.3/Changes Net-LDAPapi-3.0.3/LDAPapi.xs Net-LDAPapi-3.0.3/typemap Net-LDAPapi-3.0.3/examples/ Net-LDAPapi-3.0.3/examples/ldap_mod_attr.pl Net-LDAPapi-3.0.3/examples/ldapwalk2.pl Net-LDAPapi-3.0.3/examples/www-ldap.pl Net-LDAPapi-3.0.3/examples/updatepw.pl Net-LDAPapi-3.0.3/examples/web500.pl Net-LDAPapi-3.0.3/examples/ldapwalk.pl Net-LDAPapi-3.0.3/examples/testwrite.pl Net-LDAPapi-3.0.3/test.pl Net-LDAPapi-3.0.3/constant.gen Net-LDAPapi-3.0.3/MANIFEST Net-LDAPapi-3.0.3/ldap_compat.h Net-LDAPapi-3.0.3/README Net-LDAPapi-3.0.3/META.yml Net-LDAPapi-3.0.3/Makefile.PL Net-LDAPapi-3.0.3/LDAPapi.pm Net-LDAPapi-3.0.3/Credits CPAN: File::Temp loaded ok (v0.22) CPAN: Parse::CPAN::Meta loaded ok (v1.4404) CPAN: CPAN::Meta loaded ok (v2.130880) CPAN.pm: Building M/MI/MISHIKAL/Net-LDAPapi-3.0.3.tar.gz Net::LDAPapi Perl5 Module - by Quanah Gibson-Mount <[email protected]> OpenLDAP support by Symas Corporation -- http://www.symas.com Updated by Quanah Gibson-Mount to match modern products and vendors. Updated by Dmitri Priimak to use the v3 OpenLDAP API. Originally by Clayton Donley <[email protected]> Select your Development Kit: 1. OpenLDAP (default) 2. Mozilla Choose: [1] Location of LDAP include files: [/usr/include] Location of LDAP library files: [/usr/lib] Location of SASL include files if needed: Checking if your kit is complete... Looks good Warning (mostly harmless): No library found for -lldap Warning (mostly harmless): No library found for -llber Writing Makefile for Net::LDAPapi Writing MYMETA.yml and MYMETA.json cp LDAPapi.pm blib/lib/Net/LDAPapi.pm AutoSplitting blib/lib/Net/LDAPapi.pm (blib/lib/auto/Net/LDAPapi) /usr/bin/perl constant.gen >constant.h /usr/bin/perl /usr/share/perl5/ExtUtils/xsubpp -typemap /usr/share/perl5/ExtUtils/typemap -typemap typemap LDAPapi.xs > LDAPapi.xsc && mv LDAPapi.xsc LDAPapi.c gcc -c -I/usr/include -I/usr/include -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"3.0.3\" -DXS_VERSION=\"3.0.3\" -fPIC "-I/usr/lib64/perl5/CORE" -DOPENLDAP LDAPapi.c LDAPapi.xs:16:18: error: lber.h: No such file or directory LDAPapi.xs:17:18: error: ldap.h: No such file or directory LDAPapi.xs:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token LDAPapi.xs:45: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token LDAPapi.xs:48: error: expected ‘)’ before ‘*’ token LDAPapi.xs: In function ‘av2modvals’: LDAPapi.xs:110: error: invalid application of ‘sizeof’ to incomplete type ‘struct berval’ LDAPapi.xs:110: error: invalid application of ‘sizeof’ to incomplete type ‘struct berval’ LDAPapi.xs:110: error: invalid application of ‘sizeof’ to incomplete type ‘struct berval’ LDAPapi.xs:111: error: dereferencing pointer to incomplete type LDAPapi.xs:112: error: dereferencing pointer to incomplete type LDAPapi.xs: At top level: LDAPapi.xs:136: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token LDAPapi.xs:243: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token LDAPapi.xs:289: error: expected ‘)’ before ‘*’ token LDAPapi.xs:305: error: expected ‘)’ before ‘*’ token LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_initialize’: LDAPapi.c:457: error: ‘LDAP’ undeclared (first use in this function) LDAPapi.c:457: error: (Each undeclared identifier is reported only once LDAPapi.c:457: error: for each function it appears in.) LDAPapi.c:457: error: ‘ldp’ undeclared (first use in this function) LDAPapi.xs:359: warning: implicit declaration of function ‘ldap_initialize’ LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_create’: LDAPapi.c:485: error: ‘LDAP’ undeclared (first use in this function) LDAPapi.c:485: error: ‘ldp’ undeclared (first use in this function) LDAPapi.xs:370: warning: implicit declaration of function ‘ldap_create’ LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_bind_s’: LDAPapi.c:512: error: ‘LDAP’ undeclared (first use in this function) LDAPapi.c:512: error: ‘ldp’ undeclared (first use in this function) LDAPapi.c:512: error: expected expression before ‘)’ token LDAPapi.c:519: warning: implicit declaration of function ‘ldap_bind_s’ LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_set_option’: LDAPapi.c:537: error: ‘LDAP’ undeclared (first use in this function) LDAPapi.c:537: error: ‘ld’ undeclared (first use in this function) LDAPapi.c:537: error: expected expression before ‘)’ token LDAPapi.xs:390: warning: implicit declaration of function ‘ldap_set_option’ LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_get_option’: LDAPapi.c:564: error: ‘LDAP’ undeclared (first use in this function) LDAPapi.c:564: error: ‘ld’ undeclared (first use in this function) LDAPapi.c:564: error: expected expression before ‘)’ token LDAPapi.xs:402: warning: implicit declaration of function ‘ldap_get_option’ LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_unbind_ext_s’: LDAPapi.c:593: error: ‘LDAP’ undeclared (first use in this function) LDAPapi.c:593: error: ‘ld’ undeclared (first use in this function) LDAPapi.c:593: error: expected expression before ‘)’ token LDAPapi.c:594: error: ‘LDAPControl’ undeclared (first use in this function) LDAPapi.c:594: error: ‘sctrls’ undeclared (first use in this function) LDAPapi.c:594: error: expected expression before ‘)’ token LDAPapi.c:595: error: ‘cctrls’ undeclared (first use in this function) LDAPapi.c:595: error: expected expression before ‘)’ token LDAPapi.c:599: warning: implicit declaration of function ‘ldap_unbind_ext_s’ LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_search_s’: LDAPapi.c:617: error: ‘LDAP’ undeclared (first use in this function) LDAPapi.c:617: error: ‘ldp’ undeclared (first use in this function) LDAPapi.c:617: error: expected expression before ‘)’ token LDAPapi.c:623: error: ‘LDAPMessage’ undeclared (first use in this function) LDAPapi.c:623: error: ‘res’ undeclared (first use in this function) LDAPapi.xs:425: warning: implicit declaration of function ‘ldap_search_s’ LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_abandon_ext’: LDAPapi.c:676: error: ‘LDAP’ undeclared (first use in this function) LDAPapi.c:676: error: ‘ld’ undeclared (first use in this function) LDAPapi.c:676: error: expected expression before ‘)’ token LDAPapi.c:678: error: ‘LDAPControl’ undeclared (first use in this function) LDAPapi.c:678: error: ‘sctrls’ undeclared (first use in this function) LDAPapi.c:678: error: expected expression before ‘)’ token LDAPapi.c:679: error: ‘cctrls’ undeclared (first use in this function) LDAPapi.c:679: error: expected expression before ‘)’ token LDAPapi.c:683: warning: implicit declaration of function ‘ldap_abandon_ext’ LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_add_ext’: LDAPapi.c:701: error: ‘LDAP’ undeclared (first use in this function) LDAPapi.c:701: error: ‘ld’ undeclared (first use in this function) LDAPapi.c:701: error: expected expression before ‘)’ token LDAPapi.c:704: error: ‘LDAPControl’ undeclared (first use in this function) LDAPapi.c:704: error: ‘sctrls’ undeclared (first use in this function) LDAPapi.c:704: error: expected expression before ‘)’ token LDAPapi.c:705: error: ‘cctrls’ undeclared (first use in this function) LDAPapi.c:705: error: expected expression before ‘)’ token LDAPapi.xs:456: error: ‘LDAPMod’ undeclared (first use in this function) LDAPapi.xs:456: error: ‘attrs’ undeclared (first use in this function) LDAPapi.xs:456: warning: implicit declaration of function ‘hash2mod’ LDAPapi.xs:457: warning: implicit declaration of function ‘ldap_add_ext’ LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_add_ext_s’: LDAPapi.c:735: error: ‘LDAP’ undeclared (first use in this function) LDAPapi.c:735: error: ‘ld’ undeclared (first use in this function) LDAPapi.c:735: error: expected expression before ‘)’ token LDAPapi.c:737: error: ‘LDAPMod’ undeclared (first use in this function) LDAPapi.c:737: error: ‘ldap_change_ref’ undeclared (first use in this function) LDAPapi.c:738: error: ‘LDAPControl’ undeclared (first use in this function) LDAPapi.c:738: error: ‘sctrls’ undeclared (first use in this function) LDAPapi.c:738: error: expected expression before ‘)’ token LDAPapi.c:739: error: ‘cctrls’ undeclared (first use in this function) LDAPapi.c:739: error: expected expression before ‘)’ token LDAPapi.c:743: warning: implicit declaration of function ‘ldap_add_ext_s’ LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_sasl_bind’: LDAPapi.c:764: error: ‘LDAP’ undeclared (first use in this function) LDAPapi.c:764: error: ‘ld’ undeclared (first use in this function) LDAPapi.c:764: error: expected expression before ‘)’ token LDAPapi.c:767: error: ‘LDAPControl’ undeclared (first use in this function) LDAPapi.c:767: error: ‘serverctrls’ undeclared (first use in this function) LDAPapi.c:767: error: expected expression before ‘)’ token LDAPapi.c:768: error: ‘clientctrls’ undeclared (first use in this function) LDAPapi.c:768: error: expected expression before ‘)’ token LDAPapi.xs:484: error: storage size of ‘cred’ isn’t known LDAPapi.xs:493: warning: implicit declaration of function ‘ldap_sasl_bind’ LDAPapi.xs:493: error: ‘LDAP_SASL_SIMPLE’ undeclared (first use in this function) LDAPapi.xs:484: warning: unused variable ‘cred’ LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_modify_ext’: LDAPapi.c:806: error: ‘LDAP’ undeclared (first use in this function) LDAPapi.c:806: error: ‘ld’ undeclared (first use in this function) LDAPapi.c:806: error: expected expression before ‘)’ token LDAPapi.c:809: error: ‘LDAPControl’ undeclared (first use in this function) LDAPapi.c:809: error: ‘sctrls’ undeclared (first use in this function) LDAPapi.c:809: error: expected expression before ‘)’ token LDAPapi.c:810: error: ‘cctrls’ undeclared (first use in this function) LDAPapi.c:810: error: expected expression before ‘)’ token LDAPapi.xs:510: error: ‘LDAPMod’ undeclared (first use in this function) LDAPapi.xs:510: error: ‘mods’ undeclared (first use in this function) LDAPapi.xs:511: warning: implicit declaration of function ‘ldap_modify_ext’ LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_modify_ext_s’: LDAPapi.c:840: error: ‘LDAP’ undeclared (first use in this function) LDAPapi.c:840: error: ‘ld’ undeclared (first use in this function) LDAPapi.c:840: error: expected expression before ‘)’ token LDAPapi.c:842: error: ‘LDAPMod’ undeclared (first use in this function) LDAPapi.c:842: error: ‘ldap_change_ref’ undeclared (first use in this function) LDAPapi.c:843: error: ‘LDAPControl’ undeclared (first use in this function) LDAPapi.c:843: error: ‘sctrl’ undeclared (first use in this function) LDAPapi.c:843: error: expected expression before ‘)’ token LDAPapi.c:844: error: ‘cctrl’ undeclared (first use in this function) LDAPapi.c:844: error: expected expression before ‘)’ token LDAPapi.c:848: warning: implicit declaration of function ‘ldap_modify_ext_s’ LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_rename’: LDAPapi.c:866: error: ‘LDAP’ undeclared (first use in this function) LDAPapi.c:866: error: ‘ld’ undeclared (first use in this function) LDAPapi.c:866: error: expected expression before ‘)’ token LDAPapi.c:871: error: ‘LDAPControl’ undeclared (first use in this function) LDAPapi.c:871: error: ‘sctrls’ undeclared (first use in this function) LDAPapi.c:871: error: expected expression before ‘)’ token LDAPapi.c:872: error: ‘cctrls’ undeclared (first use in this function) LDAPapi.c:872: error: expected expression before ‘)’ token LDAPapi.xs:538: warning: implicit declaration of function ‘ldap_rename’ LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_rename_s’: LDAPapi.c:899: error: ‘LDAP’ undeclared (first use in this function) LDAPapi.c:899: error: ‘ld’ undeclared (first use in this function) LDAPapi.c:899: error: expected expression before ‘)’ token LDAPapi.c:904: error: ‘LDAPControl’ undeclared (first use in this function) LDAPapi.c:904: error: ‘sctrls’ undeclared (first use in this function) LDAPapi.c:904: error: expected expression before ‘)’ token LDAPapi.c:905: error: ‘cctrls’ undeclared (first use in this function) LDAPapi.c:905: error: expected expression before ‘)’ token LDAPapi.c:909: warning: implicit declaration of function ‘ldap_rename_s’ LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_compare_ext’: LDAPapi.c:927: error: ‘LDAP’ undeclared (first use in this function) LDAPapi.c:927: error: ‘ld’ undeclared (first use in this function) LDAPapi.c:927: error: expected expression before ‘)’ token LDAPapi.c:931: error: ‘LDAPControl’ undeclared (first use in this function) LDAPapi.c:931: error: ‘sctrls’ undeclared (first use in this function) LDAPapi.c:931: error: expected expression before ‘)’ token LDAPapi.c:932: error: ‘cctrls’ undeclared (first use in this function) LDAPapi.c:932: error: expected expression before ‘)’ token LDAPapi.xs:565: error: storage size of ‘bvalue’ isn’t known LDAPapi.xs:568: warning: implicit declaration of function ‘ldap_compare_ext’ LDAPapi.xs:565: warning: unused variable ‘bvalue’ LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_compare_ext_s’: LDAPapi.c:963: error: ‘LDAP’ undeclared (first use in this function) LDAPapi.c:963: error: ‘ld’ undeclared (first use in this function) LDAPapi.c:963: error: expected expression before ‘)’ token LDAPapi.c:967: error: ‘LDAPControl’ undeclared (first use in this function) LDAPapi.c:967: error: ‘sctrls’ undeclared (first use in this function) LDAPapi.c:967: error: expected expression before ‘)’ token LDAPapi.c:968: error: ‘cctrls’ undeclared (first use in this function) LDAPapi.c:968: error: expected expression before ‘)’ token LDAPapi.xs:584: error: storage size of ‘bvalue’ isn’t known LDAPapi.xs:587: warning: implicit declaration of function ‘ldap_compare_ext_s’ LDAPapi.xs:584: warning: unused variable ‘bvalue’ LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_delete_ext’: LDAPapi.c:996: error: ‘LDAP’ undeclared (first use in this function) LDAPapi.c:996: error: ‘ld’ undeclared (first use in this function) LDAPapi.c:996: error: expected expression before ‘)’ token LDAPapi.c:998: error: ‘LDAPControl’ undeclared (first use in this function) LDAPapi.c:998: error: ‘sctrls’ undeclared (first use in this function) LDAPapi.c:998: error: expected expression before ‘)’ token LDAPapi.c:999: error: ‘cctrls’ undeclared (first use in this function) LDAPapi.c:999: error: expected expression before ‘)’ token LDAPapi.xs:601: warning: implicit declaration of function ‘ldap_delete_ext’ LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_delete_ext_s’: LDAPapi.c:1027: error: ‘LDAP’ undeclared (first use in this function) LDAPapi.c:1027: error: ‘ld’ undeclared (first use in this function) LDAPapi.c:1027: error: expected expression before ‘)’ token LDAPapi.c:1029: error: ‘LDAPControl’ undeclared (first use in this function) LDAPapi.c:1029: error: ‘sctrls’ undeclared (first use in this function) LDAPapi.c:1029: error: expected expression before ‘)’ token LDAPapi.c:1030: error: ‘cctrls’ undeclared (first use in this function) LDAPapi.c:1030: error: expected expression before ‘)’ token LDAPapi.c:1034: warning: implicit declaration of function ‘ldap_delete_ext_s’ LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_search_ext’: LDAPapi.c:1052: error: ‘LDAP’ undeclared (first use in this function) LDAPapi.c:1052: error: ‘ld’ undeclared (first use in this function) LDAPapi.c:1052: error: expected expression before ‘)’ token LDAPapi.c:1058: error: ‘LDAPControl’ undeclared (first use in this function) LDAPapi.c:1058: error: ‘sctrls’ undeclared (first use in this function) LDAPapi.c:1058: error: expected expression before ‘)’ token LDAPapi.c:1059: error: ‘cctrls’ undeclared (first use in this function) LDAPapi.c:1059: error: expected expression before ‘)’ token LDAPapi.xs:653: warning: implicit declaration of function ‘ldap_search_ext’ LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_search_ext_s’: LDAPapi.c:1115: error: ‘LDAP’ undeclared (first use in this function) LDAPapi.c:1115: error: ‘ld’ undeclared (first use in this function) LDAPapi.c:1115: error: expected expression before ‘)’ token LDAPapi.c:1121: error: ‘LDAPControl’ undeclared (first use in this function) LDAPapi.c:1121: error: ‘sctrls’ undeclared (first use in this function) LDAPapi.c:1121: error: expected expression before ‘)’ token LDAPapi.c:1122: error: ‘cctrls’ undeclared (first use in this function) LDAPapi.c:1122: error: expected expression before ‘)’ token LDAPapi.c:1125: error: ‘LDAPMessage’ undeclared (first use in this function) LDAPapi.c:1125: error: ‘res’ undeclared (first use in this function) LDAPapi.xs:700: warning: implicit declaration of function ‘ldap_search_ext_s’ LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_result’: LDAPapi.c:1176: error: ‘LDAP’ undeclared (first use in this function) LDAPapi.c:1176: error: ‘ld’ undeclared (first use in this function) LDAPapi.c:1176: error: expected expression before ‘)’ token LDAPapi.c:1180: error: ‘LDAPMessage’ undeclared (first use in this function) LDAPapi.c:1180: error: ‘result’ undeclared (first use in this function) LDAPapi.xs:724: warning: implicit declaration of function ‘ldap_result’ LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_msgfree’: LDAPapi.c:1214: error: ‘LDAPMessage’ undeclared (first use in this function) LDAPapi.c:1214: error: ‘lm’ undeclared (first use in this function) LDAPapi.c:1214: error: expected expression before ‘)’ token LDAPapi.c:1218: warning: implicit declaration of function ‘ldap_msgfree’ LDAPapi.c: In function ‘XS_Net__LDAPapi_ber_free’: LDAPapi.c:1236: error: ‘BerElement’ undeclared (first use in this function) LDAPapi.c:1236: error: ‘ber’ undeclared (first use in this function) LDAPapi.c:1236: error: expected expression before ‘)’ token LDAPapi.c:1239: warning: implicit declaration of function ‘ber_free’ LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_msgid’: LDAPapi.c:1259: error: ‘LDAPMessage’ undeclared (first use in this function) LDAPapi.c:1259: error: ‘lm’ undeclared (first use in this function) LDAPapi.c:1259: error: expected expression before ‘)’ token LDAPapi.c:1263: warning: implicit declaration of function ‘ldap_msgid’ LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_msgtype’: LDAPapi.c:1281: error: ‘LDAPMessage’ undeclared (first use in this function) LDAPapi.c:1281: error: ‘lm’ undeclared (first use in this function) LDAPapi.c:1281: error: expected expression before ‘)’ token LDAPapi.c:1285: warning: implicit declaration of function ‘ldap_msgtype’ LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_get_lderrno’: LDAPapi.c:1419: error: ‘LDAP’ undeclared (first use in this function) LDAPapi.c:1419: error: ‘ld’ undeclared (first use in this function) LDAPapi.c:1419: error: expected expression before ‘)’ token LDAPapi.xs:807: error: ‘LDAP_OPT_ERROR_NUMBER’ undeclared (first use in this function) LDAPapi.xs:808: error: ‘LDAP_OPT_ERROR_STRING’ undeclared (first use in this function) LDAPapi.xs:809: error: ‘LDAP_OPT_MATCHED_DN’ undeclared (first use in this function) LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_set_lderrno’: LDAPapi.c:1458: error: ‘LDAP’ undeclared (first use in this function) LDAPapi.c:1458: error: ‘ld’ undeclared (first use in this function) LDAPapi.c:1458: error: expected expression before ‘)’ token LDAPapi.xs:831: error: ‘LDAP_OPT_ERROR_NUMBER’ undeclared (first use in this function) LDAPapi.xs:832: error: ‘LDAP_OPT_ERROR_STRING’ undeclared (first use in this function) LDAPapi.xs:833: error: ‘LDAP_OPT_MATCHED_DN’ undeclared (first use in this function) LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_get_entry_controls’: LDAPapi.c:1496: error: ‘LDAP’ undeclared (first use in this function) LDAPapi.c:1496: error: ‘ld’ undeclared (first use in this function) LDAPapi.c:1496: error: expected expression before ‘)’ token LDAPapi.c:1497: error: ‘LDAPMessage’ undeclared (first use in this function) LDAPapi.c:1497: error: ‘entry’ undeclared (first use in this function) LDAPapi.c:1497: error: expected expression before ‘)’ token LDAPapi.xs:862: error: ‘LDAPControl’ undeclared (first use in this function) LDAPapi.xs:862: error: ‘serverctrls’ undeclared (first use in this function) LDAPapi.xs:862: error: expected expression before ‘)’ token LDAPapi.xs:868: warning: implicit declaration of function ‘ldap_get_entry_controls’ LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_parse_result’: LDAPapi.c:1549: error: ‘LDAP’ undeclared (first use in this function) LDAPapi.c:1549: error: ‘ld’ undeclared (first use in this function) LDAPapi.c:1549: error: expected expression before ‘)’ token LDAPapi.c:1550: error: ‘LDAPMessage’ undeclared (first use in this function) LDAPapi.c:1550: error: ‘msg’ undeclared (first use in this function) LDAPapi.c:1550: error: expected expression before ‘)’ token LDAPapi.xs:912: error: ‘LDAPControl’ undeclared (first use in this function) LDAPapi.xs:912: error: ‘serverctrls’ undeclared (first use in this function) LDAPapi.xs:912: error: expected expression before ‘)’ token LDAPapi.xs:926: warning: implicit declaration of function ‘ldap_parse_result’ LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_parse_intermediate’: LDAPapi.c:1637: error: ‘LDAP’ undeclared (first use in this function) LDAPapi.c:1637: error: ‘ld’ undeclared (first use in this function) LDAPapi.c:1637: error: expected expression before ‘)’ token LDAPapi.c:1638: error: ‘LDAPMessage’ undeclared (first use in this function) LDAPapi.c:1638: error: ‘msg’ undeclared (first use in this function) LDAPapi.c:1638: error: expected expression before ‘)’ token LDAPapi.xs:974: error: ‘LDAPControl’ undeclared (first use in this function) LDAPapi.xs:974: error: ‘serverctrls’ undeclared (first use in this function) LDAPapi.xs:974: error: expected expression before ‘)’ token LDAPapi.xs:983: warning: implicit declaration of function ‘ldap_parse_intermediate’ LDAPapi.xs:987: warning: implicit declaration of function ‘ldap_strdup’ LDAPapi.xs:987: error: dereferencing pointer to incomplete type LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_control_oid’: LDAPapi.c:1706: error: ‘LDAPControl’ undeclared (first use in this function) LDAPapi.c:1706: error: ‘control’ undeclared (first use in this function) LDAPapi.c:1706: error: expected expression before ‘)’ token LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_control_berval’: LDAPapi.c:1731: error: ‘LDAPControl’ undeclared (first use in this function) LDAPapi.c:1731: error: ‘control’ undeclared (first use in this function) LDAPapi.c:1731: error: expected expression before ‘)’ token LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_control_critical’: LDAPapi.c:1756: error: ‘LDAPControl’ undeclared (first use in this function) LDAPapi.c:1756: error: ‘control’ undeclared (first use in this function) LDAPapi.c:1756: error: expected expression before ‘)’ token LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_err2string’: LDAPapi.c:1785: warning: implicit declaration of function ‘ldap_err2string’ LDAPapi.c:1785: warning: assignment makes pointer from integer without a cast LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_count_references’: LDAPapi.c:1803: error: ‘LDAP’ undeclared (first use in this function) LDAPapi.c:1803: error: ‘ld’ undeclared (first use in this function) LDAPapi.c:1803: error: expected expression before ‘)’ token LDAPapi.c:1804: error: ‘LDAPMessage’ undeclared (first use in this function) LDAPapi.c:1804: error: ‘result’ undeclared (first use in this function) LDAPapi.c:1804: error: expected expression before ‘)’ token LDAPapi.c:1808: warning: implicit declaration of function ‘ldap_count_references’ LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_count_entries’: LDAPapi.c:1826: error: ‘LDAP’ undeclared (first use in this function) LDAPapi.c:1826: error: ‘ld’ undeclared (first use in this function) LDAPapi.c:1826: error: expected expression before ‘)’ token LDAPapi.c:1827: error: ‘LDAPMessage’ undeclared (first use in this function) LDAPapi.c:1827: error: ‘result’ undeclared (first use in this function) LDAPapi.c:1827: error: expected expression before ‘)’ token LDAPapi.c:1831: warning: implicit declaration of function ‘ldap_count_entries’ LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_first_entry’: LDAPapi.c:1849: error: ‘LDAP’ undeclared (first use in this function) LDAPapi.c:1849: error: ‘ld’ undeclared (first use in this function) LDAPapi.c:1849: error: expected expression before ‘)’ token LDAPapi.c:1850: error: ‘LDAPMessage’ undeclared (first use in this function) LDAPapi.c:1850: error: ‘result’ undeclared (first use in this function) LDAPapi.c:1850: error: expected expression before ‘)’ token LDAPapi.c:1851: error: ‘RETVAL’ undeclared (first use in this function) LDAPapi.c:1854: warning: implicit declaration of function ‘ldap_first_entry’ LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_next_entry’: LDAPapi.c:1872: error: ‘LDAP’ undeclared (first use in this function) LDAPapi.c:1872: error: ‘ld’ undeclared (first use in this function) LDAPapi.c:1872: error: expected expression before ‘)’ token LDAPapi.c:1873: error: ‘LDAPMessage’ undeclared (first use in this function) LDAPapi.c:1873: error: ‘preventry’ undeclared (first use in this function) LDAPapi.c:1873: error: expected expression before ‘)’ token LDAPapi.c:1874: error: ‘RETVAL’ undeclared (first use in this function) LDAPapi.c:1877: warning: implicit declaration of function ‘ldap_next_entry’ LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_first_message’: LDAPapi.c:1895: error: ‘LDAP’ undeclared (first use in this function) LDAPapi.c:1895: error: ‘ld’ undeclared (first use in this function) LDAPapi.c:1895: error: expected expression before ‘)’ token LDAPapi.c:1896: error: ‘LDAPMessage’ undeclared (first use in this function) LDAPapi.c:1896: error: ‘chain’ undeclared (first use in this function) LDAPapi.c:1896: error: expected expression before ‘)’ token LDAPapi.c:1897: error: ‘RETVAL’ undeclared (first use in this function) LDAPapi.c:1900: warning: implicit declaration of function ‘ldap_first_message’ LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_next_message’: LDAPapi.c:1918: error: ‘LDAP’ undeclared (first use in this function) LDAPapi.c:1918: error: ‘ld’ undeclared (first use in this function) LDAPapi.c:1918: error: expected expression before ‘)’ token LDAPapi.c:1919: error: ‘LDAPMessage’ undeclared (first use in this function) LDAPapi.c:1919: error: ‘chain’ undeclared (first use in this function) LDAPapi.c:1919: error: expected expression before ‘)’ token LDAPapi.c:1920: error: ‘RETVAL’ undeclared (first use in this function) LDAPapi.c:1923: warning: implicit declaration of function ‘ldap_next_message’ LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_get_dn’: LDAPapi.c:1941: error: ‘LDAP’ undeclared (first use in this function) LDAPapi.c:1941: error: ‘ld’ undeclared (first use in this function) LDAPapi.c:1941: error: expected expression before ‘)’ token LDAPapi.c:1942: error: ‘LDAPMessage’ undeclared (first use in this function) LDAPapi.c:1942: error: ‘entry’ undeclared (first use in this function) LDAPapi.c:1942: error: expected expression before ‘)’ token LDAPapi.xs:1085: warning: implicit declaration of function ‘ldap_get_dn’ LDAPapi.xs:1089: warning: implicit declaration of function ‘ldap_memfree’ LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_perror’: LDAPapi.c:1977: error: ‘LDAP’ undeclared (first use in this function) LDAPapi.c:1977: error: ‘ld’ undeclared (first use in this function) LDAPapi.c:1977: error: expected expression before ‘)’ token LDAPapi.c:1980: warning: implicit declaration of function ‘ldap_perror’ LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_dn2ufn’: LDAPapi.c:2001: warning: implicit declaration of function ‘ldap_dn2ufn’ LDAPapi.c:2001: warning: assignment makes pointer from integer without a cast LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_str2dn’: LDAPapi.c:2023: error: ‘LDAPDN’ undeclared (first use in this function) LDAPapi.c:2023: error: ‘dn’ undeclared (first use in this function) LDAPapi.c:2023: error: expected expression before ‘)’ token LDAPapi.c:2028: warning: implicit declaration of function ‘ldap_str2dn’ LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_str2rdn’: LDAPapi.c:2047: error: ‘LDAPRDN’ undeclared (first use in this function) LDAPapi.c:2047: error: ‘rdn’ undeclared (first use in this function) LDAPapi.c:2047: error: expected expression before ‘)’ token LDAPapi.c:2053: warning: implicit declaration of function ‘ldap_str2rdn’ LDAPapi.xs: In function ‘XS_Net__LDAPapi_ldap_explode_dn’: LDAPapi.xs:1130: warning: implicit declaration of function ‘ldap_explode_dn’ LDAPapi.xs:1130: warning: assignment makes pointer from integer without a cast LDAPapi.xs:1137: warning: implicit declaration of function ‘ldap_value_free’ LDAPapi.xs: In function ‘XS_Net__LDAPapi_ldap_explode_rdn’: LDAPapi.xs:1150: warning: implicit declaration of function ‘ldap_explode_rdn’ LDAPapi.xs:1150: warning: assignment makes pointer from integer without a cast LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_first_attribute’: LDAPapi.c:2146: error: ‘LDAP’ undeclared (first use in this function) LDAPapi.c:2146: error: ‘ld’ undeclared (first use in this function) LDAPapi.c:2146: error: expected expression before ‘)’ token LDAPapi.c:2147: error: ‘LDAPMessage’ undeclared (first use in this function) LDAPapi.c:2147: error: ‘entry’ undeclared (first use in this function) LDAPapi.c:2147: error: expected expression before ‘)’ token LDAPapi.c:2148: error: ‘BerElement’ undeclared (first use in this function) LDAPapi.c:2148: error: ‘ber’ undeclared (first use in this function) LDAPapi.xs:1170: warning: implicit declaration of function ‘ldap_first_attribute’ LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_next_attribute’: LDAPapi.c:2185: error: ‘LDAP’ undeclared (first use in this function) LDAPapi.c:2185: error: ‘ld’ undeclared (first use in this function) LDAPapi.c:2185: error: expected expression before ‘)’ token LDAPapi.c:2186: error: ‘LDAPMessage’ undeclared (first use in this function) LDAPapi.c:2186: error: ‘entry’ undeclared (first use in this function) LDAPapi.c:2186: error: expected expression before ‘)’ token LDAPapi.c:2187: error: ‘BerElement’ undeclared (first use in this function) LDAPapi.c:2187: error: ‘ber’ undeclared (first use in this function) LDAPapi.c:2187: error: expected expression before ‘)’ token LDAPapi.xs:1192: warning: implicit declaration of function ‘ldap_next_attribute’ LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_get_values_len’: LDAPapi.c:2226: error: ‘LDAP’ undeclared (first use in this function) LDAPapi.c:2226: error: ‘ld’ undeclared (first use in this function) LDAPapi.c:2226: error: expected expression before ‘)’ token LDAPapi.c:2227: error: ‘LDAPMessage’ undeclared (first use in this function) LDAPapi.c:2227: error: ‘entry’ undeclared (first use in this function) LDAPapi.c:2227: error: expected expression before ‘)’ token LDAPapi.xs:1216: warning: implicit declaration of function ‘ldap_get_values_len’ LDAPapi.xs:1221: error: dereferencing pointer to incomplete type LDAPapi.xs:1221: error: dereferencing pointer to incomplete type LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_set_rebind_proc’: LDAPapi.c:2334: error: ‘LDAP’ undeclared (first use in this function) LDAPapi.c:2334: error: ‘ld’ undeclared (first use in this function) LDAPapi.c:2334: error: expected expression before ‘)’ token LDAPapi.xs:1257: warning: implicit declaration of function ‘ldap_set_rebind_proc’ LDAPapi.xs:1267: error: ‘internal_rebind_proc’ undeclared (first use in this function) LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_get_all_entries’: LDAPapi.c:2375: error: ‘LDAP’ undeclared (first use in this function) LDAPapi.c:2375: error: ‘ld’ undeclared (first use in this function) LDAPapi.c:2375: error: expected expression before ‘)’ token LDAPapi.c:2376: error: ‘LDAPMessage’ undeclared (first use in this function) LDAPapi.c:2376: error: ‘result’ undeclared (first use in this function) LDAPapi.c:2376: error: expected expression before ‘)’ token LDAPapi.xs:1278: error: ‘entry’ undeclared (first use in this function) LDAPapi.xs:1281: error: ‘BerElement’ undeclared (first use in this function) LDAPapi.xs:1281: error: ‘ber’ undeclared (first use in this function) LDAPapi.xs:1304: error: dereferencing pointer to incomplete type LDAPapi.xs:1304: error: dereferencing pointer to incomplete type LDAPapi.xs:1308: warning: value computed is not used LDAPapi.xs:1310: warning: implicit declaration of function ‘ldap_value_free_len’ LDAPapi.xs:1314: warning: value computed is not used LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_is_ldap_url’: LDAPapi.c:2449: warning: implicit declaration of function ‘ldap_is_ldap_url’ LDAPapi.xs: In function ‘XS_Net__LDAPapi_ldap_url_parse’: LDAPapi.xs:1336: error: ‘LDAPURLDesc’ undeclared (first use in this function) LDAPapi.xs:1336: error: ‘realcomp’ undeclared (first use in this function) LDAPapi.xs:1342: warning: implicit declaration of function ‘ldap_url_parse’ LDAPapi.xs:1392: warning: value computed is not used LDAPapi.xs:1393: warning: value computed is not used LDAPapi.xs:1395: warning: value computed is not used LDAPapi.xs:1396: warning: value computed is not used LDAPapi.xs:1397: warning: value computed is not used LDAPapi.xs:1398: warning: value computed is not used LDAPapi.xs:1399: warning: value computed is not used LDAPapi.xs:1400: warning: value computed is not used LDAPapi.xs:1404: warning: implicit declaration of function ‘ldap_free_urldesc’ LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_sort_entries’: LDAPapi.c:2659: error: ‘LDAP’ undeclared (first use in this function) LDAPapi.c:2659: error: ‘ld’ undeclared (first use in this function) LDAPapi.c:2659: error: expected expression before ‘)’ token LDAPapi.c:2660: error: ‘LDAPMessage’ undeclared (first use in this function) LDAPapi.c:2660: error: ‘chain’ undeclared (first use in this function) LDAPapi.c:2660: error: expected expression before ‘)’ token LDAPapi.xs:1465: warning: implicit declaration of function ‘ldap_sort_entries’ LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_start_tls’: LDAPapi.c:2746: error: ‘LDAP’ undeclared (first use in this function) LDAPapi.c:2746: error: ‘ld’ undeclared (first use in this function) LDAPapi.c:2746: error: expected expression before ‘)’ token LDAPapi.c:2747: error: ‘LDAPControl’ undeclared (first use in this function) LDAPapi.c:2747: error: ‘serverctrls’ undeclared (first use in this function) LDAPapi.c:2747: error: expected expression before ‘)’ token LDAPapi.c:2748: error: ‘clientctrls’ undeclared (first use in this function) LDAPapi.c:2748: error: expected expression before ‘)’ token LDAPapi.xs:1520: warning: implicit declaration of function ‘ldap_start_tls’ LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_start_tls_s’: LDAPapi.c:2776: error: ‘LDAP’ undeclared (first use in this function) LDAPapi.c:2776: error: ‘ld’ undeclared (first use in this function) LDAPapi.c:2776: error: expected expression before ‘)’ token LDAPapi.c:2777: error: ‘LDAPControl’ undeclared (first use in this function) LDAPapi.c:2777: error: ‘serverctrls’ undeclared (first use in this function) LDAPapi.c:2777: error: expected expression before ‘)’ token LDAPapi.c:2778: error: ‘clientctrls’ undeclared (first use in this function) LDAPapi.c:2778: error: expected expression before ‘)’ token LDAPapi.c:2782: warning: implicit declaration of function ‘ldap_start_tls_s’ LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_sasl_interactive_bind_s’: LDAPapi.c:2800: error: ‘LDAP’ undeclared (first use in this function) LDAPapi.c:2800: error: ‘ld’ undeclared (first use in this function) LDAPapi.c:2800: error: expected expression before ‘)’ token LDAPapi.c:2803: error: ‘LDAPControl’ undeclared (first use in this function) LDAPapi.c:2803: error: ‘serverctrls’ undeclared (first use in this function) LDAPapi.c:2803: error: expected expression before ‘)’ token LDAPapi.c:2804: error: ‘clientctrls’ undeclared (first use in this function) LDAPapi.c:2804: error: expected expression before ‘)’ token LDAPapi.xs:1549: error: ‘LDAP_OPT_X_SASL_SECPROPS’ undeclared (first use in this function) LDAPapi.xs:1550: warning: implicit declaration of function ‘ldap_sasl_interactive_bind_s’ LDAPapi.xs:1551: error: ‘ldap_b2_interact’ undeclared (first use in this function) LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_sasl_bind_s’: LDAPapi.c:2838: error: ‘LDAP’ undeclared (first use in this function) LDAPapi.c:2838: error: ‘ld’ undeclared (first use in this function) LDAPapi.c:2838: error: expected expression before ‘)’ token LDAPapi.c:2841: error: ‘LDAPControl’ undeclared (first use in this function) LDAPapi.c:2841: error: ‘serverctrls’ undeclared (first use in this function) LDAPapi.c:2841: error: expected expression before ‘)’ token LDAPapi.c:2842: error: ‘clientctrls’ undeclared (first use in this function) LDAPapi.c:2842: error: expected expression before ‘)’ token LDAPapi.xs:1566: error: storage size of ‘cred’ isn’t known LDAPapi.xs:1576: warning: implicit declaration of function ‘ldap_sasl_bind_s’ LDAPapi.xs:1576: error: ‘LDAP_SASL_SIMPLE’ undeclared (first use in this function) LDAPapi.xs:1566: warning: unused variable ‘cred’ LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_controls_array_init’: LDAPapi.c:2883: error: ‘LDAPControl’ undeclared (first use in this function) LDAPapi.c:2883: error: ‘RETVAL’ undeclared (first use in this function) LDAPapi.xs:1590: error: ‘array’ undeclared (first use in this function) LDAPapi.xs:1591: error: expected expression before ‘)’ token LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_controls_array_free’: LDAPapi.c:2909: error: ‘LDAPControl’ undeclared (first use in this function) LDAPapi.c:2909: error: ‘ctrls’ undeclared (first use in this function) LDAPapi.c:2909: error: expected expression before ‘)’ token LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_control_set’: LDAPapi.c:2935: error: ‘LDAPControl’ undeclared (first use in this function) LDAPapi.c:2935: error: ‘array’ undeclared (first use in this function) LDAPapi.c:2935: error: expected expression before ‘)’ token LDAPapi.c:2936: error: ‘ctrl’ undeclared (first use in this function) LDAPapi.c:2936: error: expected expression before ‘)’ token LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_create_control’: LDAPapi.c:2963: error: ‘LDAPControl’ undeclared (first use in this function) LDAPapi.c:2963: error: ‘ctrlp’ undeclared (first use in this function) LDAPapi.xs:1629: error: ‘ctrl’ undeclared (first use in this function) LDAPapi.xs:1631: warning: implicit declaration of function ‘ber_strdup’ LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_control_free’: LDAPapi.c:2999: error: ‘LDAPControl’ undeclared (first use in this function) LDAPapi.c:2999: error: ‘ctrl’ undeclared (first use in this function) LDAPapi.c:2999: error: expected expression before ‘)’ token LDAPapi.c:3001: warning: implicit declaration of function ‘ldap_control_free’ LDAPapi.c: In function ‘XS_Net__LDAPapi_ber_alloc_t’: LDAPapi.c:3019: error: ‘BerElement’ undeclared (first use in this function) LDAPapi.c:3019: error: ‘RETVAL’ undeclared (first use in this function) LDAPapi.c:3022: warning: implicit declaration of function ‘ber_alloc_t’ make: *** [LDAPapi.o] Error 1 MISHIKAL/Net-LDAPapi-3.0.3.tar.gz /usr/bin/make -- NOT OK CPAN: YAML loaded ok (v0.84) Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible Failed during this command: MISHIKAL/Net-LDAPapi-3.0.3.tar.gz : make NOhttps://mail.telecomitalia.it/owa/?ae=Item&t=IPM.Note&a=New# cpan[2]> m Net::LDAPapi Module id = Net::LDAPapi DESCRIPTION Interface to OpenLDAP and Mozilla LDAP C API CPAN_USERID MISHIKAL (Quanah Gibson-Mount <[email protected]>) CPAN_VERSION 3.000003 CPAN_FILE M/MI/MISHIKAL/Net-LDAPapi-3.0.3.tar.gz UPLOAD_DATE 2008-08-21 DSLIP_STATUS bdcfp (beta,developer,C,functions,Standard-Perl) MANPAGE Net::LDAPapi - Perl5 Module Supporting LDAP API INST_FILE (not installed) _______________________________________________ radiator mailing list [email protected] http://www.open.com.au/mailman/listinfo/radiator
