[hobbit] Newbie install questions

richard kennard richard.kennard at oxfordgenomesciences.com
Wed Jul 20 16:56:18 CEST 2005


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
//






More information about the Xymon mailing list