This is the mail archive of the xconq7@sources.redhat.com mailing list for the Xconq project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cannot build Xconq on Debian Linux


On Sat, Dec 06, 2003 at 12:39:21PM -0500, Eric McDonald wrote:
> Hi Tom, Lincoln,
> 
> I just checked in some changes which might address your Tcl/Tk 
> configuration hassles. Please let me know how they work.

I tried your change with tcl/tk 8.4 and eveything still works
for me. I got curious about how you do this magic and noticed a
small error:

--- configure   6 Dec 2003 17:28:08 -0000       1.33
+++ configure   6 Dec 2003 19:23:45 -0000
@@ -1337,7 +1337,7 @@
         TCL_INCLUDE_SPEC="-I${TCL_PREFIX}/include/tcl${TCL_VERSION}"
       fi
     fi
-    TCL_INLCUDE_SPEC=`echo ${TCL_INCLUDE_SPEC} | grep -v '/usr/include$'`
+    TCL_INCLUDE_SPEC=`echo ${TCL_INCLUDE_SPEC} | grep -v '/usr/include$'`
     
 
     if test "x${TCL_LDFLAGS}" = "x" ; then

> 
> Do you mean "-I/usr/include/tcl8.2"?
> I hope so. Otherwise things just got even more convoluted.

Oops, sorry, yes that is what I meant.

> 
> Well if your 8.4 tclConfig.sh/tkConfig.sh files contain
> 'TCL_INC_DIR' and 'TK_INC_DIR', repsectively, then this was
> handled by an enhancement to the configure system. If
> tclConfig.sh contains a 'TCL_INCLUDE_SPEC' var, then Debian
> finally do something more mainstream....

$ grep TCL_INCLUDE_SPEC /usr/lib/tcl8.4/tclConfig.sh 
TCL_INCLUDE_SPEC='-I/usr/include/tcl8.4'
$ grep TCL_INC_DIR /usr/lib/tcl8.4/tclConfig.sh 
TCL_INC_DIR='/usr/include/tcl8.4/tcl-private/generic'
$ grep TK_INC_DIR /usr/lib/tk8.4/tkConfig.sh 
TK_INC_DIR='/usr/include/tcl8.4/tk-private/generic'

I believe Debian is the only distribution that allows multiple
versions of tcl/tk development packages to be installed, which
possibly broke tcl/tk in a subtle way.  Keeps things interesting
for configure script writers...

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]