KCachegrind OS X 10.5.6

May 8, 2009 Colin Shield

Installing KCachegrind in order to profile output from ruby-prof turned out to be quite a time consuming task.
This was all performed on an iMac with a 2.16 GHz Intel Core 2 Duo CPU and 4GB 667 MHz DDR2 SDRAM.
The initial command:

sudo port install kcachegrind

ran for several hours only to fail with :

checking for XPROTO... configure: error: Package requirements (xproto >= 7.0.13) were not met:

Requested 'xproto >= 7.0.13' but version of Xproto is 7.0.11

I manually installed the correct version of xorg-xproto:

sudo port deactivate xorg-xproto # deactivates version 7.0.11_1
sudo port install xorg-xproto # installs version 7.0.14_1

Restarted the KCachegrind install:

sudo port install kcachegrind

Then waited again.
The next error encountered:

--->  Activating xorg-renderproto @0.9.3_0
Error: Target org.macports.activate returned: Image error: /opt/local/include/X11/extensions/render.h is being used by the active render port.  Please deactivate this port first, or use the -f flag to force the activation.

I did what the error message suggested:

sudo port -f activate xorg-renderproto

It looks as though some other install had installed files

/opt/local/include/X11/extensions/render.h
/opt/local/include/X11/extensions/renderproto.h

the install process copied the old files to a tmp directory. A quick diff of the files showed that the installed files were the newer files.
Restarted the install of kcachegrind:

sudo port install kcachegrind

The install continued for several more hours. kdelibs3 taking 2 hours.
When everything was finally installed I do have a working version of kcachegrind running.
In total the install ran for approximately 8 hours.

About the Author

Biography

Previous
Railsconf: Rails: A Year of Innovation Gregg Pollack (Rails Envy), Jason Seifer (Rails Envy)
Railsconf: Rails: A Year of Innovation Gregg Pollack (Rails Envy), Jason Seifer (Rails Envy)

Slides Cool Stuff Rubymine (Fuzzy search added 4 days ago) Rack Metal CacheMoney - write-thru caching - o...

Next
Using Web Hooks
Using Web Hooks

Web Hooks evangelist Jeff Lindsay describes the powerful simplicity of integrating web hooks with your appl...

×

Subscribe to our Newsletter

!
Thank you!
Error - something went wrong!