[MacPorts] #27858: libtorrent-rasterbar @0.15.4 configure failure
MacPorts
noreply at macports.org
Sat Jun 11 02:32:27 PDT 2011
#27858: libtorrent-rasterbar @0.15.4 configure failure
--------------------------------+-------------------------------------------
Reporter: msm@… | Owner: devans@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: | Port: libtorrent-rasterbar
--------------------------------+-------------------------------------------
Comment(by tanks4dat@…):
Replying to [comment:2 tanks4dat@…]:
> I encountered the same configuration error when attempting to compile
> libtorrent-rasterbar @0.15.6. I incorrectly filled a new ticket,
#29779.
> I should have added new information to the existing ticket when there is
one,
> rather than opening a duplicate.
>
> while attempting to install libtorrent-rasterbar by the command sudo
port install
> libtorrent-rasterbar the terminal presents a configure failure. Here is
the
> portion of the output where the configure fails:
>
> {{{
> info:configure Checking for boost libraries:
> :info:configure checking for boostlib >= 1.36... yes
> :info:configure checking whether the Boost::System library is
available...yes
> :info:configure configure: error: Boost.System library not found. Try
> using --with-boost-system=lib
> }}}
>
> I tried
> {{{
> sudo port install libtorrent-rasterbar --with-boost-system=lib
> }}}
> failure
>
> Ticket #27858 documents the same problem, but the solution presented:
>
> {{{
> a solution that worked for me is to add the following line to the
> configure.args section of the Portfile
>
> --with-boost-libdir="/opt/local/lib"
> }}}
>
> did not work for me. rasterbar still fails to find the boost.system
> library.
>
> Reading the libtorrent manual found at libtorrent-
rasterbar-0.15.6/docs/building.html
>
(/opt/local/var/macports/build_opt_local_var_macports_sources_rsync.macports.org
> _release_ports_net_libtorrent-rasterbar/work/libtorrent-
rasterbar-0.15.6/docs/building.html
> if you want to find it in the macports /opt filesystem) I read this
>
> {{{
> when installing boost on darwin using darwinports (the package system
based on BSD ports)
> all libraries are installed to /opt/local/lib and headers are installed
to /opt/local/include.
> By default the compiler will not look in these directories. You have to
set the enviornment
> variables LDFLAGS and CXXFLAGS in order to make the compiler find those
libs. In this
> example you'd set them like this:
>
> export LDFLAGS=-L/opt/local/lib
> export CXXFLAGS=-I/opt/local/include
> }}}
>
> In my instance this failed.
>
> I continue to work on a solution.
This is as far as I can get. I don't know how to fix this.
--
Ticket URL: <https://trac.macports.org/ticket/27858#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list