Good evening everybody, first post here.
I set up a minimal install a few weeks ago to be my new home firewall. Everything is working well with pf and bridging, everything is upgraded as much as possible with freebsd-update and portsnap.
I decided it was time to monitor my traffic so ntop should fit the bill. After a day of compiling all the dependencies it fails. My keen detective skills make me think it's somehow related to Python, but I don't know where to start looking. Is this a Python version mismatch?
Thanks for looking.
I set up a minimal install a few weeks ago to be my new home firewall. Everything is working well with pf and bridging, everything is upgraded as much as possible with freebsd-update and portsnap.
I decided it was time to monitor my traffic so ntop should fit the bill. After a day of compiling all the dependencies it fails. My keen detective skills make me think it's somehow related to Python, but I don't know where to start looking. Is this a Python version mismatch?
Code:
/usr/local/include/pth/pthread.h:532:1: warning: this is the location of the previous definition
In file included from /usr/local/include/python2.7/Python.h:166,
from ntop.h:485,
from globals-core.c:26:
/usr/local/include/pth/pth.h:575:1: warning: "send" redefined
In file included from ntop.h:254,
from globals-core.c:26:
/usr/local/include/pth/pthread.h:533:1: warning: this is the location of the previous definition
In file included from /usr/local/include/python2.7/Python.h:166,
from ntop.h:485,
from globals-core.c:26:
/usr/local/include/pth/pth.h:576:1: warning: "recvfrom" redefined
In file included from ntop.h:254,
from globals-core.c:26:
/usr/local/include/pth/pthread.h:534:1: warning: this is the location of the previous definition
In file included from /usr/local/include/python2.7/Python.h:166,
from ntop.h:485,
from globals-core.c:26:
/usr/local/include/pth/pth.h:577:1: warning: "sendto" redefined
In file included from ntop.h:254,
from globals-core.c:26:
/usr/local/include/pth/pthread.h:535:1: warning: this is the location of the previous definition
In file included from /usr/local/include/python2.7/Python.h:166,
from ntop.h:485,
from globals-core.c:26:
/usr/local/include/pth/pth.h:578:1: warning: "pread" redefined
In file included from ntop.h:254,
from globals-core.c:26:
/usr/local/include/pth/pthread.h:536:1: warning: this is the location of the previous definition
In file included from /usr/local/include/python2.7/Python.h:166,
from ntop.h:485,
from globals-core.c:26:
/usr/local/include/pth/pth.h:579:1: warning: "pwrite" redefined
In file included from ntop.h:254,
from globals-core.c:26:
/usr/local/include/pth/pthread.h:537:1: warning: this is the location of the previous definition
In file included from ntop.h:523,
from globals-core.c:26:
globals-core.h:900:1: warning: "sleep" redefined
In file included from /usr/local/include/python2.7/Python.h:166,
from ntop.h:485,
from globals-core.c:26:
/usr/local/include/pth/pth.h:562:1: warning: this is the location of the previous definition
gmake[2]: *** [globals-core.lo] Error 1
gmake[2]: Leaving directory `/usr/ports/net/ntop/work/ntop-5.0.1'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/net/ntop/work/ntop-5.0.1'
gmake: *** [all] Error 2
*** [do-build] Error code 1
Stop in /usr/ports/net/ntop.
*** [install] Error code 1
Stop in /usr/ports/net/ntop.
root@fw:/usr/ports/net/ntop #
Thanks for looking.