← Back to team overview

linuxdcpp-team team mailing list archive

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

 

Hi,

That's fine and I'll do that. The reason I reported the issue, 
was that all the other MacPorts components (f.e. libnotify) 
were properly recognized in this same header dir without 
any special configuration; except boost, which was not.

This may be a sign of some internal differences between 
C vs C++ header detection in scons.

Brgds,
Viktor

-- 
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++: New

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