Compling Nagios with MySQL on RH 8.0 issues

Steve Dussaux stevox2000 at yahoo.com
Fri Jun 13 11:10:09 CEST 2003


Just change in xrddb.c the files path of your include files.

Hope this help,
Steve

 --- James Turnbull <james at lovedthanlost.net> a écrit : > James Turnbull wrote:
> > Whilst compiling Nagios 1.1 under Redhat 8 (MySQL 4.0.13 Standard)
> > with the
> > following configure:
> >
> > ./configure --with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios
> > --with-nagio s-user=nagios --with-nagios-grp=nagios
> > --with-mysql-xdata --with-mysql-lib=/ usr/local/mysql/lib
> > --with-mysql-inc=/usr/local/mysql/include
> >
> > The configure works fine but when I run make all I get the errors
> > below (note I have confimed mysql.h and errmsg.h are both present in
> > /usr/local/mysql/include/) - I am presuming the xrddb.c code is
> > looking in
> > the wrong place for these?  Of course I could be totally wrong.
> >
> > ../xdata/xrddb.c:41:25: mysql/mysql.h: No such file or directory
> > ../xdata/xrddb.c:42:26: mysql/errmsg.h: No such file or directory
> 
> 
> Hi I posted this a few days ago and got no response - I have searched the
> archives and found about half a dozen people reporting the same 'make all'
> problem as me - and no record of any resolution.
> 
> Is there anyone out there who has overcome this problem or has any ideas?
> 
> Any help much appreciated
> 
> Regards
> 
> James Turnbull
> 
> 
> 
> -------------------------------------------------------
> This SF.NET email is sponsored by: eBay
> Great deals on office technology -- on eBay now! Click here:
> http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null 

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com


-------------------------------------------------------
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list