<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2800.1226" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=534362423-31102003><FONT face=Arial color=#0000ff size=2>Well I
receive the following error after an apperantly successfull
install:</FONT></SPAN></DIV>
<DIV><SPAN class=534362423-31102003><FONT face=Arial color=#0000ff
size=2>{$PATH}=/sbin installation path. </FONT></SPAN></DIV>
<DIV><SPAN class=534362423-31102003><FONT face=Arial color=#0000ff
size=2>Premature end of script headers. {$PATH}/cginame.cgi</FONT></SPAN></DIV>
<DIV><SPAN class=534362423-31102003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=534362423-31102003><FONT face=Arial color=#0000ff size=2>Here
is the error output from the command below:</FONT></SPAN></DIV>
<DIV><SPAN class=534362423-31102003><FONT face=Arial color=#0000ff
size=2>#CPPFLAGS="-I/usr/include"LDFLAGS="-L/usr/lib" ./configure
--prefix=/var/www/htdocs/nagios \ --with-nagios-user=nagios\
--with-nagios-group=nagios \ --with-gd-lib=/usr/local/lib \
--with-gd-inc=/usr/local/include \ --with-mysql-lib=/usr/local/lib/mysql \
--with-mysql-inc=/usr/local/include/mysql \ --with-htmurl=/nagios/ \
--with-cgiurl=/nagios/cgi-bin \ --with-mysql-downtime \ --with-mysql-comments \
--with-mysql-status \ --with-mysql-retention \ --with-mysql-extinfo \
--with-mysql-xdata <BR>configure: warning: --with-nagios-user=nagios
--with-nagios-group=nagios: invalid host type<BR>configure: warning:
--with-gd-lib=/usr/local/lib: invalid host type<BR>configure: error: can only
configure for one host and one target at a time<BR></FONT></SPAN></DIV>
<DIV><SPAN class=534362423-31102003><FONT face=Arial color=#0000ff
size=2>Platform </FONT></SPAN></DIV>
<DIV><SPAN class=534362423-31102003><FONT face=Arial color=#0000ff
size=2>OpenBSD 3.3</FONT></SPAN></DIV>
<DIV><SPAN class=534362423-31102003><FONT face=Arial color=#0000ff size=2>Here
is my original ./configure command:</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2>./configure --prefix=/var/www/htdocs/nagios
--with-nagios-user=nagios --with-nagios-group=nagios
--with-gd-lib=/usr/local/lib --with-gd-inc=/usr/local/include
--with-mysql-lib=/usr/local/lib/mysql --with-mysql-inc=/usr/local/include/mysql
--with-mysql-xdata --with-mysql-downtime --with-mysql-comments
--with-mysql-status --with-mysql-retention --with-mysql-extinfo</FONT></DIV>
<DIV align=left><FONT face=Arial size=2></FONT> </DIV>
<DIV align=left><FONT face=Arial size=2><SPAN class=534362423-31102003>Make
seems fine.</SPAN></FONT></DIV>
<DIV align=left><FONT face=Arial size=2><SPAN
class=534362423-31102003></SPAN></FONT><FONT face=Arial size=2><FONT face=Arial
color=#0000ff size=2></FONT></FONT> </DIV>
<DIV align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=534362423-31102003>Tried that no dice.</SPAN></FONT></DIV>
<DIV align=left><FONT face=Arial size=2><FONT
color=#0000ff></FONT></FONT> </DIV>
<DIV align=left><FONT face=Arial size=2><FONT color=#0000ff></FONT> </DIV>
<DIV align=left>
<DIV align=left><FONT face=Arial size=2>Hazen Valliant-Saunders
</FONT></DIV></FONT></DIV>
<DIV align=left><FONT face=Arial size=2>Communications &
Infrastructre</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>Bookham Technology </FONT></DIV>
<DIV align=left><FONT face=Arial size=2>Kanata ON</FONT></DIV>
<DIV align=left><FONT face=Arial size=2></FONT> </DIV>
<DIV align=left><FONT face=Arial size=2>Phone: +1 (613)
270-4104</FONT></DIV>
<DIV align=left><FONT face=Arial
size=2>Fax: +1 (613)
270-4002</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>Mobile: +1 (613)
355-5977</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>E-Mail: </FONT><FONT face=Arial
size=2><A href="mailto:hazen@bookham.com">hazen@bookham.com</A></FONT></DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Yarmen Alero
[mailto:enigmadivide@yahoo.com] <BR><B>Sent:</B> October 31, 2003 3:55
PM<BR><B>To:</B> nagios-users@lists.sourceforge.net<BR><B>Subject:</B>
[Nagios-users] RE: Problems compiling with status/map MYSQl
functionality<BR><BR></FONT></DIV>
<DIV>
<DIV>
<DIV>Try this compile line and it should find all the directories your
needing</DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV>CPPFLAGS="-I/usr/include" LDFLAGS="-L/usr/lib -L/lib"
./configure<BR>
--prefix=/usr/local/nagios
\<BR>
--with-cgiurl=/nagios/cgi-bin
\<BR>
--with-htmurl=/nagios/
\<BR>
--with-nagios-user=apache
\<BR>
--with-nagios-grp=apache
\<BR>
--with-mysql-downtime
\<BR>
--with-mysql-comments
\<BR>
--with-mysql-status
\<BR>
--with-mysql-retention
\<BR>
--with-mysql-extinfo
\<BR>
--with-mysql-xdata
\<BR>
--with-mysql-inc=/usr/local/mysql/include
\<BR>
--with-mysql-lib=/usr/local/mysql/lib<BR></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV>this MAY be a bug but if you only declare --with-mysql-xdata and you do
not declare the other mysql database options then the compiler defines are not
set...i check each .c file and noticed they only check for the individual
--with-mysql-(option). hope this helps you</DIV></DIV></DIV>
<P>
<HR SIZE=1>
Do you Yahoo!?<BR>Exclusive Video Premiere - <A
href="http://launch.yahoo.com/video/?1093432&fs=1&redirectURL=http://launch.yahoo.com/promos/britneyspears/">Britney
Spears</A></BLOCKQUOTE><FONT SIZE=3><BR>
<BR>
<BR>
<BR>
=======================================================================<BR>
This e-mail is intended for the person it is addressed to only. The<BR>
information contained in it may be confidential and/or protected by<BR>
law. If you are not the intended recipient of this message, you must<BR>
not make any use of this information, or copy or show it to any<BR>
person. Please contact us immediately to tell us that you have<BR>
received this e-mail, and return the original to us. Any use,<BR>
forwarding, printing or copying of this message is strictly prohibited.<BR>
No part of this message can be considered a request for goods or<BR>
services.<BR>
=======================================================================<BR>
Any questions about Bookham's E-Mail service should be directed to<BR>
postmaster@bookham.com.<BR>
</FONT>
</BODY></HTML>