Re: [bwm-tools-tech] compilation error
Brought to you by:
nkukard
From: Nabin L. <nl...@he...> - 2006-10-10 12:54:05
|
After installing rrdtool and rrdtool-devel via yum and then trying to compile bwm_tools again, I get such errors now: glib-2.0 -I/usr/lib/glib-2.0/include =20 -DLOG_DIR=3D\"/usr/local/var/bwm_tools\" -DRRDTOOL_VER=3D0 -g -O2 -MT bwm_graph-graph.o -MD -MP -MF ".deps/bwm_graph-graph.Tpo" -c -o bwm_graph-graph.o `test -f 'graph.c' || echo './'`graph.c; \ then mv -f ".deps/bwm_graph-graph.Tpo" ".deps/bwm_graph-graph.Po"; else r= m -f ".deps/bwm_graph-graph.Tpo"; exit 1; fi graph.c: In function =E2writeGraphs=E2: graph.c:633: error: too few arguments to function =E2rrd_graph=E2 make[2]: *** [bwm_graph-graph.o] Error 1 make[2]: Leaving directory `/usr/local/bwm_tools-0.2.3/bwm_graph' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/bwm_tools-0.2.3' make: *** [all] Error 2 > Rrdtool-devel is required for bwm. > > The best way that I learnt to install rrdtool and rrdtool-devel with al= l > dependencies is to use yum. > > After this installing bwm should be a breeze. > > -----Original Message----- > From: bwm...@li... > [mailto:bwm...@li...] On Behalf Of Nabi= n > Limbu > Sent: Tuesday, October 10, 2006 3:17 PM > To: bwm...@li... > Subject: Re: [bwm-tools-tech] compilation error > > I have installed rrdtool from source package i.e. rrdtool-1.2.15.tar.gz > I have also enabled "--with-rrdtool2 --disable-rrdcgi" options while > compiling rrdtool. There was no any error message while installing > rrdtool. > > Do I still need rrdtool-devel? > > >> You also need to install rrdtool-devel >> >> -----Original Message----- >> From: bwm...@li... >> [mailto:bwm...@li...] On Behalf Of >> Nabin Limbu >> Sent: Tuesday, October 10, 2006 12:03 PM >> To: bwm...@li... >> Subject: [bwm-tools-tech] compilation error >> >> Hi, >> >> I am trying to install bwm-tools in Fedora Core 5. I have sucessfully >> installed rrdtool-1.2.15 with options "--with-rrdtool2 >> --disable-rrdcgi". I have linked rrdtool library file in >> /etc/ld.so.conf also. >> >> But, while compiling bwmd with command "make", I get below errors: >> >> if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -pthread >> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include >> -DLOG_DIR=3D\"/usr/local/var/bwm_tools\" -DRRDTOOL_VER=3D0 -g -O2 -MT >> bwm_graph-graph.o -MD -MP -MF ".deps/bwm_graph-graph.Tpo" -c -o >> bwm_graph-graph.o `test -f 'graph.c' || echo './'`graph.c; \ then mv >> -f ".deps/bwm_graph-graph.Tpo" ".deps/bwm_graph-graph.Po"; else rm -f >> ".deps/bwm_graph-graph.Tpo"; exit 1; fi >> graph.c:37:17: error: rrd.h: No such file or directory >> make[2]: *** [bwm_graph-graph.o] Error 1 >> make[2]: Leaving directory `/usr/local/bwm_tools-0.2.3/bwm_graph' >> make[1]: *** [all-recursive] Error 1 >> make[1]: Leaving directory `/usr/local/bwm_tools-0.2.3' >> make: *** [all] Error 2 >> >> Hoping for kind support. >> >> Regards >> Nabin Limbu >> >> >> >> >> ---------------------------------------------------------------------- >> --- Take Surveys. Earn Cash. Influence the Future of IT Join >> SourceForge.net's Techsay panel and you'll get the chance to share >> your opinions on IT & business topics through brief surveys -- and >> earn cash >> http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID= =3DDEV >> DEV _______________________________________________ >> bwm-tools-tech mailing list >> bwm...@li... >> https://lists.sourceforge.net/lists/listinfo/bwm-tools-tech >> >> >> ---------------------------------------------------------------------- >> --- Take Surveys. Earn Cash. Influence the Future of IT Join >> SourceForge.net's Techsay panel and you'll get the chance to share >> your opinions on IT & business topics through brief surveys -- and >> earn cash >> http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID= =3DDEV >> DEV _______________________________________________ >> bwm-tools-tech mailing list >> bwm...@li... >> https://lists.sourceforge.net/lists/listinfo/bwm-tools-tech > > > > > -----------------------------------------------------------------------= -- > Take Surveys. Earn Cash. Influence the Future of IT Join > SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > bwm-tools-tech mailing list > bwm...@li... > https://lists.sourceforge.net/lists/listinfo/bwm-tools-tech > > > -----------------------------------------------------------------------= -- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your opinions on IT & business topics through brief surveys -- and earn > cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > bwm-tools-tech mailing list > bwm...@li... > https://lists.sourceforge.net/lists/listinfo/bwm-tools-tech |