[Xymon] xymon 4.3.2 configuration error for rrdtool

sonal kumar nc.sonal at gmail.com
Tue Apr 19 10:00:07 CEST 2011


Hi Alan,

Thanks for the inputs,The C compiler used here is gcc
# type gcc
gcc is /usr/bin/gcc

and likewise I changed in the build/Makefile.AIX to gcc,still getting the
below error
Checking for RRDtool ...
gcc: error: unrecognized option '-qstrict'
gcc: error: unrecognized option '-qcpluscmt'
make: 1254-004 The error code from the last command is 1.

Stop.
Not RRDtool 1.0.x, checking for 1.2.x
gcc: error: unrecognized option '-qstrict'
gcc: error: unrecognized option '-qcpluscmt'
make: 1254-004 The error code from the last command is 1.

Stop.
ERROR: RRDtool include files found in /usr/include, but compile fails.

Is there any problem with my make ,because earlier i received error while
executing the command ./configure.server

Checking your make-utility
GNU make is required to build Xymon.
If it is available as "gmake", run configure as: 'MAKE=gmake
./configure.server'

But it got vanished once reinstalling make,the make details are given below.
# which make
/usr/bin/make
root at sapsrp:/usr/tmp/xymon-4.3.2
# lslpp -w /usr/bin/make
  File                                        Fileset               Type
  ----------------------------------------------------------------------------
  /usr/bin/make                               bos.adt.base          Symlink
root at sapsrp:/usr/tmp/xymon-4.3.2
# oslevel -s
5300-08-06-0918

Let me know if there are any other things to be checked..

regards
Sonal
On Tue, Apr 19, 2011 at 11:43 AM, FORD Alan <Alan.FORD at stanwell.com> wrote:

>  Hi Sonal,
>
>
>
> It's not finding your C compiler.
>
>
>
> Do you have cc installed or gcc??
>
>
>
> to find which one is installed run the following
>
>
>
> type cc
>
> type gcc
>
>
>
> If neither returns a path then you don’t have a C complier installed or try
> running the above commands as root (non-root users may not be able to
> complie)
>
>
>
> If you have gcc then you need to modify the build/Makefile.AIX and change
> this line
>
>
>
> CC = cc
>
> to
>
> CC = gcc
>
>
>
> Hope this helps a bit more.. :-)
>
>
>
> Alan
>
>
>
> *From:* xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] *On
> Behalf Of *sonal kumar
> *Sent:* Tuesday, 19 April 2011 3:30 PM
> *To:* Phil Crooker
> *Cc:* xymon at xymon.com
> *Subject:* Re: [Xymon] xymon 4.3.2 configuration error for rrdtool
>
>
>
> Hi Phil,
>
>
>
> Thanks for the suggestion, even-after setting Make,its giving same error.If
> you have any other suggestions please let me know.
>
>
>
> root at sapsrp:/usr/software/xymon-4.3.2
>
> # export MAKE=make
>
> root at sapsrp:/usr/software/xymon-4.3.2
>
> # ./configure.server
>
> Configuration script for Xymon
>
> This script asks a few questions and builds a Makefile to compile Xymon
>
>
>
> Checking pre-requisites for building Xymon
>
>
>
> Checking for fping ...
>
> Xymon has a built-in ping utility (xymonping)
>
> However, it is not yet fully stable and therefore it
>
> may be best to use the external fping utility instead.
>
> I found fping in /usr/sbin/fping
>
> Do you want to use it [Y/n] ?
>
> Y
>
> Checking to see if '/usr/sbin/fping 127.0.0.1' works ...
>
> 127.0.0.1 is alive
>
> OK, will use '/usr/sbin/fping' for ping tests
>
> NOTE: If you are using an suid-root wrapper, make sure the 'xymond'
>
>       user is also allowed to run fping without having to enter passwords.
>
>       For 'sudo', add something like this to your 'sudoers' file:
>
>       xymon ALL=(ALL) NOPASSWD: /usr/sbin/fping
>
>
>
>
>
>
>
> Checking for RRDtool ...
>
> cc: not found
>
>
>
> make: 1254-004 The error code from the last command is 1.
>
>
>
>
>
> Stop.
>
> Not RRDtool 1.0.x, checking for 1.2.x
>
> cc: not found
>
>
>
> make: 1254-004 The error code from the last command is 1.
>
>
>
>
>
> Stop.
>
> ERROR: RRDtool include files found in /usr/include, but compile fails.
>
>
>
>
>
> On Tue, Apr 19, 2011 at 5:38 AM, Phil Crooker <Phil.Crooker at orix.com.au>
> wrote:
>
> It looks like the $MAKE variable isn't set from the configure.server
> script. I haven't had this issue, but anyway, just try setting it
> manually:
>
> export MAKE=make
>
> Then give it a go.
>
>
>
> >>> On 4/18/2011 at 11:11 PM, in message
> <BANLkTikLj8APQg468O8Q-tVx1JRdK6qBOA at mail.gmail.com>, sonal kumar
>
> <nc.sonal at gmail.com> wrote:
> > Hi team,
> >
> > I am trying to configure on xymon 4.3.2 on my AIX server 5.3
> version.
> > While running the configure.server script ,I am getting the below
> error
> > related to rrdtool.
> >
> > *Checking for RRDtool ...*
> >
> > *./configure.server[76]: -f:  not found.*
> >
> > *./configure.server[76]: -f:  not found.*
> >
> > *Not RRDtool 1.0.x, checking for 1.2.x*
> >
> > *./configure.server[76]: -f:  not found.*
> >
> > *./configure.server[76]: -f:  not found.*
> > ERROR: RRDtool include files found in /usr/include, but compile
> fails.
> >
> > I have already packages related to rrdtool i.e rrdtool-1.2.30.tar.gz
> and
> > also have the gcc and other related prerequisites,as given below,and
> already
> > declared the environment variables,libpaths.
> >
> > *# which rrdtool*
> >
> > */usr/bin/rrdtool*
> >
> > *root at sapsrp:/*
> >
> > *# whereis rrdtool*
> > *rrdtool: /usr/bin/rrdtool /usr/include/rrdtool*
> > *
> > which gcc
> > /usr/bin/gcc
> > LIBPATH=/usr/local/lib:/usr/lib:/usr/local/include/
> > *
> > *
> > *
> > **Please suggest.
>
>     ________________________________________________________________________________
>
> This email (including all attachments) may contain personal information and is intended solely for the named addressee. It is confidential and may be subject to legal or other professional privilege and any confidentiality or privilege is not waived or lost because this email has been sent to you by mistake.  This email is also subject to copyright.  No part of it should be reproduced, adapted or communicated without the written consent of the copyright owner. Any personal Information in this email must be handled in accordance with the Privacy Act 1988 (Cth).  If you have received it in error, please let Stanwell Corporation Limited know by reply email, delete it from your system and destroy any copies.  Stanwell is not responsible for any changes made to a document other than those made by Stanwell.  Stanwell accepts no liability for any damage caused by this email or its attachments due to viruses, interference, interception, corruption or unauthorised access.   If  you have any doubts about the authenticity of an email purportedly sent by us, please contact us immediately.  If this is a commercial electronic message within the meaning of the Spam Act 2003 (Cth), you may indicate that you do not wish to receive any further commercial electronic messages from Stanwell by emailing mailto:privacy at stanwell.com...
> ________________________________________________________________________________
>
>


-- 
Thanks & Regards
Sonal kumar N C
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20110419/93ec03be/attachment.html>


More information about the Xymon mailing list