Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Feb 2003 16:03:50 -0600 (CST)
From:      clb@midasnetworks.com
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/47873: <buildin nagios plugins fails
Message-ID:  <200302032203.h13M3odM040686@mnoc.midasnetworks.com>

next in thread | raw e-mail | index | archive | help

>Number:         47873
>Category:       ports
>Synopsis:       <buildin nagios plugins fails
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 03 14:10:09 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     clb@midasnetworks.com
>Release:        FreeBSD 4.7-RELEASE i386
>Organization:
<Midas Networks>
>Environment:
System: FreeBSD mnoc.midasnetworks.com 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Wed Oct 9 15:08:34 GMT 2002 root@builder.freebsdmall.com:/usr/obj/usr/src/sys/GENERIC i386

Perl version 5.6.1 built from ports and activated with use.perl ports
	
>Description:
	<Makefile for nagios fails when trying to build the plugins.  
===>  Building for nagios-plugins-1.3.0.b2
Making all in plugins
gmake[1]: Entering directory `/usr/ports/net/nagios-plugins/work/nagios-plugins-1.3.0-beta2/plugins'
cc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I/usr/include     -O -pipe  -c check_mysql.c
check_mysql.c:24: mysql/mysql.h: No such file or directory
check_mysql.c:25: mysql/errmsg.h: No such file or directory
check_mysql.c:31: `MYSQL_PORT' undeclared here (not in a function)
check_mysql.c: In function `main':
check_mysql.c:43: syntax error before `mysql'
check_mysql.c:50: `mysql' undeclared (first use in this function)
check_mysql.c:50: (Each undeclared identifier is reported only once
check_mysql.c:50: for each function it appears in.)
check_mysql.c:56: `CR_UNKNOWN_HOST' undeclared (first use in this function)
check_mysql.c:61: `CR_VERSION_ERROR' undeclared (first use in this function)
check_mysql.c:66: `CR_OUT_OF_MEMORY' undeclared (first use in this function)
check_mysql.c:71: `CR_IPSOCK_ERROR' undeclared (first use in this function)
check_mysql.c:76: `CR_SOCKET_CREATE_ERROR' undeclared (first use in this function)
check_mysql.c:89: warning: passing arg 2 of `sprintf' makes pointer from integer without a cast
check_mysql.c:94: `CR_SERVER_GONE_ERROR' undeclared (first use in this function)
check_mysql.c:99: `CR_SERVER_LOST' undeclared (first use in this function)
check_mysql.c:104: `CR_UNKNOWN_ERROR' undeclared (first use in this function)
check_mysql.c: In function `print_help':
check_mysql.c:256: `MYSQL_PORT' undeclared (first use in this function)
gmake[1]: *** [check_mysql.o] Error 1
gmake[1]: Leaving directory `/usr/ports/net/nagios-plugins/work/nagios-plugins-1.3.0-beta2/plugins'
gmake: *** [all-recursive] Error 1
*** Error code 2

Stop in /usr/ports/net/nagios-plugins.
*** Error code 1

Stop in /usr/ports/net/nagios-plugins.
*** Error code 1

Stop in /usr/ports/net/nagios.

===>  Building for nagios-plugins-1.3.0.b2
Making all in plugins
gmake[1]: Entering directory `/usr/ports/net/nagios-plugins/work/nagios-plugins-1.3.0-beta2/plugins'
cc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I/usr/include     -O -pipe  -c check_mysql.c
check_mysql.c:24: mysql/mysql.h: No such file or directory
check_mysql.c:25: mysql/errmsg.h: No such file or directory
check_mysql.c:31: `MYSQL_PORT' undeclared here (not in a function)
check_mysql.c: In function `main':
check_mysql.c:43: syntax error before `mysql'
check_mysql.c:50: `mysql' undeclared (first use in this function)
check_mysql.c:50: (Each undeclared identifier is reported only once
check_mysql.c:50: for each function it appears in.)
check_mysql.c:56: `CR_UNKNOWN_HOST' undeclared (first use in this function)
check_mysql.c:61: `CR_VERSION_ERROR' undeclared (first use in this function)
check_mysql.c:66: `CR_OUT_OF_MEMORY' undeclared (first use in this function)
check_mysql.c:71: `CR_IPSOCK_ERROR' undeclared (first use in this function)
check_mysql.c:76: `CR_SOCKET_CREATE_ERROR' undeclared (first use in this function)
check_mysql.c:89: warning: passing arg 2 of `sprintf' makes pointer from integer without a cast
check_mysql.c:94: `CR_SERVER_GONE_ERROR' undeclared (first use in this function)
check_mysql.c:99: `CR_SERVER_LOST' undeclared (first use in this function)
check_mysql.c:104: `CR_UNKNOWN_ERROR' undeclared (first use in this function)
check_mysql.c: In function `print_help':
check_mysql.c:256: `MYSQL_PORT' undeclared (first use in this function)
gmake[1]: *** [check_mysql.o] Error 1
gmake[1]: Leaving directory `/usr/ports/net/nagios-plugins/work/nagios-plugins-1.3.0-beta2/plugins'
gmake: *** [all-recursive] Error 1
*** Error code 2

Stop in /usr/ports/net/nagios-plugins.
*** Error code 1

Stop in /usr/ports/net/nagios-plugins.
*** Error code 1

Stop in /usr/ports/net/nagios.

>
>How-To-Repeat:
	<make install clean in /usr/ports/net/nagios>
>Fix:

	


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302032203.h13M3odM040686>