GeoIP

Hi all,

I have followed the steps here - http://www.bro-ids.org/wiki/index.php/GeoLocation but when I configure bro-1.3, I have this -

Bro Configuration Summary

Hello all,

The "./configure" tries to find specific files.

I have followed the steps here - http://www.bro-ids.org/wiki/index.php/GeoLocation but when I configure bro-1.3, I have this -

<snip>

How can I force it to enable GeoIP support.

If you installed the package/port under freebsd, just make sure your CFLAGS and LDFLAGS variables have correct include and lib paths. For example with bash..

export CFLAGS=-I/usr/local/include
export LDFLAGS=-L/usr/local/lib

I'll add it to the wiki now too.

   .Seth

Is geoip installed? (net/geoip in ports.)

Hi all,

Thanks for quick reply, I have GeoIP installed via FreeBSD port, now trying the solution mentioned.

Cheers :wink:

Seth,

If i export the variables, I have problem with FileAnalyzer, just to let you know that I don’t have problem compiling without GeoIP at all.

source=‘FileAnalyzer.cc’ object=‘FileAnalyzer.o ’ libtool=no
depfile=’.deps/FileAnalyzer.Po’ tmpdepfile=’.deps/FileAnalyzer.TPo’
depmode=gcc3 /usr/local/bin/bash …/depcomp
g++ -DHAVE_CONFIG_H -I. -I. -I… -I. -I…/aux/binpac/lib -I…/src -I. -I… -Ilibedit -O -I/usr/local/include -W -Wall -Wno-unused -g -O2 -c -o FileAnalyzer.o test -f 'FileAnalyzer.cc' || echo './'FileAnalyzer.cc
FileAnalyzer.cc: In member function void File_Analyzer::Identify()': FileAnalyzer.cc:80: error: cl_scanbuff’ was not declared in this scope
FileAnalyzer.cc: In static member function static void File_Analyzer::InitClamAV()': FileAnalyzer.cc:113: error: cl_loaddbdir’ was not declared in this scope
gmake[3]: *** [FileAnalyzer.o] Error 1
gmake[3]: Leaving directory `/usr/i-Apps/bro- 1.3.1/src’
gmake[2]: *** [all] Error 2

Thanks.

This is the same problem I had when installing with the clamAV libs on
Ubuntu 7.04. The solution was to remove the libclamav development libraries.

-Tim

CS Lee wrote:

Hi Tim,

Thanks, the problem goes away after i remove clamav