#51739: google-perftools @2.4_0 does not auto build/install libprofiler on osx EI Capitan 10.11.5 -------------------------------+-------------------------------- Reporter: zhangdai1992@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: google-perftools | -------------------------------+-------------------------------- Comment (by zhangdai1992@…): I made this ticket because I saw the similar problem from https://trac.macports.org/ticket/21504 So I thought the MacPorts would install all dependencies the port need. If the solution is installing the libprofiler manually, I think this ticket can be closed. Replying to [comment:1 ryandesign@…]:
1. What version of MacPorts gcc you have installed is immaterial; most ports, including google-perftools, use the compilers they specify, which is most often the version of clang provided by Xcode. 2. MacPorts does not install files in /usr/lib or /usr/local/lib; it installs in its own prefix, which is usually /opt/local. However, I can confirm that the port does not install libprofiler.dylib in /opt/local/lib.
I do see this output from the configure phase:
{{{ checking how to access the program counter from a struct ucontext... configure: WARNING: Could not find the PC. Will not try to compile libprofiler... }}}
I don't know how to work around that problem.
We should try updating the port to version 2.5 which is now available from https://github.com/gperftools/gperftools/releases
-- Ticket URL: <https://trac.macports.org/ticket/51739#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X