Rdoc dot configuration on os x

  • Thread starter Keith Lancaster
  • Start date
K

Keith Lancaster

This is probably a bit more of a mac question, but here goes.
I am trying to use rdoc -d to generate class diagrams on a mac running Tiger
(OS X 10.4) for a rails app. I managed to get dot installed, but now am
running into problems with dot looking for libraries that either do not
exist or are apparently in the wrong place. I probably made things worse by
trying (at various times) both Darwin ports and i-installer. Can anyone
point me to instructions on getting this working?

BTW, the current error I am getting is

dyld: Library not loaded: /Local/DarwinPorts/lib/libpng.3.dylib
Referenced from: /usr/local/bin/dot
Reason: image not found

TIA,
Keith
 
E

Eric Hodel

This is probably a bit more of a mac question, but here goes.
I am trying to use rdoc -d to generate class diagrams on a mac
running Tiger
(OS X 10.4) for a rails app. I managed to get dot installed, but
now am
running into problems with dot looking for libraries that either do
not
exist or are apparently in the wrong place. I probably made things
worse by
trying (at various times) both Darwin ports and i-installer. Can
anyone
point me to instructions on getting this working?

Install Graphviz.app: http://www.pixelglow.com/graphviz/

Put /MyApplications/Graphviz.app/Contents/MacOS/ in your $PATH.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,135
Latest member
VeronaShap
Top