Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002173graphvizBuild/Installpublic2011-12-12 20:242011-12-13 06:01
Reporternlebas 
Assigned Toellson 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
Platformx86OSGentoo/Linux (or Debian)OS Version
Summary0002173: Broken build for libgv_java.so on non-redhat platforms
Descriptionconfigure by default looks for the jvm in /usr/lib/jvm/java, which only exists on redhat.

changing it via --with-javaincludedir is broken because it forgets about the "include/linux" directory (or "include/freebsd" when applicable).

The only workaround is to create the symlink by hand:
* on gentoo: ln -s /etc/java-config-2/current-system-vm /usr/lib/jvm/java
* on debian/ubuntu: ln -s /usr/lib/jvm/default-java /usr/lib/jvm/java
no workaround on non-linux platforms
Steps To Reproduce# USE="java" emerge graphviz
[...]
# ls -l /usr/lib/graphviz/java/
total 0
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENTfixed by graphviz-tested.patch
FORMER-ID
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENT
VERSION2.26.3-r3 on gentoo
Attached Filespatch file icon graphviz.patch [^] (1,424 bytes) 2011-12-12 21:36 [Show Content]
patch file icon graphviz-tested.patch [^] (1,425 bytes) 2011-12-12 21:54 [Show Content]

- Relationships

-  Notes
User avatar (0000133)
ellson (administrator)
2011-12-12 20:47

"forgets about..." You might be able to use --with-extraincludedir for the other directory.

Better would be if someone could generate a patch for configure.ac that extends the header checks to work on your platform.
User avatar (0000134)
nlebas (reporter)
2011-12-12 21:55
edited on: 2011-12-12 21:56

Indeed you're right.
I attached one (graphviz-tested.patch) tested on ubuntu 10.04 and gentoo (my current platforms). I expect it to work on OSX and redhat, too, but I can't test it right now.
(graphviz.patch is wrong, should be deleted)

User avatar (0000135)
ellson (administrator)
2011-12-13 06:00

Thanks. Patch applied.

- Issue History
Date Modified Username Field Change
2011-12-12 20:24 nlebas New Issue
2011-12-12 20:47 ellson Note Added: 0000133
2011-12-12 21:36 nlebas File Added: graphviz.patch
2011-12-12 21:54 nlebas File Added: graphviz-tested.patch
2011-12-12 21:55 nlebas Note Added: 0000134
2011-12-12 21:56 nlebas Note Edited: 0000134 View Revisions
2011-12-13 06:00 ellson Note Added: 0000135
2011-12-13 06:01 ellson FIX-COMMENT => fixed by graphviz-tested.patch
2011-12-13 06:01 ellson Status new => resolved
2011-12-13 06:01 ellson Resolution open => fixed
2011-12-13 06:01 ellson Assigned To => ellson


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