Agus Priyadi and Mafia.Or.ID

blog all about (brains colocations)

NDOutils on FreeBSD

Posted by mafiaid on 11 January 2008


This is a follow-up to several postings in the archives about getting
NDOutils to compile on FreeBSD. I suspect that other people will have
this problem, so I’m posting it here. I also suspect that this will
affect other operating systems, not just FreeBSD, but NDOUtils is
labeled “Experimental,” so we deal. 🙂

The problem is in ndoutils-x/include/config.h . The configure script
puts all the libraries under /usr/lib instead of letting mysql be
under /usr/local/lib. I edited config.h as shown, and ndoutils
compiled just fine.

#define USE_MYSQL 1
/* #undef HAVE_MYSQL */
#ifdef USE_MYSQL
#define HAVE_MYSQL 1

Compiles just fine. I haven’t tested it, mind you, but it compiles.

Perhaps someone with config-fu can fix this. If the Nagios developers
think it’s appropriate, I can file a bug report.

Michael W. Lucas


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: