[plt-scheme] Compiling exp
I'd recommend putting your PLT install in a subdirectory all to itself
(e.g., "~/plt/"). This will solve most of your problems.
By the way, below is a shell script I use for updating my PLT tree from
CVS and rebuilding. It's not terribly safe, so some knowledge of shell
scripting is required for its use.
#!/bin/sh
# $Id: plt-cvs-build,v 1.19 2003/03/08 15:07:49 neil Exp $ UTC
# $Source: /home/neil/cvsroot/scripts/plt-cvs-build,v $
# Created: 18-Feb-2002 by Neil W. Van Dyke <neil at neilvandyke.org>
# http://www.plt-scheme.org/anoncvs/
PltDir="/home/neil/plt"
CvsDir="${PltDir}"
SrcDir="${CvsDir}/src"
Msg() {
echo ""
echo "plt-cvs-build: ${1}"
}
Warning() {
Msg "*WARNING* ${1}"
}
FatalError() {
Msg "*ERROR* ${1}"
exit 1
}
cd "$PltDir"
Msg "CVS update"
cvs update -d || FatalError "CVS update failed."
cd "$SrcDir"
#Msg "make clean..."
#make clean
#Msg "configure..."
#./configure || FatalError "configure failed."
Msg "make..."
make || FatalError "make failed."
cd "$SrcDir"
Msg "make install..."
yes n | make install
[ $? = 0 ] || FatalError "make install failed."
Msg "Removing old native stuff..."
rm -rf ${PltDir}/collects/*/compiled/native
Msg "setup-plt..."
"${PltDir}/bin/setup-plt" || Warning "setup-plt failed."
Msg "Done."
exit 0
#EOF
--
http://www.neilvandyke.org/