[Bro] Installing Bro-1.5.1 Ubuntu 9.10 Problem with gcc
Louis F Ruppert
lruppert at syr.edu
Thu Feb 11 08:14:40 PST 2010
Do you have python-dev and python2.5-dev installed as well? If I remember correctly, the configure script doesn't really seem to look for the presence of the python libraries, so you can imagine the results if you don't have them installed when compiling the python-based broccoli. My home bro setup uses ubuntu, so I know it can be made to work. :)
-Lou
--
Lou Ruppert
Intrusion Analyst, GCFA
Information Security
Syracuse University
________________________________________
From: bro-bounces at ICSI.Berkeley.EDU [bro-bounces at ICSI.Berkeley.EDU] On Behalf Of ssm_as [ssm_as at yahoo.com]
Sent: Thursday, February 11, 2010 10:05 AM
To: bro at ICSI.Berkeley.EDU
Subject: [Bro] Installing Bro-1.5.1 Ubuntu 9.10 Problem with gcc
I am trying to install bro under Ubuntu 9.10
I did the following:
apt-get install libncurses5-dev
apt-get install g++
apt-get install bison
apt-get install flex
apt-get install libmagic-dev
apt-get install libgeoip-dev
apt-get install libssl-dev
Then I type the following as a root
./configure --enable shippedpcap
I got the following:
Bro Configuration Summary
==========================================================
- Debugging enabled: no
- OpenSSL support: yes
- Non-blocking main loop: yes
- Non-blocking resolver: yes
- Installation prefix: /usr/local/bro
- Perl interpreter: /usr/bin/perl
- Using basic_string: yes
- Using libmagic: yes
- Using perftools: no
- Binpac used: shipped with Bro
- Using libGeoIP: yes
- Enabled broctl: yes
- Enabled cluster: no
- Pcap used: shipped with Bro
Then I typed "make"
broccoli_intern_wrap.c:8557: error: ‘Swig_var_bro_debug_messages_get’ undeclared (first use in this function)
broccoli_intern_wrap.c:8557: error: ‘Swig_var_bro_debug_messages_set’ undeclared (first use in this function)
broccoli_intern_wrap.c:8558: warning: implicit declaration of function ‘SWIG_Python_SetConstant’
broccoli_intern_wrap.c:8558: warning: implicit declaration of function ‘SWIG_From_int’
error: command 'gcc' failed with exit status 1
make[4]: *** [pybroccoli] Error 1
make[4]: Leaving directory `/home/shsaad/Apps/IDS/bro-1.5.1/aux/broctl'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/shsaad/Apps/IDS/bro-1.5.1/aux'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/shsaad/Apps/IDS/bro-1.5.1/aux'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/shsaad/Apps/IDS/bro-1.5.1'
make: *** [all] Error 2
I do not know what is the problem exactly
Thanks
Sherif
More information about the Bro
mailing list