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
-----Original Message----- From: richard kennard [mailto:richard.kennard at oxfordgenomesciences.com] Sent: Tuesday, July 12, 2005 11:58 AM To: hobbit at hswn.dk 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
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
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: postmaster at orlandoregional.org . 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.
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 //
participants (2)
-
Al.Jeffcoat@orhs.org
-
richard.kennard@oxfordgenomesciences.com