[Bro-Dev] [JIRA] (BIT-1326) Broctl installation requires sqlite but does not check for its presence

Aashish Sharma (JIRA) jira at bro-tracker.atlassian.net
Wed Mar 18 11:47:00 PDT 2015

    [ https://bro-tracker.atlassian.net/browse/BIT-1326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=20022#comment-20022 ] 

Aashish Sharma commented on BIT-1326:

I am trying to test some stuff with the current master on FreeBSD. 

Any idea when this would be fixed and/or any hints on a workaround ? 


> Broctl installation requires sqlite but does not check for its presence
> -----------------------------------------------------------------------
>                 Key: BIT-1326
>                 URL: https://bro-tracker.atlassian.net/browse/BIT-1326
>             Project: Bro Issue Tracker
>          Issue Type: Problem
>          Components: BroControl
>    Affects Versions: git/master
>            Reporter: Johanna Amann
>             Fix For: 2.4
> Trying to start broctl on a new installation of FreeBSD with a standard python installation results in the following error message upon first start:
> {code}
> [bro at marge ~/master]$ broctl
> Traceback (most recent call last):
>   File "/xa/bro/master/bin/broctl", line 29, in <module>
>     from BroControl.broctl import BroCtl
>   File "/xa/bro/master/lib/broctl/BroControl/broctl.py", line 8, in <module>
>     from BroControl import util
>   File "/xa/bro/master/lib/broctl/BroControl/util.py", line 6, in <module>
>     from BroControl import config
>   File "/xa/bro/master/lib/broctl/BroControl/config.py", line 10, in <module>
>     from .state import SqliteState
>   File "/xa/bro/master/lib/broctl/BroControl/state.py", line 2, in <module>
>     import sqlite3
>   File "/usr/local/lib/python2.7/sqlite3/__init__.py", line 24, in <module>
>     from dbapi2 import *
>   File "/usr/local/lib/python2.7/sqlite3/dbapi2.py", line 28, in <module>
>     from _sqlite3 import *
> ImportError: No module named _sqlite3
> {code}
> We should probably check for the module in cmake and refuse installation if it is not present.

This message was sent by Atlassian JIRA

More information about the bro-dev mailing list