Re: [eclipse-clp-users] Fwd: How to build tkexdr.so and tkeclipse.so

From: Kish Shen <kish.shen_at_...6...>
Date: Wed, 23 Jun 2021 20:42:50 +0100
>If you don't mind, I can try to fix this for contribution.
>May I do this?
Yes, please - we welcome any contributions.

Cheers,

KIsh

On Wed, Jun 23, 2021 at 7:18 PM koyahata <koyahata_at_...432...> wrote:
>
> Sorry for late reply,
>
>  > Change this line in configure:
>  >
>  >      TCL_REQUIRED="8.5 8.4 8.3"
>  >
>  > to
>  >
>  >      TCL_REQUIRED="8.6 8.5 8.4 8.3"
>  >
>  > and run configure and install ECLiPSe again. ILet us know if this
>
> I had already done that and it didn't work.
>
> After "make -f Makefile.$ECLIPSEARCH",
> I got compile error like below:
> (I needed to install tcl8.6-dev for building)
>
> gcc -O2 -fomit-frame-pointer  -D_REENTRANT -fPIC -fno-strict-overflow
> -Wno-logical-op-parentheses -Wno-bitwise-op-parentheses
> -Wno-pointer-sign -DD_LOAD -DTHREADED -I. -I../src -I../../sys_include
> -I"/usr/include/tcl8.6" -INONE  -c ../src/tkeclipse.c
> ../src/tkeclipse.c: In function ‘EcQueueRead’:
> ../src/tkeclipse.c:456:8: error: ‘Tcl_Interp’ {aka ‘struct Tcl_Interp’}
> has no member named ‘result’
>    interp->result = "ec_queue_read: cannot read from ECLiPSe stream";
>          ^~
> ../src/tkeclipse.c: At top level:
> cc1: warning: unrecognized command line option ‘-Wno-bitwise-op-parentheses’
> cc1: warning: unrecognized command line option ‘-Wno-logical-op-parentheses’
> make[1]: *** [Makefile:207: tkeclipse.o] エラー 1
> make[1]: ディレクトリ '/usr/local/src/Eclipse_7.0_54/Kernel
> /x86_64_linux' から出ます
> make: *** [Makefile.x86_64_linux:46: make_kernel] エラー 2
>
> If you don't mind, I can try to fix this for contribution.
> May I do this?
>
> Regards,
> Taku Koyahata
>
> On 2021/06/22 4:21, Kish Shen wrote:
> >> Tcl8.6 is already in my machine but ./configure need 8.3 ,8.4,or 8.5.
> >
> > I suspect that 8.6 will probably work with ECLiPSe. The reason it is
> > not in the configure is because we developed the Tcl/Tk interface a
> > long time ago, and have not tested it with 8.6, However, unless 8.6
> > made some drastic and incompatible changes from previous versions, it
> > should work.
> >
> > So I suggest that instead of putting 8.5 into ECLiPSETHIRDPARTY, you
> > could just modify configure to include 8.6:
> >
> > Change this line in configure:
> >
> >      TCL_REQUIRED="8.5 8.4 8.3"
> >
> > to
> >
> >      TCL_REQUIRED="8.6 8.5 8.4 8.3"
> >
> > and run configure and install ECLiPSe again. ILet us know if this
> > works, and we can either add 8.6 to  configure, pr if you do run into
> > problems, we can try to fix them so that ECLiPSe will work with 8.6.
> >
> >
> > Cheers,
> >
> > Kish
> >
> >>
> >>
> >> Thanks for replying,
> >>
> >> Tcl8.6 is already in my machine but ./configure need 8.3 ,8.4,or 8.5.
> >> Because it seems difficult to downgrade my tcl8.6, I tried the
> >> procedures below:
> >> 1)make directory named /vol/Eclipse/thirdparty/
> >> 2)download
> >> https://eclipseclp.org/Distribution/Builds/7.0_54/x86_64_linux/tcltk.tgz
> >> into this directory
> >> 3)uncompressed it and rename this folder to tcltk8.5
> >> 4)do "export ECLIPSTHIRDPARTY=/vol/Eclipse/thirdparty/"
> >> 5)./configure can find proper tcltk library
> >>
> >> I posted whole of my building procedures into my blog
> >> http://www2.koyahatataku.com/blog/2021/06/22/debianlinux%e3%81%a7eclipse-clp%e3%82%92%e3%83%93%e3%83%ab%e3%83%89%e3%81%99%e3%82%8b/
> >>
> >> Regards,
> >> Taku Koyahata
> >>
> >> On 2021/06/17 22:37, Kish Shen wrote:
> >>>> Are there any special procedure for building
> >>>> "tkeclipse.so" and "tkexdr.so"?
> >>>
> >>> I suspect the reason tkeclipse was not built is because Tcl/Tk was not
> >>> found during configure.
> >>> Search the output produce during figure for 'Tcl' - if Tcl/Tk was
> >>> found, you should see something like:
> >>>
> >>> configure: Using Tcl 8.5 in /usr/local
> >>>
> >>> if configure did not find Tcl/Tk, this can be because you don't have
> >>> it installed on your system, or there can be other reasons.
> >>>
> >>> You can check if you have Tcl/Tk installed by running Tk with the wish
> >>> command from your shell:
> >>>
> >>> bash-3.2$ wish
> >>> % echo $tcl_version
> >>> 8.5
> >>> % exit
> >>> bash-3.2$
> >>>
> >>> if you are able to run Tcl, print the Tcl version as I did above - it
> >>> may be your Tcl version is not one that configure looks for.
> >>>
> >>> Cheers,
> >>>
> >>> Kish
> >>>
> >>>
> >>> _______________________________________________
> >>> ECLiPSe-CLP-Users mailing list
> >>> ECLiPSe-CLP-Users_at_lists.sourceforge.net
> >>> https://lists.sourceforge.net/lists/listinfo/eclipse-clp-users
> >>>
> >>
> >>
> >>
> >> _______________________________________________
> >> ECLiPSe-CLP-Users mailing list
> >> ECLiPSe-CLP-Users_at_lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/eclipse-clp-users
>
Received on Wed Jun 23 2021 - 19:43:17 CEST

This archive was generated by hypermail 2.3.0 : Tue Apr 16 2024 - 09:13:20 CEST