Geoffrey, I found that 's/$RPM_BUILD_ROOT//g' is useless. Replacing it
with 's|%buildroot||g' removes more snailtalk flavored smalltalk :-P
Besides, I found some serious problem with the binary gst --- it seems to
be corrupt. Used both egcs and gcc-2.95 to compile it, but during the
final packaging stage, it gives "Out of Memory" error when stripping
binary. And the binary got corrupted this way.
To go into more depth, it's more funny. The "gst" binary in installed
version under $RPM_BUILD_ROOT and the "gst" in compiled version under
$RPM_BUILD_DIR are different. The one under $RPM_BUILD_ROOT is recompiled
with "-DOPTIMIZE" flag while the $RPM_BUILD_DIR version isn't. And I found
no problem stripping the unoptimized one!
So it sounds to me as a delicate linking/compiling problem. Do you notice
the same problem too? Or it's my own stupidity only?
Abel Cheung
On Tue, 6 Mar 2001, Guillaume Rousse wrote:
> They are still hard-coded references to Geoffrey build dir in
> smalltalk-1.95.1-2mdk:
>
> [guillaume@agathe guillaume]$ cat /usr/bin/gst-config | grep snailtalk
> prefix=/home/snailtalk/tmp/smalltalk/usr
> [guillaume@agathe guillaume]$ strings /usr/bin/gst | grep snailtalk
> /home/snailtalk/tmp/smalltalk/usr/share/gnu-smalltalk
> /home/snailtalk/tmp/smalltalk/usr/share/gnu-smalltalk/kernel/%s
> /home/snailtalk/tmp/smalltalk/usr/share/gnu-smalltalk/kernel
> /home/snailtalk/tmp/smalltalk/usr/share/gnu-smalltalk/kernel
> /home/snailtalk/tmp/smalltalk/usr/share/gnu-smalltalk/kernel
>
>
>