Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#13813 closed defect (fixed)

graphviz-2.16.1 requires Tk version 8.4 ; ports installs Tk 8.5

Reported by: dan-macosforge.org@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: graphviz tk Cc:
Port:

Description

Build fails while "Making all intkstubs"

Relevant portion of the logs:

Making all in tkstubs
/bin/sh ../../libtool --tag=CC   --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I../..  -DUSE_TCL_STUBS  -DUSE_TK_STUBS    -I/System/Library/Frameworks/Tk.framework/Versions/8.4/Headers -I/opt/local/include -I/opt/local/include  -O2 -fno-common -Wall -MT tkStubLib.lo -MD -MP -MF .deps/tkStubLib.Tpo -c -o tkStubLib.lo tkStubLib.c
 /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I../.. -DUSE_TCL_STUBS -DUSE_TK_STUBS -I/System/Library/Frameworks/Tk.framework/Versions/8.4/Headers -I/opt/local/include -I/opt/local/include -O2 -fno-common -Wall -MT tkStubLib.lo -MD -MP -MF .deps/tkStubLib.Tpo -c tkStubLib.c  -fno-common -DPIC -o .libs/tkStubLib.o
In file included from tkStubLib.c:18:
/System/Library/Frameworks/Tk.framework/Versions/8.4/Headers/tk.h:72:3: error: #error Tk 8.4 must be compiled with tcl.h from Tcl 8.4
make[3]: *** [tkStubLib.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Change History (4)

comment:1 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Milestone: Port Bugs
Owner: changed from macports-tickets@… to ryandesign@…

Right, I already noticed this and spoke with the developers of Graphviz. Checks for tcl/tk 8.5 were added to the 2.17 development version. Tcl was the only language binding enabled by default in the graphviz port, and I intend to disable it by default now.

comment:2 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

r32981 turns off all language bindings by default, so now graphviz will build (without tcl/tk support) even if tcl and tk 8.5 are installed.

graphviz +tcl will work with tcl 8.5. It will not work if tk 8.5 is also installed. graphviz apparently uses tk if present. I don't know if there's a configure switch to tell it to stop doing that. This will probably resolve itself once graphviz 2.18 is released with support for tk 8.5.

comment:3 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

Graphviz was updated to 2.18 in r35413 so this should fix this issue. Please re-open this ticket if it doesn't.

comment:4 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.