Installing GsDevKit on Debian 10 succeeds but create a Pharo 7 client fails

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Installing GsDevKit on Debian 10 succeeds but create a Pharo 7 client fails

GLASS mailing list
Installation of GsDevKit succeeds as per:

git clone https://github.com/GsDevKit/GsDevKit_home.git
cd GsDevKit_home
. bin/defHOME_PATH.env    # define GS_HOME env var and put $GS_HOME into
PATH
installServerClient
createStone devKit_343 3.4.3
createClient tode1

The installation of DsDevkit fails initially at the 'installServerClient'
step until I include in the debian case statement to version 10 option.

Then the 'createClient' tode1 step succeeds and I have a working tode client
with the default pharo 3 image as seen here:

ian@desktop:~/Downloads/GemStone/GsDevKit_home$ ls -la dev/clients/tode1/
total 49292
drwxr-xr-x 5 ian ian     4096 Jul 30 07:46 .
drwxr-xr-x 5 ian ian     4096 Jul 30 11:32 ..
-rwxr-xr-x 1 ian ian     1442 Jul 30 07:44 clientInfo
-rwxr-xr-x 1 ian ian      573 Jul 30 07:44 deleteClient
-rwxr-xr-x 1 ian ian     3158 Jul 30 07:44 editClient
-rw-r--r-- 1 ian ian    38704 Jul 30 07:44 GemTalkSystemsLogo-Medium.png
-rw-r--r-- 1 ian ian    45224 Jul 30 07:44 GemTalkSystemsLogo-Muted.png
-rw-r--r-- 1 ian ian    45224 Jul 30 07:44 GemTalkSystemsLogo.png
-rwxr-xr-x 1 ian ian     1263 Jul 30 07:44 installClientGciLibraries
drwxr-xr-x 2 ian ian     4096 Jul 30 07:45 logs
drwxr-xr-x 2 ian ian     4096 Jul 30 07:45 package-cache
-rwxr-xr-x 1 ian ian      367 Jul 30 07:44 pharo
-rw-rw-r-- 1 ian ian   341483 Mar 11  2015 Pharo.changes
-rw-rw-r-- 1 ian ian 21829148 Mar 11  2015 Pharo.image
-rwxr-xr-x 1 ian ian      354 Jul 30 07:44 pharo-ui
drwxr-xr-x 3 ian ian     4096 Jul 30 07:45 pharo-vm
-rw-r--r-- 1 ian ian       54 Jul 30 07:44 README.md
-rw-r--r-- 1 ian ian    11906 Jul 30 07:44 small_GemTalkSystemsLogo.png
-rwxr-xr-x 1 ian ian     6374 Jul 30 07:44 startClient
-rwxr-xr-x 1 ian ian     2568 Jul 30 07:44 stopClient
-rw-r--r-- 1 ian ian  1482478 Jul 30 07:45 tode1.changes
-rw-r--r-- 1 ian ian 26593052 Jul 30 07:45 tode1.image
-rwxr-xr-x 1 ian ian     1694 Jul 30 07:44 updateClient
-rwxr-xr-x 1 ian ian      867 Jul 30 07:44 updateGsDevKit
ian@desktop:~/Downloads/GemStone/GsDevKit_home$

As you can see the tode1.image file is create and when launched works.

However when using the command for 'createClient' thus:

----

createClient -t pharo pharoClient -v Pharo7.0

----

It fails to create the customerClientLoad.st file with the response
suggesting to manually perform this step thus:

----

pharoClient image not updated --- update manually :: createPharoTodeClient
-c -v Pharo7.0 pharoClient
...finished :: createClient -c -v Pharo7.0 pharoClient
...finished :: createClient -t pharo pharoClient -v Pharo7.0

----

When running that command manually using

'./dev/todeClient/bin/createPharoTodeClient  -c -v Pharo7.0 pharoClient ' as
suggested I get:

----

pharoClient image not updated --- update manually :: createPharoTodeClient
-c -v Pharo7.0 pharoClient

----

Which is echoed from lines 268 to 273 of the script as thus:

----

268 else
269       if [ ! -e "$directoryPath/customClientLoad.st" ] ; then
270     echo $directoryPath
271       exit_0_banner "${imageName} image not updated --- update manually"
272     fi
273   fi

-----

So it seems that the customClientLoad script fails to write for some reason
(not perms I think?).


Thanks for your help!




--
Sent from: http://forum.world.st/GLASS-f1460844.html
_______________________________________________
Glass mailing list
[hidden email]
https://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: Installing GsDevKit on Debian 10 succeeds but create a Pharo 7 client fails

GLASS mailing list
Okay,

I sort of got this working, I think, by manually using the pharo command to
copy the clientTmp.image to the pharoClient.image.

Now I can launch a pharoClient.

I am at this point confused.  When creating the default tode client I get
all the gemstone libraries and tools.  The pharo 7 client is just that: A
Pharo 7 client.

Should not the Pharo 7 build option to create client give me Pharo 7 and
'and' the Gemstone packages?

It can't be what the customClientLoad.st file is supposed to do as when I
manually create it then run the commands as directed in the script I still
do not get the classes.

Confused?

This is not what I was expecting at all...



--
Sent from: http://forum.world.st/GLASS-f1460844.html
_______________________________________________
Glass mailing list
[hidden email]
https://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: Installing GsDevKit on Debian 10 succeeds but create a Pharo 7 client fails

GLASS mailing list

On 7/30/19 10:36 AM, ian via Glass wrote:

> Okay,
>
> I sort of got this working, I think, by manually using the pharo command to
> copy the clientTmp.image to the pharoClient.image.
>
> Now I can launch a pharoClient.
>
> I am at this point confused.  When creating the default tode client I get
> all the gemstone libraries and tools.  The pharo 7 client is just that: A
> Pharo 7 client.
>
> Should not the Pharo 7 build option to create client give me Pharo 7 and
> 'and' the Gemstone packages?
>
> It can't be what the customClientLoad.st file is supposed to do as when I
> manually create it then run the commands as directed in the script I still
> do not get the classes.
>
> Confused?
>
> This is not what I was expecting at all.

Sorry, Ian, The tODE tools only work in a Pharo3.0 client and it has not
been ported to Pharo7.0. The Pharo image changes faster than I can keep
up, since each release of Pharo seems to require a complete
re-implementation of the support code.

FWIW, the Pharo3.0 client works well for me on linux and I still use it
regularly ...

The non-tODE client creation was aimed at supporting Pharo clients in
which GemStone GCI applications had been created ... Over the years I
have had a handful of projects where I needed this capability ...

If you have an interest in helping to port tODE to Pharo7.0, I would be
willing to help you, but I don't have the cycles right now to take the
lead on this project...

I'm not quite sure what you mean by "Gemstone packages", If there is a
subset of tODE that you are interested in, then you should identify the
specific areas and we can talk about how hard it would be to get things
going in Pharo7.0.

For example if you are interested in using the GemStone GCI code, I did
start work on porting the GemStone GCI library to Pharo 7.0[1] ... I
intended to port the GemStone GCI code to the 64-bit version of Pharo7.0
but hit some snags with the FFI code and ran out of cycles... again if
you are willing to do some of the work on this, I can find the cycles to
help you move forward ... this work is a precursor to getting tODE
working on later versions of Pharo anyway:)

I will be at ESUG, so if you are planning on attending we should get
together and talk in more detail ... there will also be a GemStone BOF
that you should plan on attending ...

Dale

[1] https://github.com/GsDevKit/GemStone-GCI/issues/5

>
> --
> Sent from: http://forum.world.st/GLASS-f1460844.html
> _______________________________________________
> Glass mailing list
> [hidden email]
> https://lists.gemtalksystems.com/mailman/listinfo/glass
_______________________________________________
Glass mailing list
[hidden email]
https://lists.gemtalksystems.com/mailman/listinfo/glass