[Xymon] xymon 4.3.2 configuration error for rrdtool

FORD Alan Alan.FORD at stanwell.com
Tue Apr 19 10:37:02 CEST 2011


I'm guessing (I don't have an AIX box) that those options only work with cc and not FCC.
You could try Google and see what the gcc options are that match cc
Or someone may have a gcc AIX makefile already


Sent from my iPhone

On 19/04/2011, at 6:00 PM, "sonal kumar" <nc.sonal at gmail.com<mailto:nc.sonal at gmail.com>> wrote:

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 <<mailto:Alan.FORD at stanwell.com>Alan.FORD at stanwell.com<mailto: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: <mailto:xymon-bounces at xymon.com> xymon-bounces at xymon.com<mailto:xymon-bounces at xymon.com> [mailto:<mailto:xymon-bounces at xymon.com>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: <mailto:xymon at xymon.com> xymon at xymon.com<mailto: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 <<mailto:Phil.Crooker at orix.com.au>Phil.Crooker at orix.com.au<mailto: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
<<mailto:BANLkTikLj8APQg468O8Q-tVx1JRdK6qBOA at mail.gmail.com>BANLkTikLj8APQg468O8Q-tVx1JRdK6qBOA at mail.gmail.com<mailto:BANLkTikLj8APQg468O8Q-tVx1JRdK6qBOA at mail.gmail.com>>, sonal kumar
<<mailto:nc.sonal at gmail.com>nc.sonal at gmail.com<mailto: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:<mailto:privacy at stanwell.com.>privacy at stanwell.com<mailto:privacy at stanwell.com>...
________________________________________________________________________________




--
Thanks & Regards
Sonal kumar N C




More information about the Xymon mailing list