Xymon Mailing List Archive search

Newbie install questions

6 messages in this thread

list Richard Kennard · Tue, 12 Jul 2005 16:57:41 +0100 ·
Dear All,
Please forgive what (no doubt) will be very noddy level questions!

I'm running fedora core 4, and am trying to install hobbit.
I've installed rrd using the rpm (rrdtool-1.0.49-5.fc4.i386.rpm) and it 
/appears/ to have installed.
When I attempt to run ./configure I get:

Checking for RRDtool ...
RRDtool include- or library-files not found. These are REQUIRED for hobbitd
RRDtool can be found at http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/
If you have RRDtool installed, use the "--rrdinclude DIR" and "--rrdlib DIR"
options to configure to specify where they are.

When I add the rrinclude and rrdlib lines (pointing to /usr/bin and 
user/lib respectively) I get:

Checking for RRDtool ...
test-rrd.c:3:17: error: rrd.h: No such file or directory
test-rrd.c: In function ÔÇÿmainÔÇÖ:
test-rrd.c:26: warning: implicit declaration of function 
ÔÇÿrrd_clear_errorÔÇÖ
test-rrd.c:30: warning: implicit declaration of function ÔÇÿrrd_graphÔÇÖ
make: *** [test-compile] Error 1
Not RRDtool 1.0.x, checking for 1.2.x
test-rrd.c:3:17: error: rrd.h: No such file or directory
test-rrd.c: In function ÔÇÿmainÔÇÖ:
test-rrd.c:26: warning: implicit declaration of function 
ÔÇÿrrd_clear_errorÔÇÖ
test-rrd.c:28: warning: implicit declaration of function ÔÇÿrrd_graphÔÇÖ
make: *** [test-compile] Error 1
ERROR: RRDtool include files found in /usr/bin, but compile fails.

Any advice would be much appeciated!
Also, is there an FAQ or archive somewhere?

Cheers!

Richard
list Figaro Nicolas · Tue, 12 Jul 2005 18:06:26 +0200 ·
You need the rrd include files, bu I'm not sure thoseones are shipped with your rpm. 
The rrdinclude should be something like /usr/include. 
Check if you can find a rrd.h file in /usr

find /usr -name rrd.h -print 
I don't know if there is an faq. But you can search the mailing list archives, in case someone had the same problem before :
http://www.hswn.dk/hobbiton/

Nicolas Figaro 
quoted from Richard Kennard
-----Message d'origine-----
De : richard kennard [mailto:user-d656a6f970e4@xymon.invalid] Envoyé : mardi 12 juillet 2005 17:58
À : user-ae9b8668bcde@xymon.invalid
Objet : [hobbit] Newbie install questions


Dear All,
Please forgive what (no doubt) will be very noddy level questions!

I'm running fedora core 4, and am trying to install hobbit. I've installed rrd using the rpm (rrdtool-1.0.49-5.fc4.i386.rpm) and it /appears/ to have installed.
When I attempt to run ./configure I get:

Checking for RRDtool ...
RRDtool include- or library-files not found. These are REQUIRED for hobbitd RRDtool can be found at http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/
If you have RRDtool installed, use the "--rrdinclude DIR" and "--rrdlib DIR" options to configure to specify where they are.

When I add the rrinclude and rrdlib lines (pointing to /usr/bin and user/lib respectively) I get:

Checking for RRDtool ...
test-rrd.c:3:17: error: rrd.h: No such file or directory
test-rrd.c: In function ÔÇÿmainÔÇÖ:
test-rrd.c:26: warning: implicit declaration of function ÔÇÿrrd_clear_errorÔÇÖ
test-rrd.c:30: warning: implicit declaration of function ÔÇÿrrd_graphÔÇÖ
make: *** [test-compile] Error 1
Not RRDtool 1.0.x, checking for 1.2.x
test-rrd.c:3:17: error: rrd.h: No such file or directory
test-rrd.c: In function ÔÇÿmainÔÇÖ:
test-rrd.c:26: warning: implicit declaration of function ÔÇÿrrd_clear_errorÔÇÖ
test-rrd.c:28: warning: implicit declaration of function ÔÇÿrrd_graphÔÇÖ
make: *** [test-compile] Error 1
ERROR: RRDtool include files found in /usr/bin, but compile fails.

Any advice would be much appeciated!
Also, is there an FAQ or archive somewhere?

Cheers!

Richard
list Visions.se David · Tue, 12 Jul 2005 18:15:10 +0200 ·
I'm a newbie as well here, but after googling around a bit for my own rrd installation problems with conf and make.. I found several people saying that if you followed this install guide all the way it would work. And alas - it did for me at last :) I installed even the packets that I knew that I had because you need the --devel packages as well and those arent usually included in rpm's (as Nicolas stated below).

This is the faq for the build that u should follow:
http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/doc/rrdbuild.en.html

Good luck
David Majchrzak
quoted from Figaro Nicolas

FIGARO Nicolas wrote:
You need the rrd include files, bu I'm not sure thoseones are shipped with your rpm. 
The rrdinclude should be something like /usr/include. 
Check if you can find a rrd.h file in /usr

find /usr -name rrd.h -print 
I don't know if there is an faq. But you can search the mailing list archives, in case someone had the same problem before :
http://www.hswn.dk/hobbiton/

Nicolas Figaro 
-----Message d'origine-----
De : richard kennard [mailto:user-d656a6f970e4@xymon.invalid] Envoyé : mardi 12 juillet 2005 17:58
À : user-ae9b8668bcde@xymon.invalid
Objet : [hobbit] Newbie install questions


Dear All,
Please forgive what (no doubt) will be very noddy level questions!

I'm running fedora core 4, and am trying to install hobbit. I've installed rrd using the rpm (rrdtool-1.0.49-5.fc4.i386.rpm) and it /appears/ to have installed.
When I attempt to run ./configure I get:

Checking for RRDtool ...
RRDtool include- or library-files not found. These are REQUIRED for hobbitd RRDtool can be found at http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/
If you have RRDtool installed, use the "--rrdinclude DIR" and "--rrdlib DIR" options to configure to specify where they are.

When I add the rrinclude and rrdlib lines (pointing to /usr/bin and user/lib respectively) I get:

Checking for RRDtool ...
test-rrd.c:3:17: error: rrd.h: No such file or directory
test-rrd.c: In function ÔÇÿmainÔÇÖ:
test-rrd.c:26: warning: implicit declaration of function ÔÇÿrrd_clear_errorÔÇÖ
test-rrd.c:30: warning: implicit declaration of function ÔÇÿrrd_graphÔÇÖ
make: *** [test-compile] Error 1
Not RRDtool 1.0.x, checking for 1.2.x
test-rrd.c:3:17: error: rrd.h: No such file or directory
test-rrd.c: In function ÔÇÿmainÔÇÖ:
test-rrd.c:26: warning: implicit declaration of function ÔÇÿrrd_clear_errorÔÇÖ
test-rrd.c:28: warning: implicit declaration of function ÔÇÿrrd_graphÔÇÖ
make: *** [test-compile] Error 1
ERROR: RRDtool include files found in /usr/bin, but compile fails.

Any advice would be much appeciated!
Also, is there an FAQ or archive somewhere?

Cheers!

Richard

list David Majchrzak · Tue, 12 Jul 2005 18:16:09 +0200 ·
I'm a newbie as well here, but after googling around a bit for my own rrd installation problems with conf and make.. I found several people saying that if you followed this install guide all the way it would work. And alas - it did for me at last  :)  I installed even the packets that I knew that I had because you need the --devel packages as well and those arent usually included in rpm's (as Nicolas stated below).

This is the faq for the build that u should follow:
http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/doc/rrdbuild.en.html

Good luck
David Majchrzak

FIGARO Nicolas wrote:
You need the rrd include files, bu I'm not sure thoseones are shipped with your rpm. 
The rrdinclude should be something like /usr/include. 
Check if you can find a rrd.h file in /usr

find /usr -name rrd.h -print 
I don't know if there is an faq. But you can search the mailing list archives, in case someone had the same problem before :
http://www.hswn.dk/hobbiton/

Nicolas Figaro 
-----Message d'origine-----
De : richard kennard [mailto:user-d656a6f970e4@xymon.invalid] Envoyé : mardi 12 juillet 2005 17:58
À : user-ae9b8668bcde@xymon.invalid
Objet : [hobbit] Newbie install questions


Dear All,
Please forgive what (no doubt) will be very noddy level questions!

I'm running fedora core 4, and am trying to install hobbit. I've installed rrd using the rpm (rrdtool-1.0.49-5.fc4.i386.rpm) and it /appears/ to have installed.
When I attempt to run ./configure I get:

Checking for RRDtool ...
RRDtool include- or library-files not found. These are REQUIRED for hobbitd RRDtool can be found at http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/
If you have RRDtool installed, use the "--rrdinclude DIR" and "--rrdlib DIR" options to configure to specify where they are.

When I add the rrinclude and rrdlib lines (pointing to /usr/bin and user/lib respectively) I get:

Checking for RRDtool ...
test-rrd.c:3:17: error: rrd.h: No such file or directory
test-rrd.c: In function ÔÇÿmainÔÇÖ:
test-rrd.c:26: warning: implicit declaration of function ÔÇÿrrd_clear_errorÔÇÖ
test-rrd.c:30: warning: implicit declaration of function ÔÇÿrrd_graphÔÇÖ
make: *** [test-compile] Error 1
Not RRDtool 1.0.x, checking for 1.2.x
test-rrd.c:3:17: error: rrd.h: No such file or directory
test-rrd.c: In function ÔÇÿmainÔÇÖ:
test-rrd.c:26: warning: implicit declaration of function ÔÇÿrrd_clear_errorÔÇÖ
test-rrd.c:28: warning: implicit declaration of function ÔÇÿrrd_graphÔÇÖ
make: *** [test-compile] Error 1
ERROR: RRDtool include files found in /usr/bin, but compile fails.

Any advice would be much appeciated!
Also, is there an FAQ or archive somewhere?

Cheers!

Richard

list Al Jeffcoat · Tue, 12 Jul 2005 12:20:57 -0400 ·
You'll need to install rrdtool-devel also.  I'm not sure but I think I also had to do pcre-devel to put hobbit on fc4 here.

HTH.

Al
quoted from Richard Kennard


-----Original Message-----
From: richard kennard [mailto:user-d656a6f970e4@xymon.invalid] 
Sent: Tuesday, July 12, 2005 11:58 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Newbie install questions

Dear All,
Please forgive what (no doubt) will be very noddy level questions!

I'm running fedora core 4, and am trying to install hobbit.
I've installed rrd using the rpm (rrdtool-1.0.49-5.fc4.i386.rpm) and it 
/appears/ to have installed.
When I attempt to run ./configure I get:

Checking for RRDtool ...
RRDtool include- or library-files not found. These are REQUIRED for hobbitd
RRDtool can be found at http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/
If you have RRDtool installed, use the "--rrdinclude DIR" and "--rrdlib DIR"
options to configure to specify where they are.

When I add the rrinclude and rrdlib lines (pointing to /usr/bin and 
user/lib respectively) I get:

Checking for RRDtool ...
test-rrd.c:3:17: error: rrd.h: No such file or directory
test-rrd.c: In function ÔÇÿmainÔÇÖ:
test-rrd.c:26: warning: implicit declaration of function 
ÔÇÿrrd_clear_errorÔÇÖ
test-rrd.c:30: warning: implicit declaration of function ÔÇÿrrd_graphÔÇÖ
make: *** [test-compile] Error 1
Not RRDtool 1.0.x, checking for 1.2.x
test-rrd.c:3:17: error: rrd.h: No such file or directory
test-rrd.c: In function ÔÇÿmainÔÇÖ:
test-rrd.c:26: warning: implicit declaration of function 
ÔÇÿrrd_clear_errorÔÇÖ
test-rrd.c:28: warning: implicit declaration of function ÔÇÿrrd_graphÔÇÖ
make: *** [test-compile] Error 1
ERROR: RRDtool include files found in /usr/bin, but compile fails.

Any advice would be much appeciated!
Also, is there an FAQ or archive somewhere?

Cheers!

Richard


This e-mail message and any attached files are confidential and are intended solely for the use of the addressee(s) named above. If you are not the intended recipient, any review, use, or distribution of this e-mail message and any attached files is strictly prohibited. This communication may contain material protected by Federal privacy regulations, attorney-client work product, or other privileges. If you have received this confidential communication in error, please notify the sender immediately by reply e-mail message and permanently delete the original message.  To reply to our email administrator directly, send an email to:  user-ecde3bbc361d@xymon.invalid .  If this e-mail message concerns a contract matter, be advised that no employee or agent is authorized to conclude any binding agreement on behalf of Orlando Regional Healthcare by e-mail without express written confirmation by an officer of the corporation. Any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Orlando Regional Healthcare.
list Richard Kennard · Wed, 20 Jul 2005 15:56:18 +0100 ·
Dear All,
Thanks for your advise last week. Went back to the blow by blow rrd install doc (which I'd already tried and failed at) and tried again.
Got the same problem which was

/I found a copy of pkgconfig, but there is no cgilib.pc file around./

/You may want to set the PKG_CONFIG_PATH variable to point to its/

/location./

/I could not find a working copy of cgilib.
/

After many different approaches I found the following which worked:

 (from http://forums.cacti.net/about7934.html)


step 1. on root direktory get cgilib from
_<http://people.ee.ethz.ch/oetiker/webtools/rrdtool/pub/libs/cgilib-0.5.tar.gz>_ 
wget _<http://people.ee.ethz.ch/oetiker/webtools/rrdtool/pub/libs/cgilib-0.5.tar.gz>_ 

step 2. extract file
tar zxf cgilib-0.5.tar.gz
step 3. chg to dir cgilib-0.5
cd cgilib-0.5
step 4. make && make install

step 5. pwd
step 6. create cgilib.pc file
pico /usr/lib/pkgconfig/cgilib.pc

paste it
#-----cut from here------
prefix=/root/cgilib-0.5
exec_prefix=/root/cgilib-0.5
libdir=/root/cgilib-0.5
includedir=/root/cgilib-0.5

Name: cgilib
Description: Common Gateway Interface (CGI) Library
Version: D_ver
Libs: -L${libdir} -lcgi
Cflags: -I${includedir}
#---------and here------

then save cgilib.pc

step 7. now try to compile rrdtools
step 8. make && make install
step 9. finish

Hope this may be usefull to somebody.

Best regards,

R
//