Opened 11 years ago

Last modified 3 years ago

#37847 closed defect

graphviz +ming: build failure — at Version 2

Reported by: davidfavor (David Favor) Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: graphviz

Description (last modified by larryv (Lawrence Velázquez))

graphviz fails when build is unable to find the cgraph.h file.

Problem is fixed by adding -I/opt/local/include/graphviz for include file searching.

cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphviz/graphviz/work/graphviz-2.30.0/plugin/ming

/usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../../lib/common -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/graph -I../../lib/cdt -I/opt/local/include/graphviz -I/opt/local/include -I/opt/local/include -I/opt/local/include -pipe -O2 -arch x86_64 -fno-common -Wall -MT gvrender_ming.lo -MD -MP -MF .deps/gvrender_ming.Tpo -c gvrender_ming.c  -fno-common -DPIC -o .libs/gvrender_ming.o

Attached is build log.

Change History (3)

Changed 11 years ago by davidfavor (David Favor)

Attachment: graphviz-ming-build.log added

comment:1 Changed 11 years ago by davidfavor (David Favor)

Workaround is to rebuild graphviz without +ming.

comment:2 Changed 11 years ago by larryv (Lawrence Velázquez)

Description: modified (diff)
Owner: changed from macports-tickets@… to ryandesign@…
Priority: HighNormal
Summary: graphviz fails to build with ming + fixgraphviz +ming: build failure

Thanks for the ticket. In the future, please try to Cc relevant port maintainers. Also, use WikiFormatting while writing your tickets and avoid setting the Priority field, as that is reserved for the use of MacPorts team members.

Note: See TracTickets for help on using tickets.