Problems Compile Nagios Plugin 1.4.13 All this big mess started because I need the MySQLPerf plugin, whitch is a really cool plugin, but it needs the source of the official plugin.
The version I am compiling is the 1.4.13 and by running the config I got quite a few (WARNINGS): configure:22140: WARNING: Skipping PostgreSQL plugin (check_pgsql) configure:22142: WARNING: LIBS="-lcrypt " CPPFLAGS="" configure:22144: WARNING: install PostgreSQL libs to compile this plugin (see REQUIREMENTS). configure:22309: WARNING: Skipping radius plugin configure:22311: WARNING: install radius libs to compile this plugin (see REQUIREMENTS). configure:22581: WARNING: Skipping LDAP plugin configure:22583: WARNING: install LDAP libs to compile this plugin (see REQUIREMENTS). configure:27208: WARNING: Could not find qmail-qstat or eqivalent Since I would like to have the radius and LDAP option I looked up the Requirements: check_radius # wget ftp://ftp.cityline.net/pub/radiusclient/radiusclient-0.3.tar.gz # cd radiusclient-0.3 # ./configure # make # make install check_ldap: - Requires the LDAP libraries available from http://www.openldap.org/ Lib: libldap, liblber Redhat Source: openldap-1.2.9-6.i386.rpm, openldap-devel-1.2.9-6.i386.rpm I was unable to get LDAP libraries to work. I just did: # ./configure --with-openssl=/usr/include/openssl --enable-perl-modules --with-perl=/usr/bin/perl --with-nagios-user=nagios --with-apt-get-command: /usr/bin/apt-get --with-ping6-command: /bin/ping6 -n -U -w %d -c %d %s --with-ping-command: /bin/ping -n -U -w %d -c %d %s --with-ipv6: yes --with-mysql: /usr/bin/mysql_config --with-openssl: yes --with-gnutls: no --enable-extra-opts: no --with-perl: /usr/bin/perl --enable-perl-modules: yes --with-cgiurl: /nagios/cgi-bin --with-trusted-path: /bin:/sbin:/usr/bin:/usr/sbin After download and compiling both radiusclient-ng and the official one: I get error on the make. /include/openssl/include -I/usr/include/openssl/include -g -O2 -MT check_radius.o -MD -MP -MF ".deps/check_radius.Tpo" -c -o check_radius.o check_radius.c; \ then mv -f ".deps/check_radius.Tpo" ".deps/check_radius.Po"; else rm -f ".deps/check_radius.Tpo"; exit 1; fi check_radius.c: In function ‘main’: check_radius.c:142: error: ‘BUFFER_LEN’ undeclared (first use in this function) check_radius.c:142: error: (Each undeclared identifier is reported only once check_radius.c:142: error: for each function it appears in.) make[2]: *** [check_radius.o] Error 1 I see the ./configure does: configure:22158: checking for rc_read_config in -lradiusclient configure:22193: gcc -o conftest -g -O2 -L. conftest.c -lradiusclient >&5 ac_cv_lib_radiusclient_rc_read_config=yes EXTRAS=' check_radius check_ide_smart check_mysql check_mysql_query check_procs check_nagios check_dns check_hpjd check_snmp check_game check_fping check_by_ssh check_swap check_dig check_apt check_nt' RADIUSLIBS='-lradiusclient' Then I find the radiusclient: # dpkg -l | grep radius ii libpam-radius-auth 1.3.16-4.3 The PAM RADIUS authentication module # dpkg -purge libpam-radius-auth Still no LUCKY Updated OPENSSL From openssl 0.9.8c-4etch3 to openssl_0.9.8c-4etch4_i386.deb Installed both debian radius called "libradius1" and "libradius1-dev". Still same problem! 2 questions, 1.Is it possible to do the ./Configure --.without (radiusclient) I have tried many ways but it always find it then gives me errors and exits. 2. Is my problem with OpenSSL instead? If so how to fix it? Thanks in Advance, Felipe Ferreira www.felipeferreira.net ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Nagios-users mailing list [email protected] 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
