2024-05-27 16:13:40 +02:00
|
|
|
#!/usr/tgcware/bin/bash
|
|
|
|
|
|
|
|
WORLD_ROOT=${PWD}
|
|
|
|
ARCHIE_ROOT="${WORLD_ROOT}/archie"
|
|
|
|
PROSPERO_ROOT="${WORLD_ROOT}/prospero"
|
|
|
|
BERKDB_ROOT="${WORLD_ROOT}/berkdb"
|
|
|
|
TCL_ROOT="${WORLD_ROOT}/tcl7.3"
|
|
|
|
TCLDP_ROOT="${WORLD_ROOT}/tcl-dp"
|
|
|
|
TK_ROOT="${WORLD_ROOT}/tk3.6"
|
|
|
|
SOLOS=$(uname -s)
|
|
|
|
SOLVER=$(uname -r)
|
|
|
|
SYSTYPE="${SOLOS}-${SOLVER}"
|
|
|
|
|
|
|
|
DISTDIR="${WORLD_ROOT}/dist"
|
|
|
|
|
|
|
|
export ${ARCHIE_ROOT}
|
|
|
|
export ${PROSPERO_ROOT}
|
|
|
|
export ${BERKDB_ROOT}
|
|
|
|
export ${TCL_ROOT}
|
|
|
|
export ${TCLDP_ROOT}
|
|
|
|
export ${TK_ROOT}
|
|
|
|
export ${SYSTYPE}
|
|
|
|
export ${DISTDIR}
|
|
|
|
|
|
|
|
mkdir -p ${DISTDIR}/bin
|
|
|
|
|
|
|
|
echo " Build Root : ${WORLD_ROOT}"
|
|
|
|
echo " Archie Root : ${ARCHIE_ROOT}"
|
|
|
|
echo " Prospero Root : ${PROSPERO_ROOT}"
|
|
|
|
echo " Berkeley DB Root: ${BERKDB_ROOT}"
|
|
|
|
echo " Tcl Root : ${TCL_ROOT}"
|
|
|
|
echo " Tcl DP Root : ${TCLDP_ROOT}"
|
|
|
|
echo " Tk Root : ${TK_ROOT}"
|
|
|
|
echo " System Type : ${SYSTYPE}"
|
|
|
|
echo " Dist Dir : ${DISTDIR}"
|
|
|
|
|
|
|
|
cd ${TCL_ROOT}
|
|
|
|
./configure --prefix=${DISTDIR}
|
|
|
|
make install
|
2024-05-27 16:18:20 +02:00
|
|
|
cd ${WORLD_ROOT}
|
|
|
|
|
|
|
|
cd ${TK_ROOT}
|
|
|
|
./configure --prefix=${DISTDIR}
|
|
|
|
make install
|
|
|
|
cd ${WORLD_ROOT}
|