macos

Download_macos

 

 
Lion: a beta package is available here. No promises but would appreciate feedback either way (gviz-bugs research.att.com). One person told us it works (it was TWEETED).

Snow Leopard and Leopard: We're having problems with Snow Leopard and Leopard, lately, too. Apparently the universal binaries we build are making don't play nicely on early Intel Macs. So people were swearing at Graphviz on Twitter. As a pro bono effort, It is difficult for us to keep up, both because of the complexity of Graphviz (which depends on a lot of GNU libraries, all the way down to glib2) and OSX itself. (We suspect a recent seemingly minor patch to OSX changed the way one of the OSX frameworks talks to Graphviz for font scaling.) So, big warning here, you may be better off using Homebrew or Macports to install Graphviz by compiling the source (which requires XCode, so allow an afternoon for the process. If you update the package, and you're not happy with the result, there is really no way to undo the installation except from your own backups, or by finding one of the old versions as described below. Anyone that wants to help improve this situation is more than welcome to pitch in.

General: this package is for general use. It has Graphviz.app and the main command line tools. It doesn't include gvedit.app (a QT-based graph editor), smyrna (an OpenGL viewer for large graphs), or the pangocairo plugin (you get the quartz plugin instead). If you need any of these, build from the source tarball or macports graphviz. If you can work on fixing the build and packaging problems with these tools, send mail to gviz-bugs on research.att.com. (Note: smyrna crashes Xquartz 2.6.1 on some systems; update to 2.6.2.)

For older versions of Graphviz for Tiger, Leopard or Snow Leopard, look here.

graphviz current stable release development snapshot
lion graphviz-2.28.0.pkg
graphviz-2.29.20120203.0545.pkg
snowleopard graphviz-2.28.0.pkg
graphviz-2.29.20120203.0545.pkg
leopard graphviz-2.28.0.pkg
graphviz-2.29.20120203.0545.pkg
 

Ok on Lion

I just tried your package to support Ontoviz in Protege, and is all ok. Thanks.

2.28 viewer works for me with 10.7.2

Thanks for the binary, as the 2.28.0 viewer works for me with Lion 10.7.2.
Don't forget to install the command line tools too for it to work (installed by default).

Fail on launch: Command line items needed?

 I need only the viewer, so I removed the command line tools option in all three builds (regular, dev snapshot, and beta) and all three crash on launch.  This is a freshly formatted Lion 10.7.2 machine.  Are the command line tools required?  I'm kind of a minimalist and prefer to install only what's needed. Thanks.

Fail on launch: Command line items needed?

 I enabled the command line tools option, and now it works.

Graphviz on lion

The beta of version 2.29 from graphviz-lion-2.29.20110817.pkg (beta link at top of the page) works correctly on Lion 10.7.2 for me.
The development snapshot from graphviz-2.29.20111026.0445.pkg (development link in table) claims to install successfully but does not run because the installation is incomplete or corrupt (or words to that effect).
Thanks.

2.29.20110817 works fine in Lion (10.7.2)

Also for displaying .dot files

Graphviz Lion 2.29.20110817 works for me, too

also at least for displaying .dot file.
Thanks!

Graphviz for Protege 4.0 with Lion?

Hi everyone, I'm currently using Protege 4.0 with Lion, but when I go to OWLViz, I got an error message saying:
"A DOT error has occured. This is probably because OWL Viz could not find the DOT application. OWLViz requires that Graphviz is installed and the path to the DOT application is set properly in options"
So I downloaded Graphviz beta for Lion (graphviz-lion-2.29.20110817) and also tried graphviz-2.29.20111012.0445 but still got the same error message. Can anyone please tell me what I'm doing wrong? It doesn't work on Protege 4.0 and Protege 4.1. Thank you so much for any pointers.
 
 

Graphviz for Protege 4.0 with Lion?

 In Protege>Preferences>OWLviz  change the "Dot Application Path"  to    /usr/local/bin/dot

Version 2.29 (2.29.20110817.0445) works fine on Lion

...at least for displaying .dot files for me. 

Mac OSx Lion version?

Is there a Lion version coming out anytime soon? 

RE: Mac OSx Lion version?

I just installed it on Lion using homebrew
 
http://mxcl.github.com/homebrew/
 

RE: Mac OSx Lion version?

 For those of us who aren't expert in homebrew, please - could you tell us how to do this? (I get "No available formula for graphviz...")
 
Michael Kay

 How i do that with homebrew?

 How i do that with homebrew?

 How i do that with homebrew?

brew install graphviz
 
works for me
 

homebrew formular missing GTS?

  I installed graphivz on SL with brew install graphivz, but when I tried the gvmap example I got the error message that Warning: Overlap value "prism" unsupported - ignored and Error: get_triangles: Graphviz built without any triangulation library. After googling it seems that GTS is missing. What is your take on that?

 

sfdp -Goverlap=prism -Gcharset=latin1 graph.gv | gvmap -e -v | neato -Ecolor="#55555522" -n2 -Tpng > test.png

Warning: Overlap value "prism" unsupported - ignored
Error: remove_overlap: Graphviz not built with triangulation library

...

Error: remove_overlap: Graphviz not built with triangulation library

modularity = -0.005419 new modularity = 0.852662 level = 0, n = 316, nc = 119, gain = 0.858081

modularity = 0.852662 new modularity = 0.951319 level = 1, n = 119, nc = 104, gain = 0.0986578

modularity = 0.951319 new modularity = 0.951319 level = 2, n = 104, nc = 104, gain = 0

no complement clustering info in dot file, using modularity clustering. Modularity = 0.951319, ncluster=104

max grouping - min grouping + 1 = 104

avgsize = {59.293154, 18.000000}

setting shore length ======152.472968

nrandom=6098

nrandom=6098

nn nrandom=2811
 

 

Installing Graphivz with GTS

gts has to be installed before graphivz
so enter 'sudo brew remove graphviz' to remove graphivz
and 'sudo brew install gts' and 'sudo install graphivz' to install graphivz with gts.

PLEASEEE, provide a PPC version for older Macs

 That would be so great!
Thank you!

Graphviz on PowerPC: use MacPorts

 You can use MacPorts to install graphviz on any Mac (PowerPC or Intel) running Tiger or later.
 

sudo port install graphviz

Error installing 2.27.20110302 on Snow Leopard

Installer.app reports a failure in the installation (in the postinstall script) of  2.27.20110302.0545 on my Snow Leopard machine.
My motivation is to use GV in support of Doxygen. I had an old GV installation, but Doxygen reported problems in generating maps for it, and did not output any PNGs. So I tried the current-stable release (2.26.3), which had the same problem.
Okay, the Doxygen boards said people had better luck with 2.27. I downloaded it and ran the installer. Installer.app says it failed (see my first paragraph), and suggested I try again; I did try again, and it failed again.
And Doxygen reports the same problem, which I can't determine is due to Doxygen or GraphViz.
Maybe I just wait for the next release of Doxygen for my main problem, but now I'm worried about my GV installation. Is it likely to be in good order? If not, how do I back it off?

new snow leopard build

Should be OK now. We spent a lot of time on Graphviz builds and packaging lately, especially Mac OSX Snow Leopard. The basic system (Graphviz.app and the command line tools in /usr/local) should work well again. No pangocairo (almost there, but libpng seems to be the problem); no QT4 gvedit (setting up qmake seems to be the problem), no smyrna (experimental, need to add gtk2/gtkglext/glut libraries to the installation). Let us know if there are any significant problems. 
 

not working on leopard (10.5.8)

2.28.0 isn't working for me, either.   Things crash when the Mac OS Installer tries to run /usr/local/bin/dot and picks up some of its dynamic libraries from /opt/local/lib.  For example:

$ dot

dyld: Library not loaded: /opt/local/lib/libltdl.7.dylib

Referenced from: /usr/local/bin/dot

Reason: no suitable image found. Did find:

/opt/local/lib/libltdl.7.dylib: mach-o, but wrong architecture

Trace/BPT trap
$
The /opt/local libraries in question are i386-only, while /usr/local/bin/dot, I notice, is ...

$ file `which dot`

/usr/local/bin/dot: Mach-O universal binary with 3 architectures

/usr/local/bin/dot (for architecture ppc7400): Mach-O executable ppc

/usr/local/bin/dot (for architecture i386): Mach-O executable i386

/usr/local/bin/dot (for architecture x86_64): Mach-O 64-bit executable x86_64

$
A lot of shared libraries might be having the wrong versions picked up, not just ltdl:

$ ( for l in /usr/local/bin/dot /usr/local/bin/gv*; do otool -L $l ; done ) | sort -u | grep '^[^/]'

/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon (compatibility version 2.0.0, current version 136.0.0)

/opt/local/lib/libQtCore.4.dylib (compatibility version 4.7.0, current version 4.7.2)

/opt/local/lib/libQtGui.4.dylib (compatibility version 4.7.0, current version 4.7.2)

/opt/local/lib/libexpat.1.dylib (compatibility version 7.0.0, current version 7.2.0)

/opt/local/lib/libfontconfig.1.dylib (compatibility version 6.0.0, current version 6.4.0)

/opt/local/lib/libfreetype.6.dylib (compatibility version 13.0.0, current version 13.2.0)

/opt/local/lib/libglib-2.0.0.dylib (compatibility version 2801.0.0, current version 2801.6.0)

/opt/local/lib/libgmodule-2.0.0.dylib (compatibility version 2801.0.0, current version 2801.6.0)

/opt/local/lib/libgthread-2.0.0.dylib (compatibility version 2801.0.0, current version 2801.6.0)

/opt/local/lib/libgts-0.7.5.dylib (compatibility version 6.0.0, current version 6.1.0)

/opt/local/lib/libiconv.2.dylib (compatibility version 8.0.0, current version 8.0.0)

/opt/local/lib/libintl.8.dylib (compatibility version 10.0.0, current version 10.1.0)

/opt/local/lib/libltdl.7.dylib (compatibility version 11.0.0, current version 11.0.0)

/opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5)

/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.6)

/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)

/usr/lib/libresolv.9.dylib (compatibility version 1.0.0, current version 25.0.2)

/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.4.0)

/usr/local/lib/graphviz/libgvplugin_neato_layout.6.dylib (compatibility version 7.0.0, current version 7.0.0)

/usr/local/lib/libcdt.5.dylib (compatibility version 6.0.0, current version 6.0.0)

/usr/local/lib/libcgraph.6.dylib (compatibility version 7.0.0, current version 7.0.0)

/usr/local/lib/libgraph.5.dylib (compatibility version 6.0.0, current version 6.0.0)

/usr/local/lib/libgvc.6.dylib (compatibility version 7.0.0, current version 7.0.0)

/usr/local/lib/libgvpr.2.dylib (compatibility version 3.0.0, current version 3.0.0)

/usr/local/lib/libpathplan.4.dylib (compatibility version 5.0.0, current version 5.0.0)

/usr/local/lib/libxdot.4.dylib (compatibility version 5.0.0, current version 5.0.0)

$
Surely, getting shared libraries from MacPorts (/opt/local) wasn't intended, even if the MacPorts version of graphviz weren't broken too ("incompatible cairo installation" w.r.t. pango). 
Which location/version of the various libraries was graphviz expecting to get?  Any recommendations on how to proceed?
 
 

removed macports dependency in leopard (not SL) build

 Please can you try the latest nightly build? Thank you!
 

leopard nightly builds

 Thank you for pointing out the problems. The intent is that the builds should not see any Macports because obviously they may not be available on the target (install) machine.  On the SL buildhost I made /opt/local unreadable by the gviz build account. We need to do this for Leopard as well.  Sorry.  I don't think you can proceed on your own easily.

leopard nightly builds

*sniff*  and I was so close to being able to use it! arggggh 

new snow leopard build

 Same problem with version 2.28 on Leopard... :-(

Leopard Build still failing on PostInstall Script

 8/17/2011 -- Same for me.
The previous installer package V2.26.3 works like a charm though.

2.28 failing on Leopard, but 2.26 seems to work fine

and same for me too.  Tried just now with 2.28, install failed.  But going back to 2.26, install worked fine. 

new snow leopard build

 no work on Lion,
in snaw leopard it's ok

Recent comments