<br><font size=2 face="sans-serif">Hi All</font><br><br><font size=2 face="sans-serif">I have installed mysql in <b>/usr/bin/mysql
</b>now when i try to install ndo utils it gives me the error </font><br><br><font size=2 face="sans-serif">*** MySQL include file could not be
located... **********************</font><br><br><font size=2 face="sans-serif">You chose to compile NDBXT with MySQL
support, but I was unable to</font><br><font size=2 face="sans-serif">locate <mysql/mysql.h> on your
system.  If the include file is</font><br><font size=2 face="sans-serif">installed, use the --with-mysql-inc
argument to specify the location</font><br><font size=2 face="sans-serif">of the MySQL include file.</font><br><br><font size=2 face="sans-serif">********************************************************************</font><br><font size=2 face="sans-serif">I have checked , mysql is installed
and running succesfully </font><br><font size=2 face="sans-serif">when i type this command </font><font size=2 face="Verdana"><b>sudo
netstat -tap | grep mysql</b></font><font size=2 face="Verdana"><br></font><font size=2 face="sans-serif">i get o/p<b> </b></font><font size=2 face="Verdana"><b>tcp
       0      0 localhost.localdomain:mysql
          *:* LISTEN -<br></b></font><br><font size=2 face="Verdana">Please help.</font><br><br><font size=2 face="sans-serif">root@nagios:~/monitoring/ndoutils-1.4b7#
./configure --with-mysql-lib=/usr/bin/mysql</font><br><font size=2 face="sans-serif">checking for a BSD-compatible install...
/usr/bin/install -c</font><br><font size=2 face="sans-serif">checking build system type... i686-pc-linux-gnu</font><br><font size=2 face="sans-serif">checking host system type... i686-pc-linux-gnu</font><br><font size=2 face="sans-serif">checking for gcc... gcc</font><br><font size=2 face="sans-serif">checking for C compiler default output
file name... a.out</font><br><font size=2 face="sans-serif">checking whether the C compiler works...
yes</font><br><font size=2 face="sans-serif">checking whether we are cross compiling...
no</font><br><font size=2 face="sans-serif">checking for suffix of executables...
</font><br><font size=2 face="sans-serif">checking for suffix of object files...
o</font><br><font size=2 face="sans-serif">checking whether we are using the GNU
C compiler... yes</font><br><font size=2 face="sans-serif">checking whether gcc accepts -g... yes</font><br><font size=2 face="sans-serif">checking for gcc option to accept ANSI
C... none needed</font><br><font size=2 face="sans-serif">checking whether make sets $(MAKE)...
yes</font><br><font size=2 face="sans-serif">checking how to run the C preprocessor...
gcc -E</font><br><font size=2 face="sans-serif">checking for egrep... grep -E</font><br><font size=2 face="sans-serif">checking for ANSI C header files...
yes</font><br><font size=2 face="sans-serif">checking whether time.h and sys/time.h
may both be included... yes</font><br><font size=2 face="sans-serif">checking for sys/wait.h that is POSIX.1
compatible... yes</font><br><font size=2 face="sans-serif">checking for sys/types.h... yes</font><br><font size=2 face="sans-serif">checking for sys/stat.h... yes</font><br><font size=2 face="sans-serif">checking for stdlib.h... yes</font><br><font size=2 face="sans-serif">checking for string.h... yes</font><br><font size=2 face="sans-serif">checking for memory.h... yes</font><br><font size=2 face="sans-serif">checking for strings.h... yes</font><br><font size=2 face="sans-serif">checking for inttypes.h... yes</font><br><font size=2 face="sans-serif">checking for stdint.h... yes</font><br><font size=2 face="sans-serif">checking for unistd.h... yes</font><br><font size=2 face="sans-serif">checking arpa/inet.h usability... yes</font><br><font size=2 face="sans-serif">checking arpa/inet.h presence... yes</font><br><font size=2 face="sans-serif">checking for arpa/inet.h... yes</font><br><font size=2 face="sans-serif">checking ctype.h usability... yes</font><br><font size=2 face="sans-serif">checking ctype.h presence... yes</font><br><font size=2 face="sans-serif">checking for ctype.h... yes</font><br><font size=2 face="sans-serif">checking dirent.h usability... yes</font><br><font size=2 face="sans-serif">checking dirent.h presence... yes</font><br><font size=2 face="sans-serif">checking for dirent.h... yes</font><br><font size=2 face="sans-serif">checking dlfcn.h usability... yes</font><br><font size=2 face="sans-serif">checking dlfcn.h presence... yes</font><br><font size=2 face="sans-serif">checking for dlfcn.h... yes</font><br><font size=2 face="sans-serif">checking errno.h usability... yes</font><br><font size=2 face="sans-serif">checking errno.h presence... yes</font><br><font size=2 face="sans-serif">checking for errno.h... yes</font><br><font size=2 face="sans-serif">checking fcntl.h usability... yes</font><br><font size=2 face="sans-serif">checking fcntl.h presence... yes</font><br><font size=2 face="sans-serif">checking for fcntl.h... yes</font><br><font size=2 face="sans-serif">checking float.h usability... yes</font><br><font size=2 face="sans-serif">checking float.h presence... yes</font><br><font size=2 face="sans-serif">checking for float.h... yes</font><br><font size=2 face="sans-serif">checking getopt.h usability... yes</font><br><font size=2 face="sans-serif">checking getopt.h presence... yes</font><br><font size=2 face="sans-serif">checking for getopt.h... yes</font><br><font size=2 face="sans-serif">checking grp.h usability... yes</font><br><font size=2 face="sans-serif">checking grp.h presence... yes</font><br><font size=2 face="sans-serif">checking for grp.h... yes</font><br><font size=2 face="sans-serif">checking for inttypes.h... (cached)
yes</font><br><font size=2 face="sans-serif">checking limits.h usability... yes</font><br><font size=2 face="sans-serif">checking limits.h presence... yes</font><br><font size=2 face="sans-serif">checking for limits.h... yes</font><br><font size=2 face="sans-serif">checking ltdl.h usability... no</font><br><font size=2 face="sans-serif">checking ltdl.h presence... no</font><br><font size=2 face="sans-serif">checking for ltdl.h... no</font><br><font size=2 face="sans-serif">checking math.h usability... yes</font><br><font size=2 face="sans-serif">checking math.h presence... yes</font><br><font size=2 face="sans-serif">checking for math.h... yes</font><br><font size=2 face="sans-serif">checking netdb.h usability... yes</font><br><font size=2 face="sans-serif">checking netdb.h presence... yes</font><br><font size=2 face="sans-serif">checking for netdb.h... yes</font><br><font size=2 face="sans-serif">checking netinet/in.h usability... yes</font><br><font size=2 face="sans-serif">checking netinet/in.h presence... yes</font><br><font size=2 face="sans-serif">checking for netinet/in.h... yes</font><br><font size=2 face="sans-serif">checking pthread.h usability... yes</font><br><font size=2 face="sans-serif">checking pthread.h presence... yes</font><br><font size=2 face="sans-serif">checking for pthread.h... yes</font><br><font size=2 face="sans-serif">checking pwd.h usability... yes</font><br><font size=2 face="sans-serif">checking pwd.h presence... yes</font><br><font size=2 face="sans-serif">checking for pwd.h... yes</font><br><font size=2 face="sans-serif">checking regex.h usability... yes</font><br><font size=2 face="sans-serif">checking regex.h presence... yes</font><br><font size=2 face="sans-serif">checking for regex.h... yes</font><br><font size=2 face="sans-serif">checking signal.h usability... yes</font><br><font size=2 face="sans-serif">checking signal.h presence... yes</font><br><font size=2 face="sans-serif">checking for signal.h... yes</font><br><font size=2 face="sans-serif">checking socket.h usability... no</font><br><font size=2 face="sans-serif">checking socket.h presence... no</font><br><font size=2 face="sans-serif">checking for socket.h... no</font><br><font size=2 face="sans-serif">checking stdarg.h usability... yes</font><br><font size=2 face="sans-serif">checking stdarg.h presence... yes</font><br><font size=2 face="sans-serif">checking for stdarg.h... yes</font><br><font size=2 face="sans-serif">checking for stdint.h... (cached) yes</font><br><font size=2 face="sans-serif">checking for string.h... (cached) yes</font><br><font size=2 face="sans-serif">checking for strings.h... (cached) yes</font><br><font size=2 face="sans-serif">checking sys/ipc.h usability... yes</font><br><font size=2 face="sans-serif">checking sys/ipc.h presence... yes</font><br><font size=2 face="sans-serif">checking for sys/ipc.h... yes</font><br><font size=2 face="sans-serif">checking sys/mman.h usability... yes</font><br><font size=2 face="sans-serif">checking sys/mman.h presence... yes</font><br><font size=2 face="sans-serif">checking for sys/mman.h... yes</font><br><font size=2 face="sans-serif">checking sys/msg.h usability... yes</font><br><font size=2 face="sans-serif">checking sys/msg.h presence... yes</font><br><font size=2 face="sans-serif">checking for sys/msg.h... yes</font><br><font size=2 face="sans-serif">checking sys/poll.h usability... yes</font><br><font size=2 face="sans-serif">checking sys/poll.h presence... yes</font><br><font size=2 face="sans-serif">checking for sys/poll.h... yes</font><br><font size=2 face="sans-serif">checking sys/resource.h usability...
yes</font><br><font size=2 face="sans-serif">checking sys/resource.h presence...
yes</font><br><font size=2 face="sans-serif">checking for sys/resource.h... yes</font><br><font size=2 face="sans-serif">checking sys/sendfile.h usability...
yes</font><br><font size=2 face="sans-serif">checking sys/sendfile.h presence...
yes</font><br><font size=2 face="sans-serif">checking for sys/sendfile.h... yes</font><br><font size=2 face="sans-serif">checking sys/socket.h usability... yes</font><br><font size=2 face="sans-serif">checking sys/socket.h presence... yes</font><br><font size=2 face="sans-serif">checking for sys/socket.h... yes</font><br><font size=2 face="sans-serif">checking for sys/stat.h... (cached)
yes</font><br><font size=2 face="sans-serif">checking sys/time.h usability... yes</font><br><font size=2 face="sans-serif">checking sys/time.h presence... yes</font><br><font size=2 face="sans-serif">checking for sys/time.h... yes</font><br><font size=2 face="sans-serif">checking sys/timeb.h usability... yes</font><br><font size=2 face="sans-serif">checking sys/timeb.h presence... yes</font><br><font size=2 face="sans-serif">checking for sys/timeb.h... yes</font><br><font size=2 face="sans-serif">checking for sys/types.h... (cached)
yes</font><br><font size=2 face="sans-serif">checking sys/un.h usability... yes</font><br><font size=2 face="sans-serif">checking sys/un.h presence... yes</font><br><font size=2 face="sans-serif">checking for sys/un.h... yes</font><br><font size=2 face="sans-serif">checking for sys/wait.h... (cached)
yes</font><br><font size=2 face="sans-serif">checking syslog.h usability... yes</font><br><font size=2 face="sans-serif">checking syslog.h presence... yes</font><br><font size=2 face="sans-serif">checking for syslog.h... yes</font><br><font size=2 face="sans-serif">checking tcpd.h usability... no</font><br><font size=2 face="sans-serif">checking tcpd.h presence... no</font><br><font size=2 face="sans-serif">checking for tcpd.h... no</font><br><font size=2 face="sans-serif">checking for unistd.h... (cached) yes</font><br><font size=2 face="sans-serif">checking values.h usability... yes</font><br><font size=2 face="sans-serif">checking values.h presence... yes</font><br><font size=2 face="sans-serif">checking for values.h... yes</font><br><font size=2 face="sans-serif">checking for an ANSI C-conforming const...
yes</font><br><font size=2 face="sans-serif">checking whether struct tm is in sys/time.h
or time.h... time.h</font><br><font size=2 face="sans-serif">checking for mode_t... yes</font><br><font size=2 face="sans-serif">checking for pid_t... yes</font><br><font size=2 face="sans-serif">checking for size_t... yes</font><br><font size=2 face="sans-serif">checking return type of signal handlers...
void</font><br><font size=2 face="sans-serif">checking for uid_t in sys/types.h...
yes</font><br><font size=2 face="sans-serif">checking type of array argument to getgroups...
gid_t</font><br><font size=2 face="sans-serif">checking for int... yes</font><br><font size=2 face="sans-serif">checking size of int... 4</font><br><font size=2 face="sans-serif">checking for short... yes</font><br><font size=2 face="sans-serif">checking size of short... 2</font><br><font size=2 face="sans-serif">checking for long... yes</font><br><font size=2 face="sans-serif">checking size of long... 4</font><br><font size=2 face="sans-serif">checking for uint32_t... yes</font><br><font size=2 face="sans-serif">checking for u_int32_t... yes</font><br><font size=2 face="sans-serif">checking for int32_t... yes</font><br><font size=2 face="sans-serif">checking for getopt_long... yes</font><br><font size=2 face="sans-serif">checking for main in -lnsl... yes</font><br><font size=2 face="sans-serif">checking for socket in -lsocket... no</font><br><font size=2 face="sans-serif">checking for main in -lwrap... no</font><br><font size=2 face="sans-serif">checking for strdup... yes</font><br><font size=2 face="sans-serif">checking for strstr... yes</font><br><font size=2 face="sans-serif">checking for strtoul... yes</font><br><font size=2 face="sans-serif">checking for initgroups... yes</font><br><font size=2 face="sans-serif">checking for strtof... yes</font><br><font size=2 face="sans-serif">checking for type of socket size...
size_t</font><br><font size=2 face="sans-serif">checking for linker flags for loadable
modules... -shared</font><br><font size=2 face="sans-serif">checking for compress in -lz... yes</font><br><font size=2 face="sans-serif">checking for mysql_store_result in -lmysqlclient...
no</font><br><font size=2 face="sans-serif">checking for mysql_connect in -lmysqlclient...
no</font><br><br><br><font size=2 face="sans-serif">*** MySQL library could not be located...
**************************</font><br><br><font size=2 face="sans-serif">You chose to compile NDBXT with MySQL
support, but I was unable to</font><br><font size=2 face="sans-serif">locate the MySQL library on your system.
 If the library is</font><br><font size=2 face="sans-serif">installed,  use the --with-mysql-lib
argument to specify the</font><br><font size=2 face="sans-serif">location of the MySQL library.</font><br><br><font size=2 face="sans-serif">NOTE: After you install the necessary
libraries on your system:</font><br><font size=2 face="sans-serif">      1. Make sure /etc/ld.so.conf
has an entry for the directory in</font><br><font size=2 face="sans-serif">         which
the MySQL libraries are installed.</font><br><font size=2 face="sans-serif">      2. Run 'ldconfig'
to update the run-time linker options.</font><br><font size=2 face="sans-serif">      3. Run 'make devclean'
in the NDBXT distribution to clean out</font><br><font size=2 face="sans-serif">         any
old references to your previous compile.</font><br><font size=2 face="sans-serif">      4. Rerun the configure
script.</font><br><br><font size=2 face="sans-serif">TIP: Try the following....</font><br><br><font size=2 face="sans-serif">         ./configure
--with-mysql-lib=/usr/lib/mysql</font><br><br><font size=2 face="sans-serif">********************************************************************</font><br><br><br><font size=2 face="sans-serif">checking mysql/mysql.h usability...
no</font><br><font size=2 face="sans-serif">checking mysql/mysql.h presence... no</font><br><font size=2 face="sans-serif">checking for mysql/mysql.h... no</font><br><br><br><font size=2 face="sans-serif">*** MySQL include file could not be
located... **********************</font><br><br><font size=2 face="sans-serif">You chose to compile NDBXT with MySQL
support, but I was unable to</font><br><font size=2 face="sans-serif">locate <mysql/mysql.h> on your
system.  If the include file is</font><br><font size=2 face="sans-serif">installed, use the --with-mysql-inc
argument to specify the location</font><br><font size=2 face="sans-serif">of the MySQL include file.</font><br><br><font size=2 face="sans-serif">********************************************************************</font><br><br><br><font size=2 face="sans-serif">checking for PQconnectdb in -lpq...
no</font><br><br><br><font size=2 face="sans-serif">*** PostgreSQL library could not be
located... *********************</font><br><br><font size=2 face="sans-serif">You chose to compile NDBXT with PostgreSQL
support, but I was</font><br><font size=2 face="sans-serif">unable to locate the PostgreSQL library
on your system.  If the</font><br><font size=2 face="sans-serif">library is installed,  use the
--with-pgsql-lib argument to specify</font><br><font size=2 face="sans-serif">the location of the PostgreSQL library.</font><br><br><font size=2 face="sans-serif">NOTE: After you install the necessary
libraries on your system:</font><br><font size=2 face="sans-serif">      1. Make sure /etc/ld.so.conf
has an entry for the directory in</font><br><font size=2 face="sans-serif">         which
the PostgreSQL libraries are installed.</font><br><font size=2 face="sans-serif">      2. Run 'ldconfig'
to update the run-time linker options.</font><br><font size=2 face="sans-serif">      3. Run 'make devclean'
in the NDBXT distribution to clean out</font><br><font size=2 face="sans-serif">         any
old references to your previous compile.</font><br><font size=2 face="sans-serif">      4. Rerun the configure
script.</font><br><br><font size=2 face="sans-serif">********************************************************************</font><br><br><br><font size=2 face="sans-serif">checking libpq-fe.h usability... no</font><br><font size=2 face="sans-serif">checking libpq-fe.h presence... no</font><br><font size=2 face="sans-serif">checking for libpq-fe.h... no</font><br><br><br><font size=2 face="sans-serif">*** PostgreSQL include file could not
be located... ****************</font><br><br><font size=2 face="sans-serif">You chose to compile NDBXT with PostgreSQL
support, but I was unable</font><br><font size=2 face="sans-serif">to locate <libpq-fe.h> on your
system.  If the include file is</font><br><font size=2 face="sans-serif">installed, use the --with-pgsql-inc
argument to specify the location</font><br><font size=2 face="sans-serif">of the PostgreSQL include file.</font><br><br><font size=2 face="sans-serif">********************************************************************</font><br><br><br><font size=2 face="sans-serif">configure: creating ./config.status</font><br><font size=2 face="sans-serif">config.status: creating Makefile</font><br><font size=2 face="sans-serif">config.status: creating src/Makefile</font><br><font size=2 face="sans-serif">config.status: creating subst</font><br><font size=2 face="sans-serif">config.status: creating include/config.h</font><br><br><br><font size=2 face="sans-serif">*** Configuration summary for ndoutils
1.4b7 10-31-2007 ***:</font><br><br><font size=2 face="sans-serif"> General Options:</font><br><font size=2 face="sans-serif"> -------------------------</font><br><font size=2 face="sans-serif"> NDO2DB user:    nagios</font><br><font size=2 face="sans-serif"> NDO2DB group:   nagios</font><br><br><br><font size=2 face="sans-serif">Review the options above for accuracy.
 If they look okay,</font><br><font size=2 face="sans-serif">type 'make' to compile the NDO utilities.</font><br><br><font size=2 face="sans-serif"><br></font><img src=cid:_1_071FF5B4071FF38C0026644B65257425><BR>
<BR>
<BR>
The information contained in this e-mail message is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you should return it to the sender immediately. Please note that while we scan all e-mails for viruses we cannot guarantee that any e-mail is virus-free and accept no liability for any damage caused by any virus transmitted by this email.<BR>