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.