[plt-scheme] DrScheme Install on RedHat 8
The RPMS were not built for Redhat 8.
Running
${PLTHOME}/bin/setup-plt
will speed up DrScheme considerably if it failed to run
during the RPM installation.
Paul
At Thu, 12 Dec 2002 12:19:22 -0500 (EST), "Max A. Lawton" wrote:
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
> I recently downloaded the redhat RPM for DrScheme 202.
> When I installed it (rpm -ivh --force plt-202-1.i386.rpm):
>
> [root at sappho download]# rpm -ivh --force plt-202-1.i386.rpm
> Preparing... ###########################################
> [100%]
> 1:plt ###########################################
> [100%]
> /var/tmp/rpm-tmp.33722: line 12: RPM_INSTALL_PREFIX: parameter null or not
> set
> error: %post(plt-202-1) scriptlet failed, exit status 1
>
> ;;-----------------------
>
> ;it did, however, install to /usr/local/lib/plt-202.
>
> when I tried to run ./drscheme in /usr/local/lib/plt-202/bin/:
> ./drscheme: line 67: /usr/src/redhat/BUILD/plt/bin/mred: No such file or
> directory
> ./drscheme: line 67: exec: /usr/src/redhat/BUILD/plt/bin/mred: cannot
> execute: No such file or directory
>
> ;;----
>
> so I went ahead and opened up ./drscheme in emacs and found the following:
> if [ "$PLTHOME" = '' ] ; then
> PLTHOME="/usr/src/redhat/BUILD/plt"
> export PLTHOME
> fi
>
> and on line 67:
>
> exec "${PLTHOME}/bin/mred"
>
> So I created /etc/profile.d/drscheme.sh which contained:
> "export PLTHOME=/usr/local/lib/plt-202"
>
> so, now my little launcher for /usr/local/lib/plt-202/bin/drscheme
> [complete with nifty plt.xpm icon :) ] works.
>
> So, the problem was that rpm choked. Does anyone know what could have
> caused this problem and how to fix it at the installer level?
>
> #| PROBLEM 2 |#
> Now that my little shortcut works, I can run DrScheme. This would be so
> utterly wonderful were it not for the fact that it runs slower than
> Boston's Orange Line.
> (
> time /usr/local/lib/plt-202/bin/drscheme
>
> real 1m19.955s
> user 1m12.049s
> sys 0m0.590s
> )
>
> I would expect this kind of a wait under windows on this 1GHz Duron, not
> under linux. However, on my 1.5GHz p3m laptop running redhat 7.3,
> DrScheme loads in seeming 75% of the time it takes on the same machine
> under WindowsXP Home.
>
> Are there just some changes in 8 that would cause it to run slower, thus
> giving me no choice but to revert to 7.3 (and lose that oh-so-valuable
> hardware support) or stick with 8 and deal with syntax highlighting in
> turtle mode? (or just use emacs, quack, and mzscheme)
>
> thanks, and I hope some of this has been useful.
>
> --Max Lawton