#41417: libtorrent, libtorrent-devel: fatal error: 'tr1/functional' file not found -------------------------------------+------------------------------------- Reporter: sbinshabib@… | Owner: stuartwesterman@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks yosemite Port: libtorrent, | elcapitan libtorrent-devel | -------------------------------------+------------------------------------- Comment (by desertshadow@…): It looks like the fix has been known for over a year, but I can confirm this still happens on El Capitan. Out of curiosity, how does one change the compiler via the command line? Could this be added to https://trac.macports.org/wiki/UsingTheRightCompiler and the port install part of https://guide.macports.org/ ? I tried this, but I get a cryptic error: {{{ $ sudo port install libtorrent configure.compiler=macports-gcc-4.8 Error: port lookup failed: too many nested evaluations (infinite loop?) Error: Unable to execute port: upgrade pkgconfig failed }}} Anyway, likewise for El Capitan, adding the line {{{ configure.compiler macports-gcc-4.9 }}} to {{{ /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/net/libtorrent/Portfile }}} Fixed it for me. -- Ticket URL: <https://trac.macports.org/ticket/41417#comment:37> MacPorts <https://www.macports.org/> Ports system for OS X