nagios plugins compilation tru-64

hrishy hrishys at yahoo.co.uk
Tue Jan 28 13:06:15 CET 2003


Hi Ton

here comes my config.status file too :-D

regards
Hrishy
 --- hrishy <hrishys at yahoo.co.uk> wrote: > Hi Ton
> 
> Thats cool..for figuring..out but my woes have just
> begun i guess..coz now i have a different problem..
> Making all in plugins
> cc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I.  
>  
> -g -c check_disk.c
> cc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I.  
>  
> -g -c utils.c
> cc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I.  
>  
> -g -c popen.c
> cc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I.  
>  
> -g  -c ./snprintf.c -o so
> ar -r libsnprintf.a snprintf.o
> cc  -g -L. -o check_disk  check_disk.o utils.o
> popen.o
> -lsnprintf -lsnprintf
> ld:
> Unresolved:
> getopt_long
> *** Exit 1
> Stop.
> *** Exit 1
> Stop.
> zblrdv23> ld     
> ld: Usage: ld [options] file [...]
> 
> any more ideas :-D
> 
> regards
> Hrishy
> 
> 
> 
>  --- "Voon, Ton" <Ton.Voon at egg.com> wrote: > If you
> are still interested in getting the plugins
> > compiled, it seems that
> > the df command cannot be found. In the configure
> > output, I think you
> > probably got:
> > 
> > "unable to find usable df syntax"
> > 
> > You can use the configure flag --with-df_command
> set
> > to the full path for
> > TRU64's df command that gives output like:
> > 
> > snail $ df -k
> > Filesystem            kbytes    used   avail
> > capacity  Mounted on
> > /dev/dsk/c0t0d0s0    2052750  553778 1437390   
> 28% 
> >   /
> > /proc                      0       0       0    
> 0% 
> >   /proc
> > fd                         0       0       0    
> 0% 
> >   /dev/fd
> > /dev/dsk/c0t0d0s3    1015542   70588  884022    
> 8% 
> >   /var
> > /dev/dsk/c0t0d0s6    6185397   36858 6086686    
> 1% 
> >   /logs
> > /dev/dsk/c0t0d0s4    4127894  215575 3871041    
> 6% 
> >   /opt
> > /dev/dsk/c0t0d0s5    4127894       9 4086607    
> 1% 
> >   /systems
> > swap                 2127944   33640 2094304    
> 2% 
> >   /tmp
> > 
> > (from Solaris). 
> > 
> > If you find a command works for you on TRU64, let
> us
> > know and we'll put it
> > in CVS.
> > 
> > Ton
> > 
> > > -----Original Message-----
> > > From:	hrishy [SMTP:hrishys at yahoo.co.uk]
> > > Sent:	Tuesday, January 28, 2003 10:54 AM
> > > To:	Voon, Ton; Nagios users list
> > > Subject:	RE: [Nagios-users] nagios plugins
> > compilation tru-64
> > > 
> > > Hi Ton
> > > 
> > > Yes my path has the current directory in..it I
> am
> > > attaching my config.log file also..which seems
> to
> > be
> > > okay now however the make still fails..with the
> > > following error.I am just wundering wheather
> > anybody
> > > on the list has the binaries for TRU-64
> > > 
> > > cc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I.
> -I.
> >    
> > > -g -c check_disk.c
> > > cc: Error: check_disk.c, line 77: In this
> > statement,
> > > "DF_COMMAND" is not declar)
> > >  asprintf (&command_line, "%s %s", DF_COMMAND,
> > path);
> > > ------------------------------------------^
> > > *** Exit 1
> > > 
> > > regards
> > > Hrishy
> > > 
> > > 
> > >  --- "Voon, Ton" <Ton.Voon at egg.com> wrote: >
> > Hrishy,
> > > > 
> > > > 1) Does your PATH have the current directory
> in
> > it?
> > > > Not sure if this is a
> > > > requirement as I would have thought the
> > configure
> > > > scripts would take care of
> > > > this
> > > > 2) What was the configure output for the df
> > checks?
> > > > 
> > > > Ton
> > > > 
> > > > > -----Original Message-----
> > > > > From:	hrishy [SMTP:hrishys at yahoo.co.uk]
> > > > > Sent:	Tuesday, January 28, 2003 9:29 AM
> > > > > To:	Nagios users list
> > > > > Subject:	[Nagios-users] nagios plugins
> > compilation
> > > > tru-64
> > > > > 
> > > > > Hi 
> > > > > 
> > > > > when i try to compile nagios plugins on
> tru-64
> > > > unix i
> > > > > am geeting the following problems
> > > > > 
> > > > > 1)./configure
> > > > > 
> > > > > tells me ./config.status: subst.sh: not
> found
> > > > wheras
> > > > > ls shows that subst.sh is right there in the
> > > > > directory..
> > > > > 
> > > > > 2)make all
> > > > > No suffix list.
> > > > > Making all in plugins
> > > > > cc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I.
> -I.
> > -I.
> > > >    
> > > > > -g -c check_disk.c
> > > > > cc: Error: check_disk.c, line 77: In this
> > > > statement,
> > > > > "DF_COMMAND" is not declar)
> > > > >  asprintf (&command_line, "%s %s",
> DF_COMMAND,
> > > > path);
> > > > > ------------------------------------------^
> > > > > *** Exit 1
> > > > > Stop.
> > > > > *** Exit 1
> > > > > Stop.
> > > > > 
> > > > > has anybody compiled nagios plugins on
> tru-64
> > ?
> > > > > 
> > > > > regards
> > > > > Hrishy
> > 
> > 
> > This private and confidential e-mail has been sent
> > to you by Egg.
> > The Egg group of companies includes Egg Banking
> plc
> > (registered no. 2999842), Egg Financial Products
> Ltd
> > (registered
> > no. 3319027) and Egg Investments Ltd (registered
> no.
> > 3403963) which
> 
=== message truncated === 

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: config.status
URL: <https://www.monitoring-lists.org/archive/users/attachments/20030128/61000fb9/attachment.ksh>


More information about the Users mailing list