Re: [Nagios-users] Fwd: Files Missing While upgrading.

2009-04-22 Thread Lei Chen
try to install pkgconfig.
http://pkg-config.freedesktop.org/wiki/

2009/4/15 Jai Ram jai...@gmail.com:


 -- Forwarded message --
 From: Jai Ram jai...@gmail.com
 Date: Tue, Apr 14, 2009 at 1:57 PM
 Subject: Re: [Nagios-users] Files Missing While upgrading.
 To: Marc Powell m...@ena.com


 Hello Marc,


 Thanks for your help.

 As I have already Nagios3.0.6 is running except those three issues
 statusmap,histogram and trends in webinterface, Do I need to reconfigure
 with the below Process and run make all and make install or is there any way
 to make GD libraries available to nagios so that I don't need to run make
 all and make install again (or do I need to go again with the same process
 as i did for upgrading nagios2.8 to Nagios3.0.6).

 We are monitoring more then 500+ servers.If I run upgrade process again on
 Nagios3.0.6 with gd libraries available is my data going to be safe. Also
 could you please let me know if I am correct with the below output so that i
 can go ahead and do it.


  # ./configure --prefix=/opt/nagios --bindir=/opt/nagios/bin
 --sbindir=/opt/nagios/cgi-bin --datadir=/opt/nagios/share
 sysconfdir=/opt/nagios/etc  --localstatedir=/opt/nagios/var
 --with-nagios-user=nagios --with-nagios-group=nagios
 --with-command-group=nagioscmd --with-gd-lib=/usr/lib
 --with-gd-inc=/usr/include
 checking for a BSD-compatible install... /opt/sfw/bin/install -c
 checking build system type... i386-pc-solaris2.10
 checking host system type... i386-pc-solaris2.10
 checking for gcc... gcc
 checking for C compiler default output file name... a.out
 checking whether the C compiler works... yes
 checking whether we are cross compiling... no
 checking for suffix of executables...
 checking for suffix of object files... o
 checking whether we are using the GNU C compiler... yes
 checking whether gcc accepts -g... yes
 checking for gcc option to accept ANSI C... none needed
 checking whether make sets $(MAKE)... yes
 checking for strip... /usr/ccs/bin/strip
 checking how to run the C preprocessor... gcc -E
 checking for egrep... egrep
 checking for ANSI C header files... yes
 checking whether time.h and sys/time.h may both be included... yes
 checking for sys/wait.h that is POSIX.1 compatible... yes
 checking for sys/types.h... yes
 checking for sys/stat.h... yes
 checking for stdlib.h... yes
 checking for string.h... yes
 checking for memory.h... yes
 checking for strings.h... yes
 checking for inttypes.h... yes
 checking for stdint.h... yes
 checking for unistd.h... yes
 checking arpa/inet.h usability... yes
 checking arpa/inet.h presence... yes
 checking for arpa/inet.h... yes
 checking ctype.h usability... yes
 checking ctype.h presence... yes
 checking for ctype.h... yes
 checking dirent.h usability... yes
 checking dirent.h presence... yes
 checking for dirent.h... yes
 checking errno.h usability... yes
 checking errno.h presence... yes
 checking for errno.h... yes
 checking fcntl.h usability... yes
 checking fcntl.h presence... yes
 checking for fcntl.h... yes
 checking getopt.h usability... yes
 checking getopt.h presence... yes
 checking for getopt.h... yes
 checking grp.h usability... yes
 checking grp.h presence... yes
 checking for grp.h... yes
 checking libgen.h usability... yes
 checking libgen.h presence... yes
 checking for libgen.h... yes
 checking limits.h usability... yes
 checking limits.h presence... yes
 checking for limits.h... yes
 checking math.h usability... yes
 checking math.h presence... yes
 checking for math.h... yes
 checking netdb.h usability... yes
 checking netdb.h presence... yes
 checking for netdb.h... yes
 checking netinet/in.h usability... yes
 checking netinet/in.h presence... yes
 checking for netinet/in.h... yes
 checking pthread.h usability... yes
 checking pthread.h presence... yes
 checking for pthread.h... yes
 checking pthreads.h usability... no
 checking pthreads.h presence... no
 checking for pthreads.h... no
 checking pwd.h usability... yes
 checking pwd.h presence... yes
 checking for pwd.h... yes
 checking regex.h usability... yes
 checking regex.h presence... yes
 checking for regex.h... yes
 checking signal.h usability... yes
 checking signal.h presence... yes
 checking for signal.h... yes
 checking socket.h usability... no
 checking socket.h presence... no
 checking for socket.h... no
 checking stdarg.h usability... yes
 checking stdarg.h presence... yes
 checking for stdarg.h... yes
 checking for string.h... (cached) yes
 checking for strings.h... (cached) yes
 checking sys/mman.h usability... yes
 checking sys/mman.h presence... yes
 checking for sys/mman.h... yes
 checking for sys/types.h... (cached) yes
 checking sys/time.h usability... yes
 checking sys/time.h presence... yes
 checking for sys/time.h... yes
 checking sys/resource.h usability... yes
 checking sys/resource.h presence... yes
 checking for sys/resource.h... yes
 checking for sys/wait.h... (cached) yes
 checking sys/socket.h usability... yes
 checking sys/socket.h 

[Nagios-users] Fwd: Files Missing While upgrading.

2009-04-14 Thread Jai Ram
-- Forwarded message --
From: Jai Ram jai...@gmail.com
Date: Tue, Apr 14, 2009 at 1:57 PM
Subject: Re: [Nagios-users] Files Missing While upgrading.
To: Marc Powell m...@ena.com


Hello Marc,


*Thanks for your help*.

As I have already Nagios3.0.6 is running except those three issues
*statusmap,histogram
and trends* in webinterface, Do I need to reconfigure with the below Process
and run *make all *and* make install* or is there any way to make GD
libraries available to nagios so that I don't need to run *make all
*and*make install
* again (or do I need to go again with the same process as i did for
upgrading nagios2.8 to Nagios3.0.6).

We are monitoring more then 500+ servers.If I run upgrade process again on
Nagios3.0.6 with gd libraries available is my data going to be safe. Also
could you please let me know if I am correct with the *below output* so that
i can go ahead and do it.


 # *./configure --prefix=/opt/nagios --bindir=/opt/nagios/bin
--sbindir=/opt/nagios/cgi-bin --datadir=/opt/nagios/share
sysconfdir=/opt/nagios/etc  --localstatedir=/opt/nagios/var
--with-nagios-user=nagios --with-nagios-group=nagios
--with-command-group=nagioscmd --with-gd-lib=/usr/lib
--with-gd-inc=/usr/include*
checking for a BSD-compatible install... /opt/sfw/bin/install -c
checking build system type... i386-pc-solaris2.10
checking host system type... i386-pc-solaris2.10
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether make sets $(MAKE)... yes
checking for strip... /usr/ccs/bin/strip
checking how to run the C preprocessor... gcc -E
checking for egrep... egrep
checking for ANSI C header files... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking pthreads.h usability... no
checking pthreads.h presence... no
checking for pthreads.h... no
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking socket.h usability... no
checking socket.h presence... no
checking for socket.h... no
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for sys/types.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for sys/wait.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for sys/stat.h... (cached) yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking sys/un.h