Thread: [bwm-tools-tech] Compile Error on Ubuntu 6.06
Brought to you by:
nkukard
From: Andrew N. <and...@gm...> - 2007-03-30 15:50:24
|
I am trying to get bwm-tools 0.2.3 to comple on an Ubuntu 6.06 box. I started off with a basic lamp install and then installed all the required packages: apt-get install build-essential rrdtool libxml2 librrd2-dev libglib2.0-dev libxml2-dev I issue a ./configure command that the completes fine I then issue a make command. The error that pops up is: if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -pthread -I/usr/include/glib-2.0 -I/usr/lib/ glib-2.0/include -I/usr/include/libxml2 -DCONFIG_FILE=\"/etc/bwm_tools/firewall.xml\" -DIPTABL ES_FILE=\"/etc/sysconfig/iptables\" -g -O2 -MT bwm_firewall-bwm_firewall.o -MD -MP -MF ".deps/b wm_firewall-bwm_firewall.Tpo" -c -o bwm_firewall-bwm_firewall.o `test -f 'bwm_firewall.c' || ech o './'`bwm_firewall.c; \ then mv -f ".deps/bwm_firewall-bwm_firewall.Tpo" ".deps/bwm_firewall-bwm_firewall.Po"; e lse rm -f ".deps/bwm_firewall-bwm_firewall.Tpo"; exit 1; fi /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o bwm_firewall -pthread -lgthread-2.0 -lg lib-2.0 -L/usr/lib -lxml2 -lz -lm -lpanel -lncurses -lmenu bwm_firewall-bwm_firewall.o ../lib/ libbwm.la mkdir .libs gcc -g -O2 -o .libs/bwm_firewall bwm_firewall-bwm_firewall.o -pthread -L/usr/lib -lpanel -lncur ses -lmenu ../lib/.libs/libbwm.so /usr/lib/libgthread-2.0.so -lpthread /usr/lib/libglib-2.0.so / usr/lib/libxml2.so -ldl -lz -lm -Wl,--rpath -Wl,/usr/local/lib /usr/bin/ld: cannot find -lpanel collect2: ld returned 1 exit status make[2]: *** [bwm_firewall] Error 1 make[2]: Leaving directory `/home/admin/bwm_tools-0.2.3/bwm_firewall' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/admin/bwm_tools-0.2.3' make: *** [all] Error 2 I think that older versions compiled fine on ubuntu but I can't remember exactlly. What is going that is causing this error? |
From: Andrew N. <and...@gm...> - 2007-03-30 16:10:43
|
I got it figured out, sorry for the spam it has been a really long link. For the archives I forgot to install ncurses-dev package: apt-get install ncurses-dev On 3/30/07, Andrew Niemantsverdriet <and...@gm...> wrote: > I am trying to get bwm-tools 0.2.3 to comple on an Ubuntu 6.06 box. I > started off with a basic lamp install and then installed all the > required packages: apt-get install build-essential rrdtool libxml2 > librrd2-dev libglib2.0-dev libxml2-dev > > I issue a ./configure command that the completes fine I then issue a > make command. > > The error that pops up is: > if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -pthread > -I/usr/include/glib-2.0 -I/usr/lib/ glib-2.0/include > -I/usr/include/libxml2 -DCONFIG_FILE=\"/etc/bwm_tools/firewall.xml\" > -DIPTABL ES_FILE=\"/etc/sysconfig/iptables\" -g -O2 -MT > bwm_firewall-bwm_firewall.o -MD -MP -MF ".deps/b > wm_firewall-bwm_firewall.Tpo" -c -o bwm_firewall-bwm_firewall.o `test > -f 'bwm_firewall.c' || ech o './'`bwm_firewall.c; \ > then mv -f ".deps/bwm_firewall-bwm_firewall.Tpo" > ".deps/bwm_firewall-bwm_firewall.Po"; e lse rm -f > ".deps/bwm_firewall-bwm_firewall.Tpo"; exit 1; fi > /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o bwm_firewall > -pthread -lgthread-2.0 -lg lib-2.0 -L/usr/lib -lxml2 -lz -lm -lpanel > -lncurses -lmenu bwm_firewall-bwm_firewall.o ../lib/ libbwm.la > mkdir .libs > gcc -g -O2 -o .libs/bwm_firewall bwm_firewall-bwm_firewall.o -pthread > -L/usr/lib -lpanel -lncur ses -lmenu ../lib/.libs/libbwm.so > /usr/lib/libgthread-2.0.so -lpthread /usr/lib/libglib-2.0.so / > usr/lib/libxml2.so -ldl -lz -lm -Wl,--rpath -Wl,/usr/local/lib > /usr/bin/ld: cannot find -lpanel > collect2: ld returned 1 exit status > make[2]: *** [bwm_firewall] Error 1 > make[2]: Leaving directory `/home/admin/bwm_tools-0.2.3/bwm_firewall' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/admin/bwm_tools-0.2.3' > make: *** [all] Error 2 > > I think that older versions compiled fine on ubuntu but I can't > remember exactlly. What is going that is causing this error? > |
From: John B. <jo...@mu...> - 2007-04-03 09:02:21
|
I am also trying to install bwm-tools 0.2.3 on Ubuntu 6.06. ./configure command completes with no problem. The make command gives me the following error, what am I missing? 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=\"/var/bwm_tools\" -DRRDTOOL_VER=0 -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: In function ‘writeGraphs’: graph.c:637: error: too few arguments to function ‘rrd_graph’ make[2]: *** [bwm_graph-graph.o] Error 1 make[2]: Leaving directory `/opt/bwm_tools-200603080716/bwm_graph' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/opt/bwm_tools-200603080716' make: *** [all] Error 2 John Bii -- John Bii School of Medicine Moi University |
From: Andrew N. <and...@gm...> - 2007-04-03 21:17:52
|
Are all these packages installed? apt-get install build-essential rrdtool libxml2 librrd2-dev libglib2.0-dev libxml2-dev I got bwm-tools and installed but never got it functing. i moved to centos and got stuff working On 4/3/07, John Bii <jo...@mu...> wrote: > I am also trying to install bwm-tools 0.2.3 on Ubuntu 6.06. > > > > ./configure command completes with no problem. > > The make command gives me the following error, what am I missing? > > > > 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=\"/var/bwm_tools\" -DRRDTOOL_VER=0 -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: In function ‘writeGraphs’: > > graph.c:637: error: too few arguments to function ‘rrd_graph’ > > make[2]: *** [bwm_graph-graph.o] Error 1 > > make[2]: Leaving directory `/opt/bwm_tools-200603080716/bwm_graph' > > make[1]: *** [all-recursive] Error 1 > > make[1]: Leaving directory `/opt/bwm_tools-200603080716' > > make: *** [all] Error 2 > > > > John Bii > > > > > > -- > > John Bii > > School of Medicine > > Moi University > > ------------------------------------------------------------------------- > 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=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > bwm-tools-tech mailing list > bwm...@li... > https://lists.sourceforge.net/lists/listinfo/bwm-tools-tech > |