linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #00162
[Bug 481833] Re: MacPorts boost lib not detected on OS X
Sounds like your system's include path is not setup properly if it can't
locate a common include directory like /opt/local/include. I don't see a
reason to hardcode an include path; it could in fact break builds for
other mac users (see bug #362878). I would suggest you fix your system's
include path or add -I/opt/local/include to CXXFLAGS before executing
scons (`CXXFLAGS=-I/opt/local/include scons`). You can also export the
CXXFLAGS in your profile so it is set automatically at startup.
--
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