3 echo "##########################################################################"
5 echo "##########################################################################"
8 echo "INFO: building tcl..."
9 echo "INFO: running command: configure --enable-shared --enable-threads"
11 mkdir -p $BUILD_DIR/tcl && cd $BUILD_DIR/tcl
12 $SOURCE_DIR/tcl/unix/configure --prefix=$PRODUCT_INSTALL --enable-shared --enable-threads
15 echo "ERROR on configure (tcl)"
20 echo "INFO: running command: make " $MAKE_OPTIONS
24 echo "ERROR on make (tcl)"
29 echo "INFO: running command: make install (tcl)"
33 echo "ERROR on make install (tcl)"
37 echo "INFO: building tk..."
38 mkdir -p $BUILD_DIR/tk && cd $BUILD_DIR/tk
39 echo "INFO: running command: configure --enable-shared --enable-threads --with-tcl=$PRODUCT_INSTALL/lib --with-tclinclude=$PRODUCT_INSTALL/include"
40 $SOURCE_DIR/tk/unix/configure --prefix=$PRODUCT_INSTALL --enable-shared --enable-threads \
41 --with-tcl=$PRODUCT_INSTALL/lib --with-tclinclude=$PRODUCT_INSTALL/include
44 echo "ERROR on configure (tk)"
49 echo "INFO: running command: make"
53 echo "ERROR on make (tk)"
58 echo "INFO: running command: make install"
62 echo "ERROR on make install (tk)"
66 cp tkConfig.sh $PRODUCT_INSTALL/lib # needed by Netgen