This chapter describes the procedure for installing the Raspberry Pi client components for GemStone/S 64 Bitâ„¢ version 3.5.1.
This client installation provides:
The GemStone/S 64 Bit server does not run directly on the Raspberry Pi platform.
The GemStone/S 64 Bit Client for Raspberry Pi is known to work in the following environment. Other Raspberry Pi configurations may work, but have not been tested.
GemStone NetLDI processes on the server may be accessed by the port number that the NetLDI is listening on, or by name. If the NetLDI on the GemStone server is normally accessed by port number, no further configuration is needed on the Raspberry Pi client.
If the GemStone server is using named NetLDIs, you must ensure that the services on the Raspberry Pi maps these names to the appropriate port number.
The service mappings may be in /etc/services/, or configured via ldap or another mechanism.
To update /etc/services, add an entry similar to the following:
gs64ldi 50377/tcp #GemStone/S 64 Bit 3.5.1
This port number must be the same as the NetLDI service you will connect to on the GemStone/S 64 Bit server machine.
The GemStone/S 64 Bit Client for Raspberry Pi distribution includes all the components that are needed for a variety of usages on the client. You may install the complete set of GemStone’s Raspberry Pi client components, although most client applications will not need the entire set. For the initial installation, we recommend installing the complete distribution.
When using GemBuilder for Smalltalk, you may wish to copy only the specific shared libraries that are needed to connect to the GemStone server from the Raspberry Pi. That is described in the next chapter.
GemStone/S 64 Bit Client for Raspberry Pi is provided as a zipped archive. To install the complete distribution, copy the distributions to an install directory, InstallDir, and unzip.
InstallDir will contain a directory with a name similar to GemStone64Bit3.5.1-arm32.Linux/, including the following directories and files:
While not required, generally you should set the environment variable GEMSTONE to the full pathname (starting with a slash) of your new GemStone installation directory. For example:
unix> export GEMSTONE=InstallDir/GemStone64Bit3.5.1-arm32.Linux
If GemStone will be used regularly, it is recommended to set this up in the login shell initialization file.
Logging in from the Raspberry Pi command line is no different than logging in from any UNIX platform.
Note that linked logins are not supported (32-bit clients cannot login linked to 64-bit GemStone/S 64 Bit).
The following example assumes that $GEMSTONE is set, and the system path updated.
unix> topaz
headers
topaz> set gemstone !@stonehost!stonename
topaz> set username DataCurator password swordfish
topaz> set gemnetid !@stonehost#netldi:netldiNameOrPort!gemnetobject
topaz> login
[12/06/2019 15:37:58.612 PST]
gci login: currSession 1 rpc gem processId 25979 socket 6
successful login
topaz 1>