<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 9">
<meta name=Originator content="Microsoft Word 9">
<link rel=File-List href="cid:filelist.xml@01C38378.12CA2E20">
<!--[if gte mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:View>Normal</w:View>
  <w:Zoom>0</w:Zoom>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:EnvelopeVis/>
 </w:WordDocument>
</xml><![endif]-->
<style>
<!--
 /* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;
        mso-font-charset:0;
        mso-generic-font-family:swiss;
        mso-font-pitch:variable;
        mso-font-signature:553679495 -2147483648 8 0 66047 0;}
 /* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-parent:"";
        margin:0cm;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;
        text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;
        text-underline:single;}
p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig
        {margin:0cm;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
span.EmailStyle16
        {mso-style-type:personal;
        mso-ansi-font-size:10.0pt;
        mso-ascii-font-family:Arial;
        mso-hansi-font-family:Arial;
        mso-bidi-font-family:Arial;
        color:black;}
span.EmailStyle17
        {mso-style-type:personal;
        mso-ansi-font-size:10.0pt;
        mso-ascii-font-family:Arial;
        mso-hansi-font-family:Arial;
        mso-bidi-font-family:Arial;
        color:black;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        mso-ansi-font-size:10.0pt;
        mso-ascii-font-family:Arial;
        mso-hansi-font-family:Arial;
        mso-bidi-font-family:Arial;
        color:navy;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;
        mso-header-margin:36.0pt;
        mso-footer-margin:36.0pt;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
-->
</style>
</head>

<body lang=EN-US link=blue vlink=purple style='tab-interval:36.0pt'>

<div class=Section1>

<p class=MsoNormal><span class=EmailStyle18><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>Hi Brian!<o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=EmailStyle18><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=EmailStyle18><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>Thx – you brought
up an idea in my head. Up to now, I only had the devel rpms and the client rpms
installed. When I installed the shared library rpms from <a
href="http://www.mysql.com/">www.mysql.com</a> additionally to the first two
rpms, compilation worked out! <o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=EmailStyle18><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=EmailStyle18><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>Summary of
installed RPM packages: <o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=EmailStyle18><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=EmailStyle18><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>MySQL-devel-4.0.15-0<o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=EmailStyle18><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>MySQL-client-4.0.15-0<o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=EmailStyle18><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>MySQL-shared-4.0.15-0<o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=EmailStyle18><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=EmailStyle18><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>…all from <a
href="http://www.mysql.com/">www.mysql.com</a>, working fine on Red Hat 9<o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=EmailStyle18><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=EmailStyle18><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>Thanx a
lot also to Marc for his support!<o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=EmailStyle18><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>All the
best, <o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=EmailStyle18><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>Phil<o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=EmailStyle18><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></span></p>

<p class=MsoNormal><font size=2 color=black face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:black'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b> Brian Snead
[mailto:BSnead@infosysnetworks.com]<br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, September 24, 2003
10:38 PM<br>
<b><span style='font-weight:bold'>To:</span></b> Straka Philipp GUR;
nagios-users@lists.sourceforge.net<br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: [Nagios-users] nagios
compilation problems</span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>I had the same problems you are
describing. I tried several different ways of installing mysql, libraries and
clients. Finally, the only way I could get Nagios 1.1 to compile with mysql
support was to remove mysql and install the version that came with Redhat 9.0.
Then I let Redhat up2date upgrade the version to 3.23.56-9. This still would
not work, so I downloaded the mysql-devel-3.23.56-9 from rpmfind.net. </span></font><font
color=black><span style='color:black;mso-color-alt:windowtext'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt;color:black'> </span></font><font color=black><span
style='color:black;mso-color-alt:windowtext'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>Then, go into the nagios-1.1 source
directory and 'make clean'</span></font><font color=black><span
style='color:black;mso-color-alt:windowtext'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>then ./configure --with-mysql-xdata
--with-mysql-lib=/usr/lib/mysql --with-mysql-inc=/usr/include/mysql</span></font><font
color=black><span style='color:black;mso-color-alt:windowtext'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>then make all</span></font><font
color=black><span style='color:black;mso-color-alt:windowtext'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt;color:black'> </span></font><font color=black><span
style='color:black;mso-color-alt:windowtext'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>Hope this helps.</span></font><font
color=black><span style='color:black;mso-color-alt:windowtext'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt;color:black'> </span></font><font color=black><span
style='color:black;mso-color-alt:windowtext'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>Brian.</span></font><font color=black><span
style='color:black;mso-color-alt:windowtext'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:12.0pt;
margin-left:36.0pt'><font size=2 color=black face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;color:black'>-----Original
Message-----<br>
<b><span style='font-weight:bold'>From:</span></b> Philipp.Straka@avl.com
[mailto:Philipp.Straka@avl.com]<br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, September 24,
2003 1:47 AM<br>
<b><span style='font-weight:bold'>To:</span></b> nagios-users@lists.sourceforge.net<br>
<b><span style='font-weight:bold'>Subject:</span></b> [Nagios-users] nagios
compilation problems</span></font><font color=black><span style='color:black;
mso-color-alt:windowtext'><o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:36.0pt'><span class=EmailStyle16><font
size=2 color=black face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:Arial'>I need help. <o:p></o:p></span></font></span></p>

<p class=MsoNormal style='margin-left:36.0pt'><span class=EmailStyle16><font
size=2 color=black face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:Arial'> <o:p></o:p></span></font></span></p>

<p class=MsoNormal style='margin-left:36.0pt'><span class=EmailStyle17><font
size=2 color=black face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:Arial'>-- When I try to compile, the compiler tells me, that
the files ./xdata/x?ddb.c at line xx produce the error “no such file”. <o:p></o:p></span></font></span></p>

<p class=MsoNormal style='margin-left:36.0pt'><span class=EmailStyle17><font
size=2 color=black face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:Arial'>-- In the specified line of the c files, there is an
include statement requesting the files “mysql.h” and “errmsg.h”. <o:p></o:p></span></font></span></p>

<p class=MsoNormal style='margin-left:36.0pt'><span class=EmailStyle17><font
size=2 color=black face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:Arial'>-- I altered the include statement there from
“mysql/mysql.h” to “mysql.h” and supplied the configure script with
“—with-mysql-inc=/usr/local/include” (left the dir mysql away)</span></font></span><font
color=black><span style='color:black'> </span></font><span class=EmailStyle17><font
size=2 color=black face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:Arial'><o:p></o:p></span></font></span></p>

<p class=MsoNormal style='margin-left:36.0pt'><span class=EmailStyle17><font
size=2 color=black face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:Arial'>-- The new error is coming from “mysql.h”. This file
has an include statement in line 107 requesting for the file “my_alloc.h”</span></font></span><font
color=black><span style='color:black'> </span></font><span class=EmailStyle17><font
size=2 color=black face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:Arial'><o:p></o:p></span></font></span></p>

<p class=MsoNormal style='margin-left:36.0pt'><span class=EmailStyle17><font
size=2 color=black face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:Arial'>-- The file “my_alloc.h” I found in the include
directory of the src distribution of mysql. <o:p></o:p></span></font></span></p>

<p class=MsoNormal style='margin-left:36.0pt'><span class=EmailStyle17><font
size=2 color=black face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:Arial'>-- When I tried to compile after having copied this
file to the location specified in “mysql.h:107”, there was another error. It is
an “undefined reference to mysql_init()”, most probably because the
“my_alloc.c” file is not there with the corresponding header file. But I could
not find the .c file anywhere!</span></font></span><font color=black><span
style='color:black'> </span></font><span class=EmailStyle17><font size=2
color=black face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;
font-family:Arial'><o:p></o:p></span></font></span></p>

<p class=MsoNormal style='margin-left:36.0pt'><span class=EmailStyle16><font
size=2 color=black face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:Arial'> <o:p></o:p></span></font></span></p>

<p class=MsoNormal style='margin-left:36.0pt'><span class=EmailStyle16><font
size=2 color=black face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:Arial'>What can I do to get Nagios up’n’running?<o:p></o:p></span></font></span></p>

<p class=MsoNormal style='margin-left:36.0pt'><span class=EmailStyle16><font
size=2 color=black face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:Arial'> <o:p></o:p></span></font></span></p>

<p class=MsoNormal style='margin-left:36.0pt'><span class=EmailStyle16><font
size=2 color=black face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:Arial'>I would be glad for help! :o)<o:p></o:p></span></font></span></p>

<p class=MsoNormal style='margin-left:36.0pt'><span class=EmailStyle16><font
size=2 color=black face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:Arial'>Phil Straka<o:p></o:p></span></font></span></p>

<p class=MsoNormal style='margin-left:36.0pt'><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt;color:black'> </span></font><font
color=black><span style='color:black;mso-color-alt:windowtext'><o:p></o:p></span></font></p>

</div>

</body>

</html>