[Bro] Git checkout OSX Python 3.x

Frank Meier franky.meier.1 at gmx.de
Mon Apr 18 23:29:54 PDT 2016


Hi Harry,


On Mon, 18 Apr 2016 09:51:59 -0700
Harry Hoffman <hhoffman at ip-solutions.net> wrote:

> Decided to have a go installing Bro on a OS X laptop. It seems as
> maybe there's a problem with later versions of Python. Anyone run
> into this?
> 
> 
> canning dependencies of target _pybroker
> [  8%] Building CXX object 
> aux/broker/bindings/python/CMakeFiles/_pybroker.dir/pybrokerPYTHON_wrap.cxx.o
> /var/tmp/bro/build/aux/broker/bindings/python/pybrokerPYTHON_wrap.cxx:39657:20: 
> error:
>        use of undeclared identifier 'PyInt_AsSsize_t'; did you mean
>        'PyLong_AsSsize_t'?
>      arg4 = (void*)(PyInt_AsSsize_t(obj3));
>                     ^~~~~~~~~~~~~~~
>                     PyLong_AsSsize_t

you could try my solution from BIT-528, but as noted there it causes
some warning.

Franky


More information about the Bro mailing list