LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-15-2010, 03:06 AM   #1
pankaj.chauhan.fbd
LQ Newbie
 
Registered: Dec 2010
Posts: 2

Rep: Reputation: 0
Installing BCM Tools


hi i wanna configure bwm_tools 0.3.0. I alreadyinstall rrdtool. when i type ./configure it will not show any error. but when i type command make it will show
Code:
make  all-recursive
make[1]: Entering directory `/usr/local/bwm_tools'
Making all in lib
make[2]: Entering directory `/usr/local/bwm_tools/lib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/bwm_tools/lib'
Making all in bwm_firewall
make[2]: Entering directory `/usr/local/bwm_tools/bwm_firewall'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/bwm_tools/bwm_firewall'
Making all in bwm_graph
make[2]: Entering directory `/usr/local/bwm_tools/bwm_graph'
gcc -DHAVE_CONFIG_H -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
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 `/usr/local/bwm_tools/bwm_graph'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/bwm_tools'
make: *** [all] Error 2
is there is any problem with make command
after then when i type make install then it will show

Code:
Making install in lib
make[1]: Entering directory `/usr/local/bwm_tools/lib'
make[2]: Entering directory `/usr/local/bwm_tools/lib'
test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
 /bin/sh ../libtool --mode=install /usr/bin/install -c  'libbwm.la' '/usr/local/lib/libbwm.la'
/usr/bin/install -c .libs/libbwm.so.1.0.0 /usr/local/lib/libbwm.so.1.0.0
(cd /usr/local/lib && rm -f libbwm.so.1 && ln -s libbwm.so.1.0.0 libbwm.so.1)
(cd /usr/local/lib && rm -f libbwm.so && ln -s libbwm.so.1.0.0 libbwm.so)
/usr/bin/install -c .libs/libbwm.lai /usr/local/lib/libbwm.la
/usr/bin/install -c .libs/libbwm.a /usr/local/lib/libbwm.a
chmod 644 /usr/local/lib/libbwm.a
ranlib /usr/local/lib/libbwm.a
PATH="$PATH:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/usr/local/bwm_tools/lib'
make[1]: Leaving directory `/usr/local/bwm_tools/lib'
Making install in bwm_firewall
make[1]: Entering directory `/usr/local/bwm_tools/bwm_firewall'
make[2]: Entering directory `/usr/local/bwm_tools/bwm_firewall'
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
  /bin/sh ../libtool --mode=install /usr/bin/install -c 'bwm_firewall' '/usr/local/bin/bwm_firewall'
/usr/bin/install -c .libs/bwm_firewall /usr/local/bin/bwm_firewall
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/usr/local/bwm_tools/bwm_firewall'
make[1]: Leaving directory `/usr/local/bwm_tools/bwm_firewall'
Making install in bwm_graph
make[1]: Entering directory `/usr/local/bwm_tools/bwm_graph'
gcc -DHAVE_CONFIG_H -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
graph.c: In function âwriteGraphsâ:
graph.c:637: error: too few arguments to function ârrd_graphâ
make[1]: *** [bwm_graph-graph.o] Error 1
make[1]: Leaving directory `/usr/local/bwm_tools/bwm_graph'
make: *** [install-recursive] Error 1
but after then there is no firwall.xml file found in /etc/bwm_tools.
plz. tell me where im doing mistake.

Last edited by XavierP; 12-15-2010 at 03:54 AM. Reason: code tags and a move
 
Old 12-15-2010, 08:08 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Welcome to LQ.
Quote:
graph.c:637: fejl: too few arguments to function ‘rrd_graph’
You can just uncomment the text in bwm_tools-0.3.0/bwm_graph/graph.c,
lines 636 .. 642 :
Code:
   636	/* #if (RRDTOOL_VER == 0)
   637		result = rrd_graph(numParams,params,&prdata,&xsize,&ysize);
   638	#elif (RRDTOOL_VER == 2)
   639		result = rrd_graph(numParams,params,&prdata,&xsize,&ysize,NULL,&ymin,&ymax);
   640	#else
   641	#warning Your version of rrdtool is not supported
   642	#endif  */
( The "uncomment for c files" is /* at start, and */ at text end.)
Then the executable 'bwm_graph' is compiled OK.


Please also consider the alternative 'bwm-ng-0.6' : ( ng = new generation.)
http://www.gropp.org/bwm-ng/bwm-ng-0.6.tar.gz


If you have further questions, please tell which Linux, you are using.
Like Fedora 14, Ubuntu 10.10, CentOS 5.5, etc.
http://www.linuxquestions.org/linux/...Ask_a_Question
http://www.catb.org/~esr/faqs/smart-questions.html
..

Last edited by knudfl; 12-15-2010 at 09:59 AM.
 
Old 05-10-2011, 01:36 AM   #3
sudoroot
LQ Newbie
 
Registered: May 2011
Posts: 1

Rep: Reputation: 0
Thumbs up

Thanks a lot. I have been struggling to install bwm tools. but after reading thispost it works just fine.
Also I installed bwm-ng and checking if it solves the same purpose as bwm_tools
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing some compiling tools NEELIX_USR Linux - General 2 01-15-2009 08:33 AM
installing wireless tools yasserbn Linux - Software 2 01-03-2009 09:36 PM
installing vmware tools citrus Linux - General 6 09-08-2006 10:11 AM
Installing wireless tools MadScientist305 Linux - Wireless Networking 1 07-05-2006 11:30 PM
Problems installing BCM Modem Drivers on Fedora Core 1 judgedeath2 Linux - Hardware 3 04-14-2006 06:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration