[MacPorts] #43263: libtorrent: fatal error: 'tr1/functional' file not found (was: failed to compile libtorrent)

MacPorts noreply at macports.org
Mon Apr 7 02:54:59 PDT 2014


#43263: libtorrent: fatal error: 'tr1/functional' file not found
--------------------------+--------------------------------
  Reporter:  sebastian@…  |      Owner:  macports-tickets@…
      Type:  defect       |     Status:  closed
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.2.1
Resolution:  duplicate    |   Keywords:
      Port:  libtorrent   |
--------------------------+--------------------------------
Changes (by ryandesign@…):

 * status:  new => closed
 * port:   => libtorrent
 * resolution:   => duplicate


Old description:

> it looks like that include is missing
>
> -MD -MP -MF .deps/download_data.Tpo -c download_data.cc  -fno-common
> -DPIC -o .libs/download_data.o
> :info:build libtool: compile:  /usr/bin/clang++ -DHAVE_CONFIG_H -I.
> -I../../.. -I. -I./.. -I./../.. -I../../.. -I/opt/local/include -pipe -Os
> -arch x86_64 -DNDEBUG -fvisibility=hidden -D_THREAD_SAFE -pthread
> -I/opt/local/include -I/opt/local/include/sigc++-2.0
> -I/opt/local/lib/sigc++-2.0/include -MT file.lo -MD -MP -
> MF .deps/file.Tpo -c file.cc  -fno-common -DPIC -o .libs/file.o
> :info:build In file included from download_data.cc:41:
> :info:build ./download_data.h:40:10: fatal error: 'tr1/functional' file
> not found
> :info:build #include <tr1/functional>
> :info:build          ^
> :info:build In file included from file.cc:48:
> :info:build In file included from ./../../globals.h:41:
> :info:build ../../../rak/priority_queue_defau

New description:

 it looks like that include is missing

 {{{
 -MD -MP -MF .deps/download_data.Tpo -c download_data.cc  -fno-common -DPIC
 -o .libs/download_data.o
 :info:build libtool: compile:  /usr/bin/clang++ -DHAVE_CONFIG_H -I.
 -I../../.. -I. -I./.. -I./../.. -I../../.. -I/opt/local/include -pipe -Os
 -arch x86_64 -DNDEBUG -fvisibility=hidden -D_THREAD_SAFE -pthread
 -I/opt/local/include -I/opt/local/include/sigc++-2.0
 -I/opt/local/lib/sigc++-2.0/include -MT file.lo -MD -MP -
 MF .deps/file.Tpo -c file.cc  -fno-common -DPIC -o .libs/file.o
 :info:build In file included from download_data.cc:41:
 :info:build ./download_data.h:40:10: fatal error: 'tr1/functional' file
 not found
 :info:build #include <tr1/functional>
 :info:build          ^
 :info:build In file included from file.cc:48:
 :info:build In file included from ./../../globals.h:41:
 :info:build ../../../rak/priority_queue_defau
 }}}

--

Comment:

 No; tr1 is obsolete and is not available in Mavericks. The software needs
 to be updated to not require tr1. Duplicate of #41417.

-- 
Ticket URL: <https://trac.macports.org/ticket/43263#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list