compile check_ldap on fedora 9

Kermito le kermit angeolivier2003 at yahoo.fr
Sat Sep 6 12:03:58 CEST 2008


 hello 

i want to use check_ladp but when i  do  make check_ldap
 

i have this :



[root at localhost plugins]# make check_ldap
if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl   -I/usr/local/ssl/include  -I/usr/local/ssl/include  -g -O2 -MT check_ldap.o -MD -MP -MF ".deps/check_ldap.Tpo" -c -o check_ldap.o check_ldap.c; \
    then mv -f ".deps/check_ldap.Tpo" ".deps/check_ldap.Po"; else rm -f ".deps/check_ldap.Tpo"; exit 1; fi
check_ldap.c:42:18: erreur: lber.h : Aucun fichier ou dossier de ce type
check_ldap.c:43:18: erreur: ldap.h : Aucun fichier ou dossier de ce type
check_ldap.c: In function ‘main’:
check_ldap.c:93: erreur: ‘LDAP’ undeclared (first use in this function)
check_ldap.c:93: erreur: (Each undeclared identifier is reported only once
check_ldap.c:93: erreur: for each function it appears in.)
check_ldap.c:93: erreur: ‘ld’ undeclared (first use in this function)
check_ldap.c:94: erreur: ‘LDAPMessage’ undeclared (first use in this function)
check_ldap.c:94: erreur: ‘result’ undeclared (first use in this function)
check_ldap.c:157: erreur: ‘LDAPS_PORT’ undeclared (first use in this function)
check_ldap.c:201: erreur: ‘LDAP_AUTH_SIMPLE’ undeclared (first use in this function)
check_ldap.c:202: erreur: ‘LDAP_SUCCESS’ undeclared (first use in this function)
check_ldap.c:210: erreur: ‘LDAP_SCOPE_BASE’ undeclared (first use in this function)
check_ldap.c: In function ‘process_arguments’:
check_ldap.c:354: erreur: ‘LDAPS_PORT’ undeclared (first use in this function)
check_ldap.c: In function ‘print_help’:
check_ldap.c:427: erreur: ‘LDAPS_PORT’ undeclared (first use in this function)
make: *** [check_ldap.o] Erreur 1



i am on fedora 9

in debian 4 in make apt-get install libldap2-dev to resolv this but on fedora 9 

help



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080906/3078ff4d/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list