|Anonymous | Login||2017-11-22 06:22 EST|
|Main | My View | View Issues | Change Log | Roadmap | My Account|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0001034||graphviz||Build/Install||public||2006-01-13 05:45||2011-04-28 04:03|
|Summary||0001034: contrib/diffimg/diffimg.c:100: undefined ref. to `gdImageCreateFromJpeg|
The make error is the following :
diffimg.o(.text+0x205): In function `imageLoad':
~/graphviz-2.6/contrib/diffimg/diffimg.c:100: undefined reference to `gdImageCreateFromJpeg'
The jpeg libs are found in the configure... and the GD is the internal one !
However, I would like to use dot only. The make error occurs in contrib directory.
So the dot (and all cmd) is compiled but when I try a simple dot command :
./dot -Tps file.dot file.ps
I have :
Error: Layout was not done. Missing layout plugins?
Error: lt-dot: can't open file.ps
My question is :
Is there a way to correct the make or to shortcut the make to enable plugins (where are they?) ?
Thank you very much.
As you are building from source I suggest that you build a more recent graphviz-2.7
snapshot from www.graphviz.org.
The diffimg.c problem is because libjpeg or libjpeg-devel was not found on your system
and there was a bug in 2.6 in diffimg.c where it failed to deal with this condition.
This bug has been fixed since 2.6.
The missing plugins problem is probably because you have not done a "make install".
During "make install" the installed plugins are detected by running "dot -c"
which writes to <prefix>/lib/graphviz/config
Your other choice is to use ./dot_static which has some plugins statically linked.
|Tags||No tags attached.|
|2011-04-28 04:03||user1||New Issue|
|2011-04-28 04:03||user1||Assigned To||=> user695|
|MantisBT 1.2.5[^] Copyright © 2000 - 2011 MantisBT Group|