Opened 11 years ago

Closed 4 years ago

#39971 closed defect (wontfix)

bro uses system python; needs to use MacPorts python

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: Cc:
Port: bro

Description

bro finds the system python and links with it. configure output:

-- Found SWIG: /opt/local/bin/swig (found version "2.0.9") 
-- Found PythonInterp: /usr/bin/python (found version "2.7.2") 
-- Found PythonDev: /usr/bin/python-config  

otool output:

$ otool -L /opt/local/lib/broctl/_SubnetTree.so
/opt/local/lib/broctl/_SubnetTree.so:
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 169.3.0)
	/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 744.18.0)
	/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Python (compatibility version 2.7.0, current version 2.7.0)
	/System/Library/Frameworks/Python.framework/Versions/2.7/Python (compatibility version 2.7.0, current version 2.7.2)
	/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 56.0.0)

bro needs to use a MacPorts python instead. python27 would be fine, or you could provide variants for additional versions if desired.

Change History (3)

comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

I added a dependency on python27 in r113590 since it does link with it, but it still needs to be told to use MacPorts python for everything and not try to use the system python. The build succeeds on Mavericks, where the system python is 2.7, but it would presumably not work so well if the system python is a different version.

comment:2 Changed 8 years ago by kurthindenburg (Kurt Hindenburg)

Owner: changed from tanawts@… to macports-tickets@…

comment:3 Changed 4 years ago by mf2k (Frank Schima)

Resolution: wontfix
Status: newclosed

This port has been replaced by zeek.

Note: See TracTickets for help on using tickets.