Problems compiling with status/map MYSQl f unctionality
Hazen Valliant-Saunders
hazen at bookham.com
Mon Nov 3 13:27:01 CET 2003
Well I receive the following error after an apperantly successfull install:
{$PATH}=/sbin installation path.
Premature end of script headers. {$PATH}/cginame.cgi
Here is the error output from the command below:
#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
configure: warning: --with-nagios-user=nagios --with-nagios-group=nagios:
invalid host type
configure: warning: --with-gd-lib=/usr/local/lib: invalid host type
configure: error: can only configure for one host and one target at a time
Platform
OpenBSD 3.3
Here is my original ./configure command:
./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
Make seems fine.
Tried that no dice.
Hazen Valliant-Saunders
Communications & Infrastructre
Bookham Technology
Kanata ON
Phone: +1 (613) 270-4104
Fax: +1 (613) 270-4002
Mobile: +1 (613) 355-5977
E-Mail: hazen at bookham.com <mailto:hazen at bookham.com>
-----Original Message-----
From: Yarmen Alero [mailto:enigmadivide at yahoo.com]
Sent: October 31, 2003 3:55 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] RE: Problems compiling with status/map MYSQl
functionality
Try this compile line and it should find all the directories your needing
CPPFLAGS="-I/usr/include" LDFLAGS="-L/usr/lib -L/lib" ./configure
--prefix=/usr/local/nagios \
--with-cgiurl=/nagios/cgi-bin \
--with-htmurl=/nagios/ \
--with-nagios-user=apache \
--with-nagios-grp=apache \
--with-mysql-downtime \
--with-mysql-comments \
--with-mysql-status \
--with-mysql-retention \
--with-mysql-extinfo \
--with-mysql-xdata \
--with-mysql-inc=/usr/local/mysql/include \
--with-mysql-lib=/usr/local/mysql/lib
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
_____
Do you Yahoo!?
Exclusive Video Premiere - Britney
<http://launch.yahoo.com/video/?1093432&fs=1&redirectURL=http://launch.yahoo
.com/promos/britneyspears/> Spears
=======================================================================
This e-mail is intended for the person it is addressed to only. The
information contained in it may be confidential and/or protected by
law. If you are not the intended recipient of this message, you must
not make any use of this information, or copy or show it to any
person. Please contact us immediately to tell us that you have
received this e-mail, and return the original to us. Any use,
forwarding, printing or copying of this message is strictly prohibited.
No part of this message can be considered a request for goods or
services.
=======================================================================
Any questions about Bookham's E-Mail service should be directed to
postmaster at bookham.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20031103/6c45978f/attachment.html>
More information about the Users
mailing list