Thread: [bwm-tools-tech] how to install dependencies
Brought to you by:
nkukard
From: Mark D. <ma...@du...> - 2006-08-15 17:03:35
|
maybe this is beyond what you guys would be ready to help with, but I'd like if someone could give me a script to do an install of bwm tools on a new installation of CentOS, or any other system that is recommended. Probably I'm too new to linux, but I just can't seem to get it working - I have dependency problems left and right. Having a script like that would make it so easy to get a system up and running too. If someone could do this, I'm ready to work on a window's front end in C++ Builder. - I'm doing this for a startup ISP, and they might need quite a few boxes over the country. I'm a DB programmer mostly, but told these guys I could do this for them. I'm also interested in getting OpenVPN on these boxes, but that can be done at a later time. Thanks, Mark |
From: Ravi P. <ra...@sw...> - 2006-08-16 06:03:43
|
Hi Mark, It is quite easy to install on CentOs. I have done the same a while ago. Basically you have to install rrdtool properly. Once this is done you will be able to compile bwm. Regards Ravi -----Original Message----- From: bwm...@li... [mailto:bwm...@li...] On Behalf Of Mark Dueck Sent: Tuesday, August 15, 2006 10:31 PM To: bwm...@li... Subject: [bwm-tools-tech] how to install dependencies maybe this is beyond what you guys would be ready to help with, but I'd like if someone could give me a script to do an install of bwm tools on a new installation of CentOS, or any other system that is recommended. Probably I'm too new to linux, but I just can't seem to get it working - I have dependency problems left and right. Having a script like that would make it so easy to get a system up and running too. If someone could do this, I'm ready to work on a window's front end in C++ Builder. - I'm doing this for a startup ISP, and they might need quite a few boxes over the country. I'm a DB programmer mostly, but told these guys I could do this for them. I'm also interested in getting OpenVPN on these boxes, but that can be done at a later time. Thanks, Mark ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ bwm-tools-tech mailing list bwm...@li... https://lists.sourceforge.net/lists/listinfo/bwm-tools-tech |
From: Mark D. <ma...@du...> - 2006-08-22 23:41:34
|
<html> <body> I finally got all the dependencies up.. Now I get compiling errors can someone help me with this?<br><br> these are the error messages I get. I get these if I do the <h4><b>bwm_tools-200603080716.tar.gz </b></h4>build, and also if I do the 0.2.3 build.<br><br> Thanks in advanced.<br><br> <br> gcc -g -O2 -o .libs/bwmd bwmd-report.o bwmd-flowControl.o bwmd-logging.o bwmd-ipq.o bwmd-libipq.o bwmd-flow.o bwmd-autoclass.o bwmd-bwmd.o -pthread -L/usr/local/lib -L/usr/lib ../lib/.libs/libbwm.so /usr/local/lib/libgthread-2.0.so /usr/local/lib/libglib-2.0.so /usr/lib/libxml2.so -lpthread ../rrdtool/src/.libs/librrd.so /usr/lib/libfreetype.so -lpng -lz -lart_lgpl_2 -lm -lpanel -lncurses -lmenu -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/rrdtool-1.2.14/lib<br> creating bwmd<br> make[2]: Leaving directory `/root/bshapper/bwm_tools-200603080716/bwmd'<br> Making all in bwm_monitor<br> make[2]: Entering directory `/root/bshapper/bwm_tools-200603080716/bwm_monitor'<br> make[3]: Entering directory `/root/bshapper/bwm_tools-200603080716'<br> make[3]: Leaving directory `/root/bshapper/bwm_tools-200603080716'<br> if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/include/libxml2 -g -O2 -MT bwm_monitor-bwm_monitor.o -MD -MP -MF ".deps/bwm_monitor-bwm_monitor.Tpo" -c -o bwm_monitor-bwm_monitor.o `test -f 'bwm_monitor.c' || echo './'`bwm_monitor.c; \<br> then mv -f ".deps/bwm_monitor-bwm_monitor.Tpo" ".deps/bwm_monitor-bwm_monitor.Po"; else rm -f ".deps/bwm_monitor-bwm_monitor.Tpo"; exit 1; fi<br> bwm_monitor.c:25:20: curses.h: No such file or directory<br> bwm_monitor.c:27:19: panel.h: No such file or directory<br> bwm_monitor.c:28:18: menu.h: No such file or directory<br> bwm_monitor.c:34:18: term.h: No such file or directory<br> In file included from bwm_monitor.c:38:<br> display.h:32: error: syntax error before '*' token<br> display.h:34: error: syntax error before '*' token<br> display.h:34: warning: data definition has no type or storage class<br> display.h:36: error: syntax error before '*' token<br> display.h:36: warning: data definition has no type or storage class<br> display.h:38: error: syntax error before '*' token<br> display.h:40: error: syntax error before '*' token<br> display.h:44: error: syntax error before "outs"<br> display.h:44: warning: data definition has no type or storage class<br> bwm_monitor.c:51: error: syntax error before '*' token<br> bwm_monitor.c: In function `updateWindow':<br> bwm_monitor.c:60: error: `flowName' undeclared (first use in this function)<br> bwm_monitor.c:60: error: (Each undeclared identifier is reported only once<br> bwm_monitor.c:60: error: for each function it appears in.)<br> bwm_monitor.c:61: error: `serverSock' undeclared (first use in this function)<br> bwm_monitor.c:74: error: `win' undeclared (first use in this function)<br> bwm_monitor.c:100: error: `stderr' undeclared (first use in this function)<br> bwm_monitor.c:113: error: `WA_NORMAL' undeclared (first use in this function)<br> bwm_monitor.c:137: error: `ERR' undeclared (first use in this function)<br> bwm_monitor.c: In function `statusWindow':<br> bwm_monitor.c:154: error: `WINDOW' undeclared (first use in this function)<br> bwm_monitor.c:154: error: `myWindow' undeclared (first use in this function)<br> bwm_monitor.c:168: error: `WA_NORMAL' undeclared (first use in this function)<br> bwm_monitor.c:168: error: `WA_UNDERLINE' undeclared (first use in this function)<br> bwm_monitor.c:168: error: `WA_BOLD' undeclared (first use in this function)<br> bwm_monitor.c: In function `main':<br> bwm_monitor.c:210: error: `WINDOW' undeclared (first use in this function)<br> bwm_monitor.c:210: error: `w_main' undeclared (first use in this function)<br> bwm_monitor.c:211: error: `MENU' undeclared (first use in this function)<br> bwm_monitor.c:211: error: `m_main' undeclared (first use in this function)<br> bwm_monitor.c:212: error: `w_menu' undeclared (first use in this function)<br> bwm_monitor.c:213: error: `ITEM' undeclared (first use in this function)<br> bwm_monitor.c:213: error: `menu_items' undeclared (first use in this function)<br> bwm_monitor.c:230: error: `stderr' undeclared (first use in this function)<br> bwm_monitor.c:284: error: `stdscr' undeclared (first use in this function)<br> bwm_monitor.c:289: error: `cursor_invisible' undeclared (first use in this function)<br> bwm_monitor.c:297: error: `COLOR_BLUE' undeclared (first use in this function)<br> bwm_monitor.c:297: error: `COLOR_BLACK' undeclared (first use in this function)<br> bwm_monitor.c:298: error: `COLOR_WHITE' undeclared (first use in this function)<br> bwm_monitor.c:299: error: `COLOR_GREEN' undeclared (first use in this function)<br> bwm_monitor.c:301: error: `COLOR_YELLOW' undeclared (first use in this function)<br> bwm_monitor.c:331: error: syntax error before ')' token<br> bwm_monitor.c:359: error: `WA_NORMAL' undeclared (first use in this function)<br> bwm_monitor.c:359: error: `WA_BOLD' undeclared (first use in this function)<br> bwm_monitor.c:371: error: `E_UNKNOWN_COMMAND' undeclared (first use in this function)<br> bwm_monitor.c:373: error: `E_REQUEST_DENIED' undeclared (first use in this function)<br> make[2]: *** [bwm_monitor-bwm_monitor.o] Error 1<br> make[2]: Leaving directory `/root/bshapper/bwm_tools-200603080716/bwm_monitor'<br> make[1]: *** [all-recursive] Error 1<br> make[1]: Leaving directory `/root/bshapper/bwm_tools-200603080716'<br> make: *** [all] Error 2<br> [root@localhost bwm_tools-200603080716]#<br> </body> </html> |
From: Ravi P. <ra...@sw...> - 2006-08-23 07:08:28
|
Hi Mark, If you are still working on a Centos box, here are some easy steps to install BWM: config yum properly. Then install rrdtool and rrdtool-devel by giving the commands: yum install rrdtool and yum install rrdtool-devel then download the bwm_tools latest tarball, uncompress and enter the directory. give a command as under: ./configure --with-rrdtool2 followed by make and then make install This will compile and install all the executables in /usr/bin. Regards Ravi |