[Nagiosplug-devel] Solaris 10: mysql plugin breaks 'make'

Ton Voon ton.voon at opsera.com
Fri May 8 17:40:47 CEST 2009

On 8 May 2009, at 14:07, Chris Pepper wrote:

> 	On Solaris 10 (with gmake -- this is different than
> <http://www.nagios.org/faqs/viewfaq.php?faq_id=78>), "make" fails for
> nagios-plugins-1.4.13. It does on mysql, and the workaround is
> "./configure --without-mysql"
> <http://www.mail-archive.com/nagios-users@lists.sourceforge.net/msg24959.html 
> >.
> 	configure's logic should be enhanced so it can succesfully build
> check_mysql with Sun's gcc on Solaris 10, or it skips the plugin so
> those of us who don't need mysql don't have to work around it.

This sounds like a bug with mysql_config. You should contact where  
your mysql came from to correct the cflags to be non-gcc specific.

It sounds like a decent idea to attempt to compile a minimal mysql  
program and then stop mysql compiling. Can you provide a patch?

> 	Additionally, this appears to be a FAQ, so it should probably be  
> added
> to the FAQ DB.

I've updated the FAQ: http://nagiosplugins.org/node/99. I'm happy to  
give you access to update if it is not quite worded right.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20090508/40a094ca/attachment.html>

More information about the Devel mailing list