help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tab Auto-Completition Broken - 3.2.91


From: Gary Highberger
Subject: Re: Tab Auto-Completition Broken - 3.2.91
Date: Thu, 4 Feb 2021 13:56:42 -0500

Hi David and everone,

Mark and I worked this issue last night and I finally got 3.2.91 to run
with readline support this morning! The breakthrough was learning that my
system was missing readline.h and that the Smalltalk installer needed it.
Curiously enough the only way to cleanly get that header file on my system
was to install *neither* a 32 bit nor a 64 bit Ubuntu package, or at least
neither 32 nor 64 appeared in the package name. The installation of
libreadlne-dev put readline.h (and lots of other stuff too) on my system
and allowed ./configure to set the HAVE_READLINE bit in config.h.

The last installation glitch is gst won't run as a user. I could just chmod
it but want to dig a little deeper.

Test results:
$ ./build-aux/config.guess
x86_64-unknown-linux-gnu

I'm not sure what mode I'm building Smallalk in. Is it it specified in the
Makefile? Let me know and I will check. I can also do an experimental build
if you like.

What is the process for (requesting) putting 3.2.91 on Ubuntu? Maybe I can
assist, file a request, fill out a form, etc.

Many thanks for your help David. Your "HAVE_READLINE" clue is all Mark and
I needed to resolve this issue.

Thank you,
Gary


On Thu, Feb 4, 2021, 11:17 AM stes@PANDORA.BE <stes@telenet.be> wrote:

>
> I'm not sure whether a 32 bit library is needed.
>
> Are you building GNU smalltalk in 32 bit ?
>
> I think it's best to do so (others may disagree, but that's my sentiment).
>
> Also there's no shame in 32bit applications. At the time that GNU
> smalltalk was written,
> back in 1988, I think 32bit was quite normal.
>
> The blue book Smalltalk language definition actually defines Smalltalk :
> "objects are 16bit pointers".
>
> So the blue book is for a 16bit model (XEROX computers from that time may
> have been 16bit).
>
> Anyway,  what is the result of 'config.guess' in your case ?
>
>
> ./build-aux/config.guess
>
>
> If it reports something like x86_64
> then you could try to configure as a 32bit.
>
> For example, I believe:
>
>   ./configure i386-gnu-linux
>
> or something like that may force configure to have a target i386
> architecture (32bit).
>
>
> David Stes
>
> ----- Op 3 feb 2021 om 18:24 schreef Gary Highberger
> gary.highberger@gmail.com:
>
> > Excellent suggestion David. At around line 380 in config.h:
> >
> >
> > */* Define if your system has the GNU readline library. */*
> > */* #undef HAVE_READLINE */*
> >
> > All that needs doing is finding and installing the correct readline
> library.
> >
> > As to tab expansion in gst, choices are shown if more than one keyword
> can
> > complete the string. Type tab twice to see them all. Very cool!
> >
> > I'll report my progress as soon as I know more.
> >
> > I assume a 32 bit library is needed?
> >
> > Thank you very much,
> >
> > Gary
> >
> > On Wed, Feb 3, 2021 at 6:40 AM stes@PANDORA.BE <stes@telenet.be> wrote:
> >
> >>
> >> ----- Op 3 feb 2021 om 4:49 schreef Gary Highberger
> >> gary.highberger@gmail.com:
> >> >
> >> > I realize .91 isn't released and is likely not supported. I'm just
> >> > documenting what I'm seeing and hoping someone has seen such behavior
> >> > before and has a suggestion for me.
> >>
> >> It would be nice if version 3.3 or 3.2.6 were released, even if they
> would
> >> be the same as 3.2.91.
> >>
> >> The version 3.2.91 although that it has many really good improvements
> has
> >> a version number that may cause certain doubts with package maintainers.
> >>
> >> The fact that it has a number which indicates 'alpha' or 'testing' is
> not
> >> to make people feel at ease with that version.
> >>
> >> Anyway, I tested with
> >>
> >>   ./configure --without-readline
> >>
> >> and then I get the behavior that you describe: Tab just is inserting a
> >> tab, not completing keywords.
> >>
> >> You can check with :
> >>
> >> # grep HAVE_READLINE config.h
> >> /* #undef HAVE_READLINE */
> >>
> >> in your config.h you either have HAVE_READLINE 1 if it discovers you
> have
> >> readline or the above #undef.
> >>
> >> The solution would be to install GNU readline before building your own
> >> version of GNU smalltalk.
> >>
> >> David Stes
> >>
> >>
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]