Thread

  1. TCL/TK library glitches in configure.in

    Brook Milligan <brook@trillium.nmsu.edu> — 1998-10-12T17:27:43Z

    The configure script is not correctly substituting the TCL/TK
    libraries it finds.  Please remember that setting variables in the
    configure script is not enough to get them substituted into Makefiles
    and such.
    
    Please apply the following patch and rerun autoconf.
    
    Cheers,
    Brook
    
    ===========================================================================
    --- configure.in.orig	Mon Oct 12 01:00:20 1998
    +++ configure.in	Mon Oct 12 11:08:29 1998
    @@ -800,6 +800,7 @@
     		USE_TCL=
     	else
     		TCL_LIB=-l$TCL_LIB
    +		AC_SUBST(TCL_LIB)
     	fi
     fi
     
    @@ -883,6 +884,7 @@
     		USE_TCL=
     	else
     		TK_LIB=-l$TK_LIB
    +		AC_SUBST(TK_LIB)
     	fi
     
     	LIBS="$ice_save_LIBS"
    
    
  2. Re: [HACKERS] TCL/TK library glitches in configure.in

    Jan Wieck <jwieck@debis.com> — 1998-10-12T18:34:54Z

    >
    > The configure script is not correctly substituting the TCL/TK
    > libraries it finds.  Please remember that setting variables in the
    > configure script is not enough to get them substituted into Makefiles
    > and such.
    >
    > Please apply the following patch and rerun autoconf.
    
        The  funny  thing  is  that commenting out TCL_LIB and TK_LIB
        from Makefile.global works too (even --with-tcl).
    
    >
    > Cheers,
    > Brook
    >
    
    
    Jan
    
    --
    
    #======================================================================#
    # It's easier to get forgiveness for being wrong than for being right. #
    # Let's break this rule - forgive me.                                  #
    #======================================== jwieck@debis.com (Jan Wieck) #
    
    
    
    
  3. Re: [HACKERS] TCL/TK library glitches in configure.in

    Bruce Momjian <maillist@candle.pha.pa.us> — 1998-10-12T19:43:51Z

    I have removed the mention of TCL_LIB from Makefile.global.  The new
    code looks in tcconfig.sh, and gets the values there.  I just fixed it
    today.  Please check for the commented out entries in Makefile.global
    and test it to see if it works.  Seems to work here.
    
    However, I will apply the patch and remove the Makefile.global comments
    of TCL_LIB, just so we can keep it around.  I think Billy is working on
    removal of that hole section.
    
    Thanks.
    
    > The configure script is not correctly substituting the TCL/TK
    > libraries it finds.  Please remember that setting variables in the
    > configure script is not enough to get them substituted into Makefiles
    > and such.
    > 
    > Please apply the following patch and rerun autoconf.
    > 
    > Cheers,
    > Brook
    > 
    > ===========================================================================
    > --- configure.in.orig	Mon Oct 12 01:00:20 1998
    > +++ configure.in	Mon Oct 12 11:08:29 1998
    > @@ -800,6 +800,7 @@
    >  		USE_TCL=
    >  	else
    >  		TCL_LIB=-l$TCL_LIB
    > +		AC_SUBST(TCL_LIB)
    >  	fi
    >  fi
    >  
    > @@ -883,6 +884,7 @@
    >  		USE_TCL=
    >  	else
    >  		TK_LIB=-l$TK_LIB
    > +		AC_SUBST(TK_LIB)
    >  	fi
    >  
    >  	LIBS="$ice_save_LIBS"
    > 
    > 
    
    
    -- 
      Bruce Momjian                        |  http://www.op.net/~candle
      maillist@candle.pha.pa.us            |  (610) 853-3000
      +  If your life is a hard drive,     |  830 Blythe Avenue
      +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026
    
    
    
  4. Re: [HACKERS] TCL/TK library glitches in configure.in

    Bruce Momjian <maillist@candle.pha.pa.us> — 1998-10-12T19:44:27Z

    > >
    > > The configure script is not correctly substituting the TCL/TK
    > > libraries it finds.  Please remember that setting variables in the
    > > configure script is not enough to get them substituted into Makefiles
    > > and such.
    > >
    > > Please apply the following patch and rerun autoconf.
    > 
    >     The  funny  thing  is  that commenting out TCL_LIB and TK_LIB
    >     from Makefile.global works too (even --with-tcl).
    
    Yes, this is Billy's fix of yesterday, by using tclconfig.sh.
    
    -- 
      Bruce Momjian                        |  http://www.op.net/~candle
      maillist@candle.pha.pa.us            |  (610) 853-3000
      +  If your life is a hard drive,     |  830 Blythe Avenue
      +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026
    
    
    
  5. Re: [HACKERS] TCL/TK library glitches in configure.in

    Jan Wieck <jwieck@debis.com> — 1998-10-13T10:12:26Z

    >
    > I have removed the mention of TCL_LIB from Makefile.global.  The new
    > code looks in tcconfig.sh, and gets the values there.  I just fixed it
    > today.  Please check for the commented out entries in Makefile.global
    > and test it to see if it works.  Seems to work here.
    >
    > However, I will apply the patch and remove the Makefile.global comments
    > of TCL_LIB, just so we can keep it around.  I think Billy is working on
    > removal of that hole section.
    >
    > Thanks.
    >
    
        Checked out at Oct. 13 09:52 MET DST (it's +0200 so should be
        03:52 in your TZ), configured with  switches  --enable-shared
        and --with-tcl.
    
        Compiled  clean  and regression went through without a single
        'failed'.
    
        Linux i486 ELF 2.1.88
    
        BTW: You still mention the rewrite system on the  todo  list.
        What  was left where replacing some functions (OffsetVarNodes
        and the like) by the new versions that are now static in  the
        rewriteHandler.
    
        But the old versions are used by the parser somewhere and I'm
        not totally sure if switching there to use the new ones would
        have any side effects.
    
        Things are stable now and working for what we currently have.
        I'll not touch the rewrite system  (except  for  bugs)  again
        before 6.4 is released.  Please close the item.
    
        When  we  go  on  and develop for 6.5 I think we will work on
        more capabilities in the parser/planner (e.g.  subselects  in
        the   targetlist,   outer  joins  etc.).  This  will  require
        additions in the rewrite system and then it's time to get  on
        it again.
    
    
    Jan
    
    --
    
    #======================================================================#
    # It's easier to get forgiveness for being wrong than for being right. #
    # Let's break this rule - forgive me.                                  #
    #======================================== jwieck@debis.com (Jan Wieck) #
    
    
    
    
  6. Re: [HACKERS] TCL/TK library glitches in configure.in

    Bruce Momjian <maillist@candle.pha.pa.us> — 1998-10-13T15:27:42Z

    > >
    > > I have removed the mention of TCL_LIB from Makefile.global.  The new
    > > code looks in tcconfig.sh, and gets the values there.  I just fixed it
    > > today.  Please check for the commented out entries in Makefile.global
    > > and test it to see if it works.  Seems to work here.
    > >
    > > However, I will apply the patch and remove the Makefile.global comments
    > > of TCL_LIB, just so we can keep it around.  I think Billy is working on
    > > removal of that hole section.
    > >
    > > Thanks.
    > >
    > 
    >     Checked out at Oct. 13 09:52 MET DST (it's +0200 so should be
    >     03:52 in your TZ), configured with  switches  --enable-shared
    >     and --with-tcl.
    
    Cool.  I think with Billy's help, we can remove the while tcl testing
    section from configure.in, at least the part that was bound to specific
    tcl/tk directories and version numbers.
    
    > 
    >     Compiled  clean  and regression went through without a single
    >     'failed'.
    > 
    >     Linux i486 ELF 2.1.88
    > 
    >     BTW: You still mention the rewrite system on the  todo  list.
    >     What  was left where replacing some functions (OffsetVarNodes
    >     and the like) by the new versions that are now static in  the
    >     rewriteHandler.
    > 
    >     But the old versions are used by the parser somewhere and I'm
    >     not totally sure if switching there to use the new ones would
    >     have any side effects.
    > 
    >     Things are stable now and working for what we currently have.
    >     I'll not touch the rewrite system  (except  for  bugs)  again
    >     before 6.4 is released.  Please close the item.
    
    OK, this is all I was waiting for.  I suspected that was the case, but
    needed to hear it from you.
    
    
    
    -- 
      Bruce Momjian                        |  http://www.op.net/~candle
      maillist@candle.pha.pa.us            |  (610) 853-3000
      +  If your life is a hard drive,     |  830 Blythe Avenue
      +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026