<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN class=689022313-21072004><FONT face=Arial color=#0000ff size=2>I
think that you don't have mysql-devel installed on your
system</FONT></SPAN></DIV>
<DIV><SPAN class=689022313-21072004><FONT face=Arial color=#0000ff
size=2>Bye</FONT></SPAN></DIV>
<DIV><SPAN class=689022313-21072004> <FONT face=Arial
color=#0000ff size=2>Roberto</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B>
nagios-users-admin@lists.sourceforge.net
[mailto:nagios-users-admin@lists.sourceforge.net]<B>On Behalf Of
</B>Steve<BR><B>Sent:</B> mercoledì 21 luglio 2004 16.39<BR><B>To:</B>
Nagios-users@lists.sourceforge.net<BR><B>Subject:</B> [Nagios-users] any
ideas<BR><BR></FONT></DIV>
<DIV><FONT face=Arial size=2>this is on solaris 9 </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>conf looks like this </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> ./configure
--with-gd-inc=/usr/local/include/ --with-gd-lib=/usr/local/include/
--with-nagios-user=nagios --with-nagios-grp=nagios --with-mysql-xdata
--with-mysql-status --with-mysql-comments --with-mysql-extinfo
--with-default-comments --with-default-status --with-mysql-retention
--with-template-objects --with-mysql-downtime
--with-mysql-lib=/usr/local/src/mysql-max-4.0.20-sun-solaris2.9-sparc/include/
--enable-embedded-perl --with-perlcache<BR></FONT></DIV>
<DIV><FONT face=Arial size=2> </DIV></FONT>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>bash-2.05# /usr/local/bin/make all<BR>cd ./base
&& /usr/local/bin/make<BR>make[1]: Entering directory
`/usr/local/src/nagios-1.2/base'<BR>/usr/local/bin/gcc -g -O2
-I/usr/local/include/ -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64
-I/usr/local/lib/perl5/5.8.4/sun4-solaris/CORE -DHAVE_CONFIG_H -DNSCORE
-L/usr/local/src/mysql-max-4.0.20-sun-solaris2.9-sparc/include/
-L/usr/local/include/ -lmysqlclient nagios.c checks.o config.o
commands.o flapping.o logging.o notifications.o sehandlers.o utils.o
sretention.o ../xdata/xrddb.c ../common/comments.c ../xdata/xcddefault.c
../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c
../xdata/xsddefault.c perfdata.o ../xdata/xpddefault.c ../common/downtime.c
../xdata/xdddb.c
/usr/local/lib/perl5/5.8.4/sun4-solaris/auto/DynaLoader/DynaLoader.a
-L/usr/local/lib/perl5/5.8.4/sun4-solaris/CORE -lperl -lsocket -lnsl -ldl -lm
-lc -lm -o nagios<BR>../xdata/xrddb.c:41:25: mysql/mysql.h: No such file or
directory<BR>../xdata/xrddb.c:42:26: mysql/errmsg.h: No such file or
directory<BR>../xdata/xrddb.c:59: error: parse error before
"xrddb_mysql"<BR>../xdata/xrddb.c:59: warning: data definition has no type or
storage class<BR>../xdata/xrddb.c: In function
`xrddb_read_program_information':<BR>../xdata/xrddb.c:823: error: `MYSQL_RES'
undeclared (first use in this function)<BR>../xdata/xrddb.c:823: error: (Each
undeclared identifier is reported only once<BR>../xdata/xrddb.c:823: error:
for each function it appears in.)<BR>../xdata/xrddb.c:823: error:
`query_result' undeclared (first use in this
function)<BR>../xdata/xrddb.c:824: error: `MYSQL_ROW' undeclared (first use in
this function)<BR>../xdata/xrddb.c:824: error: parse error before
"result_row"<BR>../xdata/xrddb.c:854: error: `result_row' undeclared (first
use in this function)<BR>../xdata/xrddb.c: In function
`xrddb_read_host_information':<BR>../xdata/xrddb.c:921: error: `MYSQL_RES'
undeclared (first use in this function)<BR>../xdata/xrddb.c:921: error:
`query_result' undeclared (first use in this
function)<BR>../xdata/xrddb.c:922: error: `MYSQL_ROW' undeclared (first use in
this function)<BR>../xdata/xrddb.c:922: error: parse error before
"result_row"<BR>../xdata/xrddb.c:955: error: `result_row' undeclared (first
use in this function)<BR>../xdata/xrddb.c: In function
`xrddb_read_service_information':<BR>../xdata/xrddb.c:1098: error: `MYSQL_RES'
undeclared (first use in this function)<BR>../xdata/xrddb.c:1098: error:
`query_result' undeclared (first use in this
function)<BR>../xdata/xrddb.c:1099: error: `MYSQL_ROW' undeclared (first use
in this function)<BR>../xdata/xrddb.c:1099: error: parse error before
"result_row"<BR>../xdata/xrddb.c:1133: error: `result_row' undeclared (first
use in this function)<BR>^Cmake[1]: *** [nagios] Interrupt<BR>make: *** [all]
Error 130</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>bash-2.05#<BR></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BLOCKQUOTE></BODY></HTML>