Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002257graphvizBuild/Installpublic2013-02-13 00:572013-02-13 15:17
Reporterryandesign 
Assigned Toellson 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
Platformx86_64OSOS XOS Version10.8.2
Summary0002257: fails to build with ming
DescriptionBuilding with ming support fails:


In file included from gvrender_ming.c:20:
In file included from ../../lib/gvc/gvplugin_render.h:17:
../../lib/common/types.h:49:10: fatal error: 'cgraph.h' file not found
#include <cgraph.h>
         ^
1 error generated.

Steps To Reproduce./configure --with-ming && make
Additional InformationThis was reported to MacPorts here:

https://trac.macports.org/ticket/37847 [^]

I'll attach the log of the build failure with MacPorts, and the patch that seems to fix it.
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED2013-02-13
FIX-COMMENTchangeset 9107:59b90d6b66e4
FORMER-ID
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENT
VERSION2.31.20130211.0545
Attached Filesbz2 file icon main.log.bz2 [^] (26,376 bytes) 2013-02-13 00:57
diff file icon patch-plugin-ming-Makefile.am.diff [^] (349 bytes) 2013-02-13 00:57 [Show Content]

- Relationships

-  Notes
User avatar (0000289)
ellson (administrator)
2013-02-13 04:52

Ryan, I'm thinking that Macs are more pedantic about the use of "<...>" in includes.

I suspect that only /usr/include, and not the whole -I path, is searched.

Could you try changing to:
    #include "cgraph.h"

and report back if that fixes?
User avatar (0000290)
ellson (administrator)
2013-02-13 04:54

Never mind ... your patch is suggesting a different problem....
User avatar (0000291)
ellson (administrator)
2013-02-13 05:02

Your fix is correct, although I've applied it in the same conditional style as in the other plugins. The fix is in the repo now.

- Issue History
Date Modified Username Field Change
2013-02-13 00:57 ryandesign New Issue
2013-02-13 00:57 ryandesign File Added: main.log.bz2
2013-02-13 00:57 ryandesign File Added: patch-plugin-ming-Makefile.am.diff
2013-02-13 04:52 ellson Note Added: 0000289
2013-02-13 04:54 ellson Note Added: 0000290
2013-02-13 05:02 ellson Note Added: 0000291
2013-02-13 15:17 ellson DATE-FIXED => 2013-02-13
2013-02-13 15:17 ellson FIX-COMMENT => changeset 9107:59b90d6b66e4
2013-02-13 15:17 ellson Status new => resolved
2013-02-13 15:17 ellson Resolution open => fixed
2013-02-13 15:17 ellson Assigned To => ellson


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