← Back to team overview

linuxdcpp-team team mailing list archive

[Bug 481833] Re: MacPorts boost lib not detected on OS X

 

If you have time to maintain a MacPorts package, I'm happy to supply the
packaging files to you. You need to have a general idea of how the
MacPorts packaging system works.

Trying to compile linuxdcpp directly using scons by mixing MacPorts
libraries with system libraries is convoluted, and will give you various
headaches depending on how your system is already set up.

-- 
MacPorts boost lib not detected on OS X
https://bugs.launchpad.net/bugs/481833
You received this bug notification because you are a member of LinuxDC++
Team, which is subscribed to LinuxDC++.

Status in Linux DC++: Fix Committed

Bug description:
Hi,

Tested with latest bzr repository, after installing all dependencies via MacPorts 1.8.1, 
this error remains when launching build with scons:
---
...
Checking for C++ header file boost/version.hpp... no
	boost not found.
	Note: You might have the lib but not the headers
---
boost headers *are* installed in /opt/local/include/boost/*, but it's not picked.
(all other MacPorts dependencies are recognized)

If I comment out the check in SConstruct and add -I/opt/local/include to CXXFLAGS, 
it builds correctly.





References