Re: [tcltk-perl] Re: issue building Tcl-Tk-0.77
Brought to you by:
hobbs
From: Mike C. <da...@gm...> - 2004-04-22 00:48:19
|
On Wed, 21 Apr 2004 17:37:29 -0700, Jeff Hobbs <je...@ac...> wrote: > > > It turns out that, indeed, now Tcl is actually linking against libtcl. > > > > However, Tcl-Tk is still having issues. > > > > Particularly, it's trying to use TK_INCLUDE_SPEC. > > > > However, I just unpacked every version of tk8.4.0 through > > tk8.4.6, and NONE of them use TK_INCLUDE_SPEC. > > You are correct, that var is a red herring and can be removed. > Tcl and Tk should have their includes in the same place, so the > TK_INCLUDE_SPEC will always be empty, but TCL_INCLUDE_SPEC will > carry the contents regardless (and is also used). The problem isn't tcl/tk headers, it's X headers. I ended up with this patch: diff -ru Tcl-Tk-0.77.orig/Makefile.PL Tcl-Tk-0.77/Makefile.PL --- Tcl-Tk-0.77.orig/Makefile.PL 2004-04-17 00:35:36.000000000 -0700 +++ Tcl-Tk-0.77/Makefile.PL 2004-04-21 00:01:37.000000000 -0700 @@ -61,7 +61,7 @@ $libspecvar = "TK_LIB_SPEC"; $libspecvar = "TK_BUILD_LIB_SPEC" if $buildspec; my ($tklibpath, $tkincpath) = - process_tclconfig($tkconfig, $libspecvar, "TK_INCLUDE_SPEC"); + process_tclconfig($tkconfig, $libspecvar, "TK_XINCLUDES"); $libpath .= " $tklibpath"; $incpath .= " $tkincpath"; } else { |