Any chance to compile ggobi-2.1.10 with current graphviz (graphviz-2.36.0)?

47 views
Skip to first unread message

jue...@gmail.com

unread,
Jun 30, 2014, 3:58:30 AM6/30/14
to gg...@googlegroups.com
I tried to reinstall ggobi-2.1.10, but it fails as also described at https://groups.google.com/forum/#!topic/ggobi/5I61syMDPHE with:

libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -pthread -I/var/tmp/portage/sci-visualization/ggobi-2.1.10/work/ggobi-2.1.10/src -I/var/tmp/portage/sci-visualization/ggobi-2.1.10/work/ggobi-2.1.10/libltdl -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/graphviz -Wno-unknown-pragmas -march=amdfam10 -O2 -pipe -c graphviz.c  -fPIC -DPIC -o .libs/plugin_la-graphviz.o
graphviz.c: In function 'dot_neato_layout_cb':
graphviz.c:215:3: error: too few arguments to function 'aginit'
   aginit();
   ^
In file included from /usr/include/graphviz/types.h:40:0,
                 from /usr/include/graphviz/gvc.h:17,
                 from graphviz.c:16:
/usr/include/graphviz/cgraph.h:354:13: note: declared here
 extern void aginit(Agraph_t * g, int kind, char *rec_name, int rec_size,
             ^
graphviz.c:220:3: error: incompatible type for argument 2 of 'agopen'
   graph = agopen("graph", kind);
   ^
In file included from /usr/include/graphviz/types.h:40:0,
                 from /usr/include/graphviz/gvc.h:17,
                 from graphviz.c:16:
/usr/include/graphviz/cgraph.h:261:18: note: expected 'Agdesc_t' but argument is of type 'gint'
 extern Agraph_t *agopen(char *name, Agdesc_t desc, Agdisc_t * disc);
                  ^
graphviz.c:220:3: error: too few arguments to function 'agopen'
   graph = agopen("graph", kind);
   ^
In file included from /usr/include/graphviz/types.h:40:0,
                 from /usr/include/graphviz/gvc.h:17,
                 from graphviz.c:16:
/usr/include/graphviz/cgraph.h:261:18: note: declared here
 extern Agraph_t *agopen(char *name, Agdesc_t desc, Agdisc_t * disc);
                  ^
graphviz.c:226:5: error: too few arguments to function 'agnode'
     agnode(graph, name);
...

Are there any patches to make ggobi to compile with current graphviz? Downgrading to graphviz-2.28 is  not a option, because to much other packages depend on current graphviz.

There is also a related Gentoo at bug.https://bugs.gentoo.org/show_bug.cgi?id=491682.

Regards



Juergen Rose

unread,
Jul 5, 2014, 2:18:50 AM7/5/14
to Michael Lawrence, jue...@gmail.com, GGobi users
Am Dienstag, den 01.07.2014, 06:21 -0700 schrieb Michael Lawrence:
> I ported things to the new graphviz with GGobi 2.1.11. I guess I need
> to pass the tarball to Hadley to get it uploaded to the website. Yes,
> we're such amateurs.
>
>
> Michael
...

> Are there any patches to make ggobi to compile with current
> graphviz? Downgrading to graphviz-2.28 is not a option,
> because to much other packages depend on current graphviz.
>
> There is also a related Gentoo at
> bug.https://bugs.gentoo.org/show_bug.cgi?id=491682.
...

I am waiting for the GGobi 2.1.11 tarball. I could it not yet find at
ggobi website.

Juergen



Juergen Rose

unread,
Jul 17, 2014, 3:50:49 AM7/17/14
to Michael Lawrence, jue...@gmail.com, GGobi users
Am Dienstag, den 01.07.2014, 06:21 -0700 schrieb Michael Lawrence:
> GGobi 2.1.11

Any news with GGobi 2.1.11?


jue...@gmail.com

unread,
Oct 3, 2014, 4:31:36 AM10/3/14
to gg...@googlegroups.com, lawrence...@gene.com, jue...@gmail.com
Reply all
Reply to author
Forward
0 new messages