Opened 10 years ago
Closed 9 years ago
#7037 closed defect (fixed)
graphviz-2.38.0 fails to build with ghostscript-9.18
Reported by: | Fernando de Oliveira | Owned by: | Fernando de Oliveira |
---|---|---|---|
Priority: | normal | Milestone: | 7.9 |
Component: | BOOK | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description ¶
Error:
Making all in gs make[3]: Entering directory '/tmp/graphviz-2.38.0/plugin/gs' CC gvloadimage_gs.lo CC gvplugin_gs.lo gvloadimage_gs.c: In function 'gs_error': gvloadimage_gs.c:75:16: error: 'e_VMerror' undeclared (first use in this function) if (err >= e_VMerror) ^ gvloadimage_gs.c:75:16: note: each undeclared identifier is reported only once for each function it appears in gvloadimage_gs.c:77:21: error: 'e_unregistered' undeclared (first use in this function) else if (err >= e_unregistered) ^ gvloadimage_gs.c:79:21: error: 'e_invalidid' undeclared (first use in this function) else if (err >= e_invalidid) ^ Makefile:690: recipe for target 'gvloadimage_gs.lo' failed make[3]: *** [gvloadimage_gs.lo] Error 1 make[3]: Leaving directory '/tmp/graphviz-2.38.0/plugin/gs' Makefile:531: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/tmp/graphviz-2.38.0/plugin' Makefile:774: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/tmp/graphviz-2.38.0' Makefile:583: recipe for target 'all' failed make: *** [all] Error 2
The undeclared identifiers have been renamed in ghostscript-9.18's headers.
Solution:
sed -e 's/ e_/ gs_error_/' \ -i plugin/gs/gvloadimage_gs.c
Change History (5)
comment:1 by , 10 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 10 years ago
Owner: | changed from | to
---|---|
Status: | assigned → new |
Will leave for the book, to see if somebody has better solution or disagrees
comment:4 by , 10 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
Note:
See TracTickets
for help on using tickets.
Bruce, would you have a better solution and wish to to take this? If so, go ahead, please.