Hi Folks,
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?
Cheers,
Harry
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
/opt/local/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m/longobject.h:25:24: note:
'PyLong_AsSsize_t' declared here
PyAPI_FUNC(Py_ssize_t) PyLong_AsSsize_t(PyObject *);
^
/var/tmp/bro/build/aux/broker/bindings/python/pybrokerPYTHON_wrap.cxx:39846:20: error:
use of undeclared identifier 'PyInt_AsSsize_t'; did you mean
'PyLong_AsSsize_t'?
arg4 = (void*)(PyInt_AsSsize_t(obj3));
^~~~~~~~~~~~~~~
PyLong_AsSsize_t
/opt/local/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m/longobject.h:25:24: note:
'PyLong_AsSsize_t' declared here
PyAPI_FUNC(Py_ssize_t) PyLong_AsSsize_t(PyObject *);
^
/var/tmp/bro/build/aux/broker/bindings/python/pybrokerPYTHON_wrap.cxx:40035:20: error:
use of undeclared identifier 'PyInt_AsSsize_t'; did you mean
'PyLong_AsSsize_t'?
arg4 = (void*)(PyInt_AsSsize_t(obj3));
^~~~~~~~~~~~~~~
PyLong_AsSsize_t
/opt/local/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m/longobject.h:25:24: note:
'PyLong_AsSsize_t' declared here
PyAPI_FUNC(Py_ssize_t) PyLong_AsSsize_t(PyObject *);
^
/var/tmp/bro/build/aux/broker/bindings/python/pybrokerPYTHON_wrap.cxx:40224:20: error:
use of undeclared identifier 'PyInt_AsSsize_t'; did you mean
'PyLong_AsSsize_t'?
arg4 = (void*)(PyInt_AsSsize_t(obj3));
^~~~~~~~~~~~~~~
PyLong_AsSsize_t
/opt/local/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m/longobject.h:25:24: note:
'PyLong_AsSsize_t' declared here
PyAPI_FUNC(Py_ssize_t) PyLong_AsSsize_t(PyObject *);
^
/var/tmp/bro/build/aux/broker/bindings/python/pybrokerPYTHON_wrap.cxx:40413:20: error:
use of undeclared identifier 'PyInt_AsSsize_t'; did you mean
'PyLong_AsSsize_t'?
arg4 = (void*)(PyInt_AsSsize_t(obj3));
^~~~~~~~~~~~~~~
PyLong_AsSsize_t
/opt/local/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m/longobject.h:25:24: note:
'PyLong_AsSsize_t' declared here
PyAPI_FUNC(Py_ssize_t) PyLong_AsSsize_t(PyObject *);
^
/var/tmp/bro/build/aux/broker/bindings/python/pybrokerPYTHON_wrap.cxx:40585:20: error:
use of undeclared identifier 'PyInt_AsSsize_t'; did you mean
'PyLong_AsSsize_t'?
arg3 = (void*)(PyInt_AsSsize_t(obj2));
^~~~~~~~~~~~~~~
PyLong_AsSsize_t
/opt/local/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m/longobject.h:25:24: note:
'PyLong_AsSsize_t' declared here
PyAPI_FUNC(Py_ssize_t) PyLong_AsSsize_t(PyObject *);
^
/var/tmp/bro/build/aux/broker/bindings/python/pybrokerPYTHON_wrap.cxx:40728:20: error:
use of undeclared identifier 'PyInt_AsSsize_t'; did you mean
'PyLong_AsSsize_t'?
arg3 = (void*)(PyInt_AsSsize_t(obj2));
^~~~~~~~~~~~~~~
PyLong_AsSsize_t
/opt/local/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m/longobject.h:25:24: note:
'PyLong_AsSsize_t' declared here
PyAPI_FUNC(Py_ssize_t) PyLong_AsSsize_t(PyObject *);
^
7 errors generated.
make[3]: *** [aux/broker/bindings/python/CMakeFiles/_pybroker.dir/pybrokerPYTHON_wrap.cxx.o] Error 1
make[2]: *** [aux/broker/bindings/python/CMakeFiles/_pybroker.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2