← Back to team overview

linuxdcpp-team team mailing list archive

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

 

>> Actually, you can also build MacPorts from source and naturally you'll need XCode for that.
> This is the scenario I am talking about

My mistake, I read that wrong. I thought you were talking about building
MP packages.

> I can install any ports without problems, and each port is built
locally from source. Since there is no other GCC on my machine than
XCode one, it's the one being used.

In this case, `port` is probably adding /opt/local to the include paths
automatically when it calls `gcc`. Did you use a Portfile to build
LinuxDC++ or did you just use XCode gcc directly? (I'm guessing the
latter?)

> overwriting system parts could be fatal, but for sure not very clean
thing to do.

BTW, MacPorts will never overwrite system parts because everything is in
/opt/local. This won't affect the rest of your system at all.

for more information about the MacParts toolchain see
http://guide.macports.org/

-- 
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