[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 12:01:03 PDT 2015
[ https://bro-tracker.atlassian.net/browse/BIT-1326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=20024#comment-20024 ]
Aashish Sharma commented on BIT-1326:
-------------------------------------
installing py27-sqlite3 does fix the issue on 10.1-RELEASE-p5
Thanks!
> 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
(v6.4-OD-15-055#64014)
More information about the bro-dev
mailing list