I read that webmin has a 3rd party modeule for LDAP. For that purpose, I need to install Nestcape LDAP SDK (done) and perldap (from www.mozilla.og/directory)

In the how_to_install_perldap, after extracting the gz file, I need to do "perl Makefile.PL" if there is no error, do "make"

The problem is that I'm having no error with "perl Makefile.PL" but I cant do the "make". The terminal show me 1 error which I couldn't figure it out what happen. I attached a txt file copy_paste from the terminal. Could someone please guide me whats wrong with it?

There is a line stated:
API.c:53:23: ldap_ssl.h: No such file or directory
But I had the ldap_ssl on directory /usr/include/mozilla-1.4/ldap/ldap_ssl.h which should be the default folder when I install LDAP SDK


Best Regards,

Phillipus.
gcc -c   -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING 
-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-I/usr/include/gdbm -DPERL_POLLUTE  -O2 -march=i386 -mcpu=i686 -g   -DVERSION=\"1.41\"
-DXS_VERSION=\"1.41\" -fPIC "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE"  
-DLDAPV3 -DUSE_SSL API.c
API.c:53:23: ldap_ssl.h: No such file or directory
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_create_sort_control':
API.c:1074: `LDAPsortkey' undeclared (first use in this function)
API.c:1074: `sortKeyList' undeclared (first use in this function)
API.c:1074: parse error before ')' token
API.c: In function `XS_Mozilla__LDAP__API_ldap_create_sort_keylist':
API.c:1095: `LDAPsortkey' undeclared (first use in this function)
API.c:1095: `sortKeyList' undeclared (first use in this function)
API.c: In function `XS_Mozilla__LDAP__API_ldap_create_virtuallist_control':
API.c:1116: `LDAPVirtualList' undeclared (first use in this function)
API.c:1116: `ldvlistp' undeclared (first use in this function)
API.c:1116: parse error before ')' token
API.c: In function `XS_Mozilla__LDAP__API_ldap_free_friendlymap':
API.c:1435: `FriendlyMap' undeclared (first use in this function)
API.c:1435: `map' undeclared (first use in this function)
API.c:1435: parse error before ')' token
API.c: In function `XS_Mozilla__LDAP__API_ldap_free_sort_keylist':
API.c:1452: `LDAPsortkey' undeclared (first use in this function)
API.c:1452: `sortKeyList' undeclared (first use in this function)
API.c:1452: parse error before ')' token
API.c: In function `XS_Mozilla__LDAP__API_ldap_friendly_name':
API.c:1483: `FriendlyMap' undeclared (first use in this function)
API.c:1483: `map' undeclared (first use in this function)
API.c:1483: parse error before ')' token
API.c: In function `XS_Mozilla__LDAP__API_ldap_get_lang_values':
API.c:1586: warning: initialization makes pointer from integer without a cast
API.c: In function `XS_Mozilla__LDAP__API_ldap_get_lang_values_len':
API.c:1608: warning: initialization makes pointer from integer without a cast
API.c: In function `XS_Mozilla__LDAP__API_ldap_memcache_destroy':
API.c:1818: `LDAPMemCache' undeclared (first use in this function)
API.c:1818: `cache' undeclared (first use in this function)
API.c:1818: parse error before ')' token
API.c: In function `XS_Mozilla__LDAP__API_ldap_memcache_flush':
API.c:1832: `LDAPMemCache' undeclared (first use in this function)
API.c:1832: `cache' undeclared (first use in this function)
API.c:1832: parse error before ')' token
API.c: In function `XS_Mozilla__LDAP__API_ldap_memcache_get':
API.c:1849: `LDAPMemCache' undeclared (first use in this function)
API.c:1849: `cachep' undeclared (first use in this function)
API.c: In function `XS_Mozilla__LDAP__API_ldap_memcache_init':
API.c:1871: `LDAPMemCache' undeclared (first use in this function)
API.c:1871: `cachep' undeclared (first use in this function)
API.c: In function `XS_Mozilla__LDAP__API_ldap_memcache_set':
API.c:1892: `LDAPMemCache' undeclared (first use in this function)
API.c:1892: `cache' undeclared (first use in this function)
API.c:1892: parse error before ')' token
API.c: In function `XS_Mozilla__LDAP__API_ldap_memcache_update':
API.c:1909: `LDAPMemCache' undeclared (first use in this function)
API.c:1909: `cache' undeclared (first use in this function)
API.c:1909: parse error before ')' token
API.c: In function `XS_Mozilla__LDAP__API_ldap_set_rebind_proc':
API.c:2862: too many arguments to function `ldap_set_rebind_proc'
API.c:2868: warning: passing arg 2 of `ldap_set_rebind_proc' from incompatible pointer 
type
API.c:2868: too many arguments to function `ldap_set_rebind_proc'
API.c: In function `XS_Mozilla__LDAP__API_ldap_set_default_rebind_proc':
API.c:2902: `LDAP_REBINDPROC_CALLBACK' undeclared (first use in this function)
API.c:2902: parse error before ')' token
API.c:2902: too many arguments to function `ldap_set_rebind_proc'
API.c: In function `XS_Mozilla__LDAP__API_ldap_url_parse':
API.c:3028: structure has no member named `lud_options'
API.c: In function `XS_Mozilla__LDAP__API_ldap_version':
API.c:3142: `LDAPVersion' undeclared (first use in this function)
API.c:3142: `ver' undeclared (first use in this function)
API.c:3142: parse error before ')' token
API.c: In function `XS_Mozilla__LDAP__API_ldapssl_init':
API.c:3231: warning: assignment makes pointer from integer without a cast
make: *** [API.o] Error 1

Reply via email to