Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002075graphvizBuild/Installpublic2011-04-05 08:222011-04-28 04:03
ReporterScott Brown 
Assigned Togviz 
PrioritynormalSeveritymajorReproducibilityalways
StatusacknowledgedResolutionopen 
PlatformOSx86-Linux-RHEL5OS Version
Summary0002075: Another dependency problem installing on RHEL5 (graphviz-php won't install).
Description



My goal is to use some code in Matlab (someone else's code) that
calls 'neato' - which looks like a really cool piece of software,
by the way. I have problems installing GraphViz on RHEL5 (some
similar issues on RHEL6, too - possibly related). I have looked
through the previous bugs on this, and they were helpful, but they
did not ultimately solve the problem.






Installing GraphViz via yum has all kinds of dependency errors. But
then this version works fine:
<CD>
> > []# yum install 'graphviz*' -x graphviz-php
  (thanks to bug1913 for that one).
</CD>



So I figure the problem is with PHP and I don't care - except that
it turns out the Matlab call to 'neato/dot' fails. Here are the errors
I get when I try to install just the problem package:



<CD>
> > []# yum install graphviz-php
> > Loaded plugins: rhnplugin, security
> > Setting up Install Process
> > Resolving Dependencies
> > --> Running transaction check
> > ---> Package graphviz-php.x86_64 0:2.16-1.el5 set to be updated
> > --> Processing Dependency: graphviz = 2.16-1.el5 for package: graphviz-php
> > --> Processing Dependency: libgvc.so.4()(64bit) for package: graphviz-php
> > --> Finished Dependency Resolution
> > graphviz-php-2.16-1.el5.x86_64 from graphviz-stable has depsolving problems
> > --> Missing Dependency: graphviz = 2.16-1.el5 is needed by package graphviz-php-2.16-1.el5.x86_64 (graphviz-stable)
> > graphviz-php-2.16-1.el5.x86_64 from graphviz-stable has depsolving problems
> > --> Missing Dependency: libgvc.so.4()(64bit) is needed by package graphviz-php-2.16-1.el5.x86_64 (graphviz-stable)
> > Error: Missing Dependency: libgvc.so.4()(64bit) is needed by package graphviz-php-2.16-1.el5.x86_64 (graphviz-stable)
> > Error: Missing Dependency: graphviz = 2.16-1.el5 is needed by package graphviz-php-2.16-1.el5.x86_64 (graphviz-stable)
</CD>



<CD>
So the questions I hope you might help me with are:
  1. Is 'graphviz-php' usually required for the Matlab interface?
  2. Any idea where this dependency hell for graphviz-php is headed?
  3. Any smart work-arounds that I've missed here?
</CD>



Thanks very much for your help!



Scott.
Additional Information

[north]
Scott, sorry for the problems.

Why install graphviz-php? If Matlab just calls neato as
an executable program, you just need basic graphviz.

What repository are you pointing to?

The dependency nightmares are particularly severe with
the swig interfaces because they touch all the specific
interpreters (which of course can come in both stable
and devel releases themselves). A separate issue is
that we also build on top of a bunch of graphics drivers
including pango, cairo, fontconfig, freetype, gd2, png,
zlib; we also now have a qt4 based editor.

Open source is an interesting software development
methodology isn't it. The bazzar is neat but no one
can build anything taller than one story.

[ellson]
It sounds like you might have a previous installation of graphviz-php ?

Try:
<CD>
    rpm -e graphviz-php
    yum update 'graphviz*'
</CD>

[scott]
Hi Stephen,

Thanks very much for your prompt and helpful reply. Here are some answers to your questions:

<CD>
> > Why install graphviz-php? If Matlab just calls neato as
> > an executable program, you just need basic graphviz.
</CD>
In this code, Matlab calls neato as an executable (that works fine, and I love it) but Matlab also tries to use the layout engine for some fancy graphing on the X window. That's the bit that is broken.

<CD>
> > What repository are you pointing to?
</CD>
http://www.graphviz.org/pub/graphviz/stable/redhat/el5/x86_64/os/ [^]

[scott]
Thanks for your help. Actually, I've done a clean install and there's no old graphviz-php hanging around.

One weird thing, though. If I:
<CD>
  []# yum info 'graphviz*'
</CD>

I get version numbers such as 2.26.3 for almost all components EXCEPT for graphviz-php which gives me an older version number (2.16). Is this as it ought to be? Here's the full printout for yum info graphviz-php:

<CD>
Name : graphviz-php
Arch : x86_64
Version : 2.16
Release : 1.el5
Size : 31 k
Repo : graphviz-stable
Summary : PHP extension for graphviz
URL : http://www.graphviz.org/ [^]
License : CPL
Description: PHP extension for graphviz.
</CD>

TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID2163
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENT*
VERSION     2.26.3
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2011-04-28 04:03 user1 New Issue
2011-04-28 04:03 user1 Assigned To => user1


MantisBT 1.2.5[^]
Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker