linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #00191
[Bug 481833] Re: MacPorts boost lib not detected on OS X
Here it is:
Mac OS X (Darwin) instructions
----------------------------------------
You'll have to have these components installed:
- XCode
- MacPorts
- Certain MacPorts ports:
$ sudo /opt/local/bin/port install bzr scons pkgconfig libglade2 libnotify boost
For a successful build, you'll have to explicitly specify MacPorts header
dir so that boost lib gets found (make sure to start with a fresh source
tree):
$ export CXXFLAGS=-I/opt/local/include
$ scons PREFIX=<prefix, f.e. ~/linuxdcpp>
$ scons install
To run linuxdcpp without missing icons, you'll have to install hicolor
GTK theme from http://icon-theme.freedesktop.org/releases/:
$ wget http://icon-theme.freedesktop.org/releases/hicolor-icon-theme-0.11.tar.gz
$ tar -zxvf hicolor-icon-theme-0.11.tar.gz
$ cd hicolor-icon-theme-0.11
$ ./configure
$ sudo make
Finally, run linuxdcpp either by starting it from Terminal, or
by double clicking on it in Finder.
--
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