Problems compiling with status/map MYSQl functionality

Yarmen Alero enigmadivide at yahoo.com
Fri Oct 31 21:54:37 CET 2003


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 Spears
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20031031/728e1d0b/attachment.html>


More information about the Users mailing list