Doxygen Graph Generation Issue “Error: dot: can’t open {dot file}”

Running Doxygen (1.7.4, Ubuntu 11.10) over one of the larger PHP applications we use at PANmedia, I ran into this error:

Error: dot: can't open /var/workspace/app/documentation/html/class_a_d_o_d_b___data_dict_a4ad217393b4e364e233cc70336d93ae8_cgraph.dot

Experimentation led to the following solution: switch DOT_CLEAN off, either via the Doxygen GUI (pictured) or directly in the Doxygen configuration file.

DOT_CLEANUP = NO

What does this do?

DOT_CLEANUP
If the DOT_CLEANUP tag is set to YES (the default) Doxygen will remove the intermediate dot files that are used to generate the various graphs.

I recall running into this error over a year ago (last time I used Doxygen), and it wasn’t until I stumbled onto the solution that I remembered solving it in the same way last time.

Documenting the solution here means that next time I use Doxygen after a long time away, I won’t have to repeat the process.

Comments (7) | Trackback

Error Configuring db46 – MacPorts

After running into problems installing flood with Macports, specifically:

Error: db46 requires the Java for Mac OS X development headers.
Error: Download the Java Developer Package from:
<https://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/getSoftware?bundleID=20719>
Error: Target org.macports.configure returned: missing Java headers

I had already installed this!

The solution was to create a symbolic link to the installed files, so Macports could find them:

sudo ln -s /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Headers /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Headers
Comments (8) | Trackback

Rescuing Settings From Broken JDownloader Installation in Ubuntu

Somehow I broke my JDownloader installation, by meddling with the network settings. As I had quite a lot of download packages queued, I wanted to rescue them and use them with the latest version of JDownloader. I managed to do this successfully, here’s how:

Comments (1) | Trackback

Shadowbox rel=’shadowbox’ Doesn’t Work? Here’s a Workaround

Yesterday I was trying to implement a Shadowbox contact form in the Bay of Islands SPCA site, but I just couldn’t get it to work.

No comments | Trackback

Twitter Tools Post From Sidebar – Blog in Different Directory Fix

I joined Twitter yesterday, and installed the Twitter Tools plugin.

No comments | Trackback