Re: [tcljava-user] Compiling TCL Blend
Brought to you by:
mdejong
|
From: Ross, B. <Bil...@Ca...> - 2013-05-21 20:00:48
|
I got it to work on Centos
2.6.32-71.29.1.el6.x86_64 #1 SMP Mon Jun 27 19:49:27 BST 2011 x86_64 x86_64 x86_64 GNU/Linux
Here are some of my notes:
tcl
gzip -d tcl8.5.7-src.tar.gz
tar -xf tcl8.5.7-src.tar
cd tcl8.5.7/unix/
./configure --enable-threads --enable-64bit
make install
tk
gzip -d tk8.5.7-src.tar.gz
tar -xf tk8.5.7-src.tar
cd tk8.5.7/unix/
./configure --enable-threads --enable-64bit
make install
threads
gzip -d thread2.6.5.tar.gz
tar -xf thread2.6.5.tar
cd thread2.6.5/
./configure --enable-threads --enable-64bit
make test
make install
expect
gzip -d expect-5.44.1.15.tar.gz
tar -xf expect-5.44.1.15.tar
cd expect-5.44.1.15
./configure --enable-threads --enable-64bit
make test
make install
tclblend (couldn't get configure CC=gcc34 to work, had to change /usr/bin/gcc)
yum install compat-gcc-34.x86_64
mv /usr/bin/gcc /usr/bin/gcc44
cp /usr/bin/gcc34 /usr/bin/gcc
gzip -d tclBlend1.4.1.tar.gz
tar -xf tclBlend1.4.1.tar
cd tclBlend1.4.1
./configure --with-tcl=/home/xxx/software/tcl8.5.7 --with-thread=/home/xxx/software/thread2.6.5 --with-jdk=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64
make test (all.tcl: Total 1397 Passed 1320 Skipped 5 Failed 72)
make install
cp /usr/bin/gcc44 /usr/bin/gcc
scripts need=> set env(LD_LIBRARY_PATH) "/usr/local/lib/tcljava1.4.1"; # for tclBlend
I also have it built on a very old 32 bit linux box
2.6.18-8.el5 #1 SMP Fri Jan 26 14:15:21 EST 2007 i686 i686 i386 GNU/Linux
Hope that helps.
Bill
From: Leonardo K. Shikida [mailto:sh...@gm...]
Sent: Tuesday, May 21, 2013 3:39 PM
To: tcl...@li...
Subject: [tcljava-user] Compiling TCL Blend
Hi
I am trying to compile TCL Blend in linux i386_64, but from the configure file, it seems it's only supported by JDK 1.4 (linux), JDK 1.5 for AMD64 and Sun JDK 1.4 and 1.5 for Windows.
So I am trying to compile using
tcl8.4.13-src.tar.gz
thread2.6.3.tar.gz
tclBlend1.4.1.tar.gz
j2sdk1.4.2_19 (i586)
The compilation also complains of gcc being superior than 4.1.0 and several other linking problems.
What versions of JSDK and GCC are recommended in order to compile TCL Blend on a linux box?
TIA
Leo
|