linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #00227
[Bug 481833] Re: MacPorts boost lib not detected on OS X
Hi,
Current structure of Readme.txt holds no separate section for different platforms,
and it's good that way, so it'd be IMO prettier to include just a separate Mac OS X
prerequisites subsection (below), which you can easily integrate into current
"Build dependencies:" section.
Mac OS X (Darwin) prerequisites
------------------------------------------
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
- GTK hicolor 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
- 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
---
(From this point the same applies as for Linux.)
--
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