Problem running .configure with version 1.4.2 of nagios-plugins...

Marc Powell marc at ena.com
Wed May 10 16:33:12 CEST 2006



> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Michael Radzicki
> Sent: Tuesday, May 09, 2006 8:26 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Problem running .configure with version 1.4.2
of
> nagios-plugins...
> 
> Hello again list users.
> 
> I have a problem when I run the .configure command with version of
nagios
> plugins. This is the string I am using to run the configure script:
> 
> ./configure --prefix=/usr/local/nagios --with-nagios-user=nagios
--with-
> nagios-group=nagios --with-cgiurl=/nagios/cgi-bin --with-
> mysql=/opt/mysql/mysql
> 
> 
> When I run this script, I see the following:
> 
> checking for mysql_init in -lmysqlclient... no
> checking for mysql_close in -lmysqlclient... no
> configure: WARNING: Skipping mysql plugin
> 
>  Needless to say, when I run make all, the check_mysql plugin doesn't
get
> included. I have MySQL 5.0.18 installed in /opt/mysql/mysql.  Any
ideas
> how I can get around this problem? Thanks in advance.

Do you have the mysql development libraries installed? If you do, you
may need to specify the path to mysql_config. From the REQUIREMENTS file
--

check_mysql, check_mysql_query:
        - Requires the MySQL libraries available from
          http://www.mysql.org
                Lib: libmysql, libmysqlclient
                Redhat Powertools Source: mysql-3.20.32a-3.i386.rpm,
mysql-devel-3.20.32a-3.i386.rpm (these seem to be broken, however)
                RPMS from www.mysql.org work better
          Must have mysql_config in PATH or specified with
--with-mysql=DIR for DIR/bin/mysql_config

--
Marc


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
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