When you ./configure you need to add "--with-mysql=/path/to/mysql" into the ./configure options.
Andy. Carlos Sánchez wrote: > Hello > > when i execute "make" i have an error: > > check_mysql.c:165: error: ‘MYSQL_FIELD’ undeclared (first use in > this function) > > check_mysql.c:165: error: ‘fields’ undeclared (first use in this > function) > > make[2]: *** [check_mysql-check_mysql.o] Error 1 > > make[2]: Leaving directory `/install/nagios-plugins-1.4.5/plugins' > > make[1]: *** [all-recursive] Error 1 > > make[1]: Leaving directory `/install/nagios-plugins-1.4.5' > > make: *** [all] Error 2 > > anybody can help me? > > thanks > > _________________________________________________________________ > Find sales, coupons, and free shipping, all in one place! MSN Shopping > Sales & Deals > http://shopping.msn.com/content/shp/?ctid=198,ptnrid=176,ptnrdata=200639 > > > > > !DSPAM:37,45940ed731941618886302! > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > !DSPAM:37,45940ed731941618886302! > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > [email protected] > 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 > > !DSPAM:37,45940ed731941618886302! > -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list [email protected] 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
