Skip to content

Commit 03ec0f0

Browse files
author
Pietro Berkes
committed
Add instructions to compile kcachegrind, for next year
1 parent d72c0d7 commit 03ec0f0

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
1) Install dependencies with MacPorts:
2+
sudo port install qt4-mac graphviz
3+
4+
Get source code for qcachegrind:
5+
6+
2) Get kcachegrind-0.7.4.tar.gz from http://kcachegrind.sourceforge.net/html/Download.html
7+
8+
3) Unzip it:
9+
tar xfz ~/Downloads/kcachegrind-0.7.4.tar.gz
10+
11+
We need "qmake" to find the right libraries
12+
13+
4) Set PATH to find the right "qmake":
14+
export PATH=/opt/local/libexec/qt4/bin:/opt/local/bin:/opt/local/sbin:$PATH
15+
16+
5) Set library path:
17+
export DYLD_LIBRARY_PATH=/opt/local/libexec/qt4/Library/Frameworks/
18+
19+
Compile:
20+
21+
6) Compile:
22+
cd kcachegrind-0.7.4/
23+
cd qcachegrind/
24+
qmake -nocache
25+
make
26+
mv qcachegrind.app /Applications/
27+
28+
Done!
29+
30+
See also http://blogs.perl.org/users/rurban/2013/04/install-kachegrind-on-macosx-with-ports.html

0 commit comments

Comments
 (0)