Differences between revisions 1 and 2
Revision 1 as of 2006-11-17 14:26:23
Size: 3026
Comment:
Revision 2 as of 2006-11-17 14:38:01
Size: 3230
Comment:
Deletions are marked like this. Additions are marked like this.
Line 70: Line 70:
The ''configure'' script does not recognize the JAVA installation. The attached script The standard ''configure'' script does not recognize the JAVA installation but the [attachment:configure_tclBlend1.3.3_pacs5 attached ''configure'' script] does so. Place the new script in the
directory where all the source tar ball are stored and name it '''configure.tclBlend1.3.3'''.

The host pacs5 runs SuSE 10.1. Although this is a 64 bit (AMD64) machine we got the TCLblend package only to work in a 32 bit mode. Due a bug in the gcc compiler all packages are compiled in nonoptimized mode.

<!> BR Note for the TestControl users: Care must be taken to deactivate the TCLBlend packages from the PCSS distribution and use only the system installed TCLblend package. But for the Versant libraries it is otherwise, use the 32 bit version from the PCSS distribution.BR <!>

Required source tar balls:

  • tcl8.4.14-src.tar.gz
  • tk8.4.14-src.tar.gz
  • thread2.6.5.tar.gz # TCL thread extension
  • tclBlend1.3.3.tar.gz

Place all four source tar balls into the same directory and also start each installation step from this directory.

As a prerequisite for all installation set the following flags to switch to 32bit compilation/link mode.

setenv CFLAGS "-m32"
setenv LDFLAGS "-m32"
setenv SHLIB_CFLAGS "-m32"

As not all configure script take attention to this flags the Makefiles are modified after execution of configure to make sure the -m32 is in place.

Installing TCL 8.4.14

rm -Rf tcl8.4.14
tar -xzf tcl8.4.14-src.tar.gz
cd tcl8.4.14/unix
./configure --enable-threads --enable-shared --enable-man-symlinks --prefix=/usr --disable-64bit
find . -name Makefile | xargs -n 1 sed -i 's/gcc -pipe/gcc -pipe -m32/'
find . -name Makefile | xargs -n 1 sed -i 's/-O2/-O0/'
make
make test
su -c "make install"

Installing TK 8.4.14

rm -Rf tk8.4.14
tar -xzf tk8.4.14-src.tar.gz
cd tk8.4.14/unix
./configure --enable-threads --enable-shared --enable-man-symlinks --prefix=/usr --with-tcl=../../tcl8.4.14/unix --disable-64bit
find . -name Makefile | xargs -n 1 sed -i 's/gcc -pipe/gcc -pipe -m32/'
find . -name Makefile | xargs -n 1 sed -i 's/-O2/-O0/'
sed -i 's/lib64/lib/' Makefile
su -c "ln -s libX11.so.6.2 libX11.so"
make
su -c "make install"

Install TCL thread extension

rm -Rf thread2.6.5
tar -xzf thread2.6.5.tar.gz
cd thread2.6.5/unix
../configure --enable-threads --enable-shared --enable-man-symlinks --prefix=/usr --with-tcl=../../tcl8.4.14/unix --disable-64bit
find . -name Makefile | xargs -n 1 sed -i 's/gcc -pipe/gcc -pipe -m32/'
find . -name Makefile | xargs -n 1 sed -i 's/-O2/-O0/'
make
make test
su -c "make install"

Install TCLblend

The standard configure script does not recognize the JAVA installation but the [attachment:configure_tclBlend1.3.3_pacs5 attached configure script] does so. Place the new script in the directory where all the source tar ball are stored and name it configure.tclBlend1.3.3.

rm -Rf tclBlend1.3.3
tar -xzf tclBlend1.3.3.tar.gz
cd tclBlend1.3.3/unix
cp ~/packages/configure.tclBlend1.3.3 ../configure
../configure --enable-threads --enable-shared --enable-man-symlinks --prefix=/usr --with-tcl=../../tcl8.4.14/unix --with-thread=../../thread2.6.5/unix --disable-64bit --with-jdk=/usr/java/jdk1.5.0_09__i386
find . -name Makefile | xargs -n 1 sed -i 's/gcc -pipe/gcc -pipe -m32/'
find . -name Makefile | xargs -n 1 sed -i 's/-O2/-O0/'
make
make test
su -c "make install"

Herschel: PACS/SoftwareInstallation/TCLblend1_3_3 (last edited 2009-07-15 14:32:38 by localhost)