Number: 1913
Title: Yet Another missing dependency
Submitter: Francis Martens
Date: Thu Apr 1 03:54:48 2010
Subsys: Build/Installation
Version: 2.26
System: x86-Linux-Red Hat Enterprise Linux Server release 5.1 (Tikanga)
Severity: major
Problem:
I found a number of similar issues, but applying the proposed solutions didn't help.

I want to install graphviz on a RHEL 5.1, and I did follow the instructions on the site http://www.graphviz.org/Download_linux_rhel.php


[root]# yum update graphviz*
Loading "installonlyn" plugin
Loading "rhnplugin" plugin
Loading "security" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Update Process
Setting up repositories
graphviz-stable           100% |=========================|  951 B    00:00
Reading repository metadata in from local files
Skipping security plugin, no data
Could not find update match for graphviz*
No Packages marked for Update/Obsoletion

[root]# yum install graphviz* Loading "installonlyn" plugin Loading "rhnplugin" plugin Loading "security" plugin This system is not registered with RHN. RHN support will be disabled. Setting up Install Process Setting up repositories Reading repository metadata in from local files Parsing package install arguments Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Package graphviz-python.i386 0:2.26.3-1.el5 set to be updated ---> Package graphviz-php.i386 0:2.16-1.el5 set to be updated ---> Package graphviz-ruby.i386 0:2.26.3-1.el5 set to be updated ---> Package graphviz-tcl.i386 0:2.26.3-1.el5 set to be updated ---> Package graphviz-guile.i386 0:2.26.3-1.el5 set to be updated ---> Package graphviz-graphs.i386 0:2.26.3-1.el5 set to be updated ---> Package graphviz-gd.i386 0:2.26.3-1.el5 set to be updated ---> Package graphviz-java.i386 0:2.26.3-1.el5 set to be updated ---> Package graphviz-devel.i386 0:2.26.3-1.el5 set to be updated ---> Package graphviz.i386 0:2.26.3-1.el5 set to be updated ---> Package graphviz-perl.i386 0:2.26.3-1.el5 set to be updated --> Running transaction check --> Processing Dependency: libgts-0.7.so.5 for package: graphviz-tcl --> Processing Dependency: graphviz = 2.16-1.el5 for package: graphviz-php --> Processing Dependency: guile for package: graphviz-guile --> Processing Dependency: php for package: graphviz-php --> Processing Dependency: libruby.so.1.8 for package: graphviz-ruby --> Processing Dependency: ruby for package: graphviz-ruby --> Processing Dependency: /usr/bin/ruby for package: graphviz-ruby --> Processing Dependency: libgts-0.7.so.5 for package: graphviz --> Processing Dependency: libgvc.so.4 for package: graphviz-php --> Restarting Dependency Resolution with new changes. --> Populating transaction set with selected packages. Please wait. ---> Package gts.i386 0:0.7.6-11.el5 set to be updated --> Running transaction check --> Processing Dependency: graphviz = 2.16-1.el5 for package: graphviz-php --> Processing Dependency: guile for package: graphviz-guile --> Processing Dependency: php for package: graphviz-php --> Processing Dependency: libruby.so.1.8 for package: graphviz-ruby --> Processing Dependency: libnetpbm.so.10 for package: gts --> Processing Dependency: ruby for package: graphviz-ruby --> Processing Dependency: /usr/bin/ruby for package: graphviz-ruby --> Processing Dependency: libgvc.so.4 for package: graphviz-php --> Finished Dependency Resolution Error: Missing Dependency: graphviz = 2.16-1.el5 is needed by package graphviz-php Error: Missing Dependency: guile is needed by package graphviz-guile Error: Missing Dependency: php is needed by package graphviz-php Error: Missing Dependency: libruby.so.1.8 is needed by package graphviz-ruby Error: Missing Dependency: ruby is needed by package graphviz-ruby Error: Missing Dependency: /usr/bin/ruby is needed by package graphviz-ruby Error: Missing Dependency: libgvc.so.4 is needed by package graphviz-php Error: Missing Dependency: libnetpbm.so.10 is needed by package gts

..

Then I found http://www.graphviz.org/bugs/b1891.html and applying

[root]# rpm -e grapviz-php error: package graphviz.php is not installed

[root]# yum install graphviz* -x graphviz-php Loading "installonlyn" plugin Loading "rhnplugin" plugin Loading "security" plugin This system is not registered with RHN. RHN support will be disabled. Setting up Install Process Setting up repositories Reading repository metadata in from local files Excluding Packages in global exclude list Finished Parsing package install arguments Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Package graphviz-python.i386 0:2.26.3-1.el5 set to be updated ---> Package graphviz-ruby.i386 0:2.26.3-1.el5 set to be updated ---> Package graphviz-tcl.i386 0:2.26.3-1.el5 set to be updated ---> Package graphviz-guile.i386 0:2.26.3-1.el5 set to be updated ---> Package graphviz-graphs.i386 0:2.26.3-1.el5 set to be updated ---> Package graphviz-gd.i386 0:2.26.3-1.el5 set to be updated ---> Package graphviz-java.i386 0:2.26.3-1.el5 set to be updated ---> Package graphviz-devel.i386 0:2.26.3-1.el5 set to be updated ---> Package graphviz.i386 0:2.26.3-1.el5 set to be updated ---> Package graphviz-perl.i386 0:2.26.3-1.el5 set to be updated --> Running transaction check --> Processing Dependency: libgts-0.7.so.5 for package: graphviz-tcl --> Processing Dependency: guile for package: graphviz-guile --> Processing Dependency: libruby.so.1.8 for package: graphviz-ruby --> Processing Dependency: ruby for package: graphviz-ruby --> Processing Dependency: /usr/bin/ruby for package: graphviz-ruby --> Processing Dependency: libgts-0.7.so.5 for package: graphviz --> Restarting Dependency Resolution with new changes. --> Populating transaction set with selected packages. Please wait. ---> Package gts.i386 0:0.7.6-11.el5 set to be updated --> Running transaction check --> Processing Dependency: /usr/bin/ruby for package: graphviz-ruby --> Processing Dependency: guile for package: graphviz-guile --> Processing Dependency: libnetpbm.so.10 for package: gts --> Processing Dependency: ruby for package: graphviz-ruby --> Processing Dependency: libruby.so.1.8 for package: graphviz-ruby --> Finished Dependency Resolution Error: Missing Dependency: guile is needed by package graphviz-guile Error: Missing Dependency: libruby.so.1.8 is needed by package graphviz-ruby Error: Missing Dependency: ruby is needed by package graphviz-ruby Error: Missing Dependency: /usr/bin/ruby is needed by package graphviz-ruby Error: Missing Dependency: libnetpbm.so.10 is needed by package gts

..

I'm stuck.
Comments:
[ellson]

To get you started, I suggest just:


    yum install graphviz graphviz-gd graphviz-graphs graphviz-doc gts
although I fear you will still have a problem with gts.

I'm not sure why those other packages aren't available. Possibly because your system hasn't been updated to RHEL-5.4 or better? (our rpms are built on Centos-5.4).

[francis] It is RHEL 5.1 Do you have an older package which has been build on a compatible version.

What I need is to be able to use dot.

Francis

PS. I would update the bug, but can't find the entry in the issuelist: http://www.graphviz.org/bugs/openbugs.html

[ellson] The .el4 rpms are built without gts, so you could try installing those. You will need graphviz and graphviz-gd since RHEL4 doesn't have pango/cairo, as I recall.

If that still doesn't work you might need to build from source. I recommend that you first try:

rpmbuild --rebuild graphviz-2.27.20100401.0445-1.src.rpm

as that will give you a list of dependencies that you should install. Do the best you can to find them all in the standard distribution, but don't worry if you are missing some.

Then grab the graphviz-2.27.20100401.0445.tar.gz sources (from Download->source on our website) and do:


    zcat graphviz-2.27.20100401.0445.tar.gz | tar xf -
    cd graphviz-2.27.20100401.0445
    ./configure
    make
    make install

configure should be able to handle the missing parts.

By using the latest nightly snapshot we will be better able to provide fixes if you run into trouble.
Owner: *
Status: *