[MacPorts] #21504: google-perftools does not build/install libprofiler on Snow Leopard

MacPorts noreply at macports.org
Sat Sep 19 16:41:35 PDT 2009


#21504: google-perftools does not build/install libprofiler on Snow Leopard
-----------------------------+----------------------------------------------
 Reporter:  lminder@…        |       Owner:  macports-tickets@…                   
     Type:  defect           |      Status:  new                                  
 Priority:  Normal           |   Milestone:                                       
Component:  ports            |     Version:  1.8.0                                
 Keywords:                   |        Port:  google-perftools                     
-----------------------------+----------------------------------------------
 On Snow Leopard, google-perftools does not install the libprofiler
 library, so the
 package can't be used for profiling.

 One problem here is that it tries to include /usr/include/ucontext.h,
 which no
 longer works without -D_XOPEN_SOURCE.

 I tried adding -D_XOPEN_SOURCE to both cflags and cxxflags, and then the
 library
 is built and installed, but crashes when I try to actually use it (as CPU-
 profiler, at least).

-- 
Ticket URL: <http://trac.macports.org/ticket/21504>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list