#37847: graphviz +ming: build failure -----------------------+-------------------------- Reporter: david@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: graphviz | -----------------------+-------------------------- Changes (by larryv@…): * priority: High => Normal * owner: macports-tickets@… => ryandesign@… Old description:
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.
New description: 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. -- Comment: 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. -- Ticket URL: <https://trac.macports.org/ticket/37847#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS