Error while sensu-installing sensu-plugins-mysql


#1

Hi,

Well this step below that I took is not documented anywhere. But based on your documentation which explains how to sensu-install disk check - i applied same anology to install mysql checks on my sensu -client

here is the command given on my debian 8 system

sensu-install -p mysql

  • I got the following error

*** extconf.rb failed ***

Could not create Makefile due to some reason, probably lack of necessary

libraries and/or headers. Check the mkmf.log file for more details. You may

need configuration options.

What could have gone wrong here?


#2

Attaching the mkmf.log and gem_mak.out files

gem_make.out (1.69 KB)

mkmf.log (56.7 KB)


#3

When installing gems that have C extensions (like mysql) you need the
mysql development packages installed.

On ubuntu this is usually called libmysqlclient-dev, but on other
linux distros it may be called something different.

ยทยทยท

On Wed, Feb 10, 2016 at 11:26 PM, trupti mali <truptikmali@gmail.com> wrote:

Attaching the mkmf.log and gem_mak.out files