[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Newbie install questions
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Newbie install questions
- From: richard kennard <richard.kennard (at) oxfordgenomesciences.com>
- Date: Wed, 20 Jul 2005 15:56:18 +0100
- References: <C99DCCB44C93494CB2779B5233674393C8D94E@MAIL03.orhs.org>
- User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
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
//