On 05/28/2013 10:22 AM, Irek Wlizlo wrote:
Hi Daniel,

Daniel Borkmann <dborkman@...> writes:


On 05/27/2013 03:01 PM, Irek Wlizlo wrote:
Daniel Borkmann <borkmann <at> ...> writes:
On 05/27/2013 01:17 PM, Irek Wlizlo wrote:
[..]


Yes:

    git clone git://github.com/borkmann/netsniff-ng.git
    cd netsniff-ng/
    make netsniff-ng
    make netsniff-ng_install

Now I'm trying to build from git source. It seems I very close but not finish ;)

You need (probably your distro doesn't ship it):

wget http://geolite.maxmind.com/download/geoip/api/c/GeoIP-1.4.8.tar.gz
tar -zxvf GeoIP-1.4.8.tar.gz
cd GeoIP-1.4.8
./configure
make
make install
ldconfig

And then try it once again to build netsniff-ng.

I got the message:

  make netsniff-ng
Building netsniff-ng:
   CC    geoip.c
geoip.c:40: error: 'GEOIP_CITY_EDITION_REV1_V6' undeclared here (not in a
function)
geoip.c:40: error: array index in initializer not of integer type
geoip.c:40: error: (near initialization for 'files')
geoip.c:64: error: 'GEOIP_ASNUM_EDITION_V6' undeclared here (not in a function)
geoip.c:64: error: array index in initializer not of integer type
geoip.c:64: error: (near initialization for 'files')
geoip.c:76: warning: missing initializer
geoip.c:76: warning: (near initialization for 'empty.country_code3')
cc1: warning: unrecognized command line option "-Wno-unused-result"
make: *** [netsniff-ng/geoip.o] Error 1


rpm -aq gc*
gcc-c++-4.4.6-4.el6.x86_64
gcc-gfortran-4.4.6-4.el6.x86_64
gcc-4.4.6-4.el6.x86_64


and honestly speaking I have no idea how to fix it.

Do you have any suggestion ?

Thanks
Irek






--
You received this message because you are subscribed to the Google Groups 
"netsniff-ng" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to