Re: [tcljava-user] make install - 'Testing installed program' fails
Brought to you by:
mdejong
From: Scott S. <ss...@am...> - 2008-11-11 15:51:02
|
Fra...@ti... wrote: > Hi! > > Tried to install the TclBlend on Linux (sled10). <snip> Hi Frank, I would make sure your environment isn't finding other Javas etc. I think the shell script below will help you and possibly others... #!/bin/bash set -e -v # Make sure we have all the variables we need... if [[ -z $DESTDIR || -z $BUILDDIR || -z $TARDIR ]]; then echo "Missing required variables..." exit 1 fi # #### TCL #### # cd $BUILDDIR tar -xzf $TARDIR/tcl8.4.19-src.tar.gz cd tcl8.4.19/unix ./configure --prefix=$DESTDIR --enable-threads make make install # #### TCL THREAD #### # cd $BUILDDIR tar -xzf $TARDIR/thread2.6.5.tar.gz cd thread2.6.5/unix ../configure --enable-threads # knows the prefix from the tcl src base config make make install # #### TclBlend #### # cd $BUILDDIR tar -xzf $TARDIR/tclBlend1.4.1.tar.gz cd tclBlend1.4.1 #patch -p1 < $TARDIR/tclblend-amd64.patch ./autogen.sh ./configure --with-jdk=$DESTDIR/jdk --with-tcl=$BUILDDIR/tcl8.4.19 \ --with-thread=$BUILDDIR/thread2.6.5/unix --prefix=$DESTDIR # gcc 4.1 and greater have an optimation bug that breaks tclblend sed -i "s/-O2//g" Makefile make make install # #### TclLib #### # cd $BUILDDIR tar -xjf $TARDIR/tcllib-1.10.tar.bz2 cd tcllib-1.10 ./configure --prefix=$DESTDIR make make install # convenience links cd $DESTDIR/lib ln -s tcl8.4 tcl ln -s tcljava1.4.1 tcljava cd $DESTDIR/bin ln -s tclsh8.4 tclsh |