DevKit basic install question

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

DevKit basic install question

BrunoBB
Dale,

I have cloned the project in https://github.com/brunobuzzi/gsDevKitHome.

In order to install TODE the Linux needs a GUI system ? (in order to run Pharo)

I'm missing something in the installation process or in the TODE idea... :)

installServer devKit 3.2.1 >> this install GemStone in a Linux Server

Where is the client side in the installation process ?

My Centos has no GUI and i was able to run "installServer devKit 3.2.1".
GemStone was downloaded but after that :
/************************************************************************************/
Install Pharo
Installing Pharo
--2014-12-10 19:39:07--  http://get.pharo.org/vmLatest
Resolving get.pharo.org... 128.93.162.72
Connecting to get.pharo.org|128.93.162.72|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5351 (5.2K) [text/html]
Saving to: "STDOUT"

100%[======================================>] 5,351       --.-K/s   in 0s

2014-12-10 19:39:16 (49.2 MB/s) - written to stdout [5351/5351]

Downloading the latest pharoVM:
        http://files.pharo.org/vm/pharo/linux/latest.zip
/************************************************************************************/

But nothing happend...

Regards,
Bruno

Reply | Threaded
Open this post in threaded view
|

Re: [Glass] DevKit basic install question

GLASS mailing list
Hi Bruno,

As you know, the "client" side of tODE runs on top of a normal Pharo image. To install and run Pharo correctly in CentOS 6.5 I needed to install some extra packages:

sudo yum install libX11.i686 libX11-devel.i686 mesa-libGL.i686 mesa-libGL-devel.i686 mesa-libGL-devel-9.0-0.7.el6.i686 libX11-devel.i686 libXmu.i686




On Wed, Dec 10, 2014 at 9:05 PM, BrunoBB via Glass <[hidden email]> wrote:
Dale,

I have cloned the project in https://github.com/brunobuzzi/gsDevKitHome.

In order to install TODE the Linux needs a GUI system ? (in order to run
Pharo)

I'm missing something in the installation process or in the TODE idea... :)

installServer devKit 3.2.1 >> this install GemStone in a Linux Server

Where is the client side in the installation process ?

My Centos has no GUI and i was able to run "installServer devKit 3.2.1".
GemStone was downloaded but after that :
/************************************************************************************/
Install Pharo
Installing Pharo
--2014-12-10 19:39:07--  http://get.pharo.org/vmLatest
Resolving get.pharo.org... 128.93.162.72
Connecting to get.pharo.org|128.93.162.72|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5351 (5.2K) [text/html]
Saving to: "STDOUT"

100%[======================================>] 5,351       --.-K/s   in 0s

2014-12-10 19:39:16 (49.2 MB/s) - written to stdout [5351/5351]

Downloading the latest pharoVM:
        http://files.pharo.org/vm/pharo/linux/latest.zip
/************************************************************************************/

But nothing happend...

Regards,
Bruno





--
View this message in context: http://forum.world.st/DevKit-basic-install-question-tp4795378.html
Sent from the GLASS mailing list archive at Nabble.com.
_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass



--

_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: [Glass] DevKit basic install question

GLASS mailing list
Mariano and Bruno,

Well the pharo clients that run scripts are _supposed_ to run headless ... after everything is done in the installServer script does _start_ a headed(?) pharo, but that should only happen as the absolute last step ...

The GsDevKitHome install scripts are all tested on travis-ci which has no X GUI.... Here's part of the .travis.yml:

  - export GS_HOME="$(pwd)"
  - export PATH=$GS_HOME/bin:$PATH
  - export GS_TRAVIS=true
  - sudo apt-get update -qq
  - sudo apt-get -y install libpam0g:i386
  - sudo ln -s /lib/i386-linux-gnu/libpam.so.0 /lib/libpam.so.0
  - sudo apt-get install -qq gcc-multilib libcurl3:i386 libstdc++6:i386
  - sudo ln -s /usr/lib/i386-linux-gnu/libstdc++.so.6 /usr/lib/i386-linux-gnu/libstdc++.so

travis runs on Ubuntu I believe .... but _i_ don't install any x libraries ... when Pharo downloads it does try to do some stuff and that is the point in the script where things are hanging up ...

Here's the relevant bash script for downloading pharo:

if [ "${GS_TRAVIS}x" = "x" ] ; then
  wget -O- get.pharo.org/vmLatest | bash
else
  # running on travis server
  wget -O- get.pharo.org/travis+vmLatest | bash
fi
wget -O- get.pharo.org/stable | bash

Could you try each of the wget expressions individually to see which expression is hanging? If the travis download does not hang, you can try setting GS_TRAVIS to true and running the installServer script again (it is supposed to skip steps already done):

  export GS_TRAVIS=true

if it skips the pharo download altogether try `git reset --hard` to restart with a clean slate.

Dale

On Wed, Dec 10, 2014 at 4:37 PM, Mariano Martinez Peck via Glass <[hidden email]> wrote:
Hi Bruno,

As you know, the "client" side of tODE runs on top of a normal Pharo image. To install and run Pharo correctly in CentOS 6.5 I needed to install some extra packages:

sudo yum install libX11.i686 libX11-devel.i686 mesa-libGL.i686 mesa-libGL-devel.i686 mesa-libGL-devel-9.0-0.7.el6.i686 libX11-devel.i686 libXmu.i686




On Wed, Dec 10, 2014 at 9:05 PM, BrunoBB via Glass <[hidden email]> wrote:
Dale,

I have cloned the project in https://github.com/brunobuzzi/gsDevKitHome.

In order to install TODE the Linux needs a GUI system ? (in order to run
Pharo)

I'm missing something in the installation process or in the TODE idea... :)

installServer devKit 3.2.1 >> this install GemStone in a Linux Server

Where is the client side in the installation process ?

My Centos has no GUI and i was able to run "installServer devKit 3.2.1".
GemStone was downloaded but after that :
/************************************************************************************/
Install Pharo
Installing Pharo
--2014-12-10 19:39:07--  http://get.pharo.org/vmLatest
Resolving get.pharo.org... 128.93.162.72
Connecting to get.pharo.org|128.93.162.72|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5351 (5.2K) [text/html]
Saving to: "STDOUT"

100%[======================================>] 5,351       --.-K/s   in 0s

2014-12-10 19:39:16 (49.2 MB/s) - written to stdout [5351/5351]

Downloading the latest pharoVM:
        http://files.pharo.org/vm/pharo/linux/latest.zip
/************************************************************************************/

But nothing happend...

Regards,
Bruno





--
View this message in context: http://forum.world.st/DevKit-basic-install-question-tp4795378.html
Sent from the GLASS mailing list archive at Nabble.com.
_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass



--

_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass



_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: [Glass] DevKit basic install question

BrunoBB
Dale,

Finally i went through the installation process with Ubuntu 14.04.

A couple of question:
* I have couple of minor corrections to "https://github.com/GsDevKit/gsDevKitHome/issues/22", do you want to comment this in the issue page directly ?

* At the end of the process no GUI startup, the last message i got:
"aText for '[173821185 sz:9 TDObjectGatewayNode] /home/'bruno@ubuntu:~/gsDevKitBruno"

I should try to open up the GUI ? or try to connect from a remote client ?

Otherthing is that gslist command is not found.

Regards,
Bruno
Reply | Threaded
Open this post in threaded view
|

Re: [Glass] DevKit basic install question

GLASS mailing list


On Fri, Dec 12, 2014 at 10:32 AM, BrunoBB via Glass <[hidden email]> wrote:
Dale,

Finally i went through the installation process with Ubuntu 14.04.

A couple of question:
* I have couple of minor corrections to
"https://github.com/GsDevKit/gsDevKitHome/issues/22", do you want to comment
this in the issue page directly ?
 
Yes, please...
 

* At the end of the process no GUI startup, the last message i got:
"aText for '[173821185 sz:9 TDObjectGatewayNode]
/home/'bruno@ubuntu:~/gsDevKitBruno"

If you have the GS_TRAVIS env var set, the you should have seen a  message "skipping $GS_HOME/bin/todeClient" .. I guess I need more of the output to get some context...


I should try to open up the GUI ? or try to connect from a remote client ?
 
If you have X installed on the server, then you can run `todeClient` on the server. If you have X and ssh installed, you can `ssh -X` into the server and when you run `todeClient` on the server, tODE will come up on your local server ... If you on on a LAN the performance of X should be acceptable ... if the server is located over a WAN, then you will want to connect a remote client .... in this case you will want to keep your gsDevKitHome checkins in synch (you'll share the $GS_HOME/tode/client directory primarily).


Otherthing is that gslist command is not found.


In order to run gslist, you need to have a $GEMSTONE/bin in your path and you get that by doing something like `source $GS_HOME/gemstone/stones/<stone-name>/defStone.env`.

It looks like thoughtpolice have a few CentOs vms available, so I don't have any excuses for now trying things out on CenTos, but it seems that you're going with Ubuntu now?

[1] http://www.thoughtpolice.co.uk/

Dale

_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: [Glass] DevKit basic install question

GLASS mailing list
Bruno,

I'm currently running through the startup sequence on a ubunut12.04 (for Dario) with X and see that indeed the successful script completion ends with:

Bulk migrate of 0 candidate classes
    No instance migrations performed.[12/12/2014 19:09:10.134 UTC]
  gci login: currSession 1 rpc gem processId 2424 OOB keep-alive interval 0

---Starting backup to '/home/notroot/gsDevKitHome/gemstone/stones/Dario/backups//tode.dbf' (12/12/2014 11:09:10)
---Finished backup to 12/12/2014 11:09:11 -- tode.dbf
---Starting backup to '/home/notroot/gsDevKitHome/gemstone/stones/Dario/backups//home.dbf' (12/12/2014 11:09:11)
---Finished backup to 12/12/2014 11:09:18 -- home.dbf
a Text for '[176463617 sz:9 TDObjectGatewayNode] /home/'

And I've submitted a bug[1] to improve thescript finished  message ... as ther is no script finished message:)

Dale

On Fri, Dec 12, 2014 at 11:00 AM, Dale Henrichs <[hidden email]> wrote:


On Fri, Dec 12, 2014 at 10:32 AM, BrunoBB via Glass <[hidden email]> wrote:
Dale,

Finally i went through the installation process with Ubuntu 14.04.

A couple of question:
* I have couple of minor corrections to
"https://github.com/GsDevKit/gsDevKitHome/issues/22", do you want to comment
this in the issue page directly ?
 
Yes, please...
 

* At the end of the process no GUI startup, the last message i got:
"aText for '[173821185 sz:9 TDObjectGatewayNode]
/home/'bruno@ubuntu:~/gsDevKitBruno"

If you have the GS_TRAVIS env var set, the you should have seen a  message "skipping $GS_HOME/bin/todeClient" .. I guess I need more of the output to get some context...


I should try to open up the GUI ? or try to connect from a remote client ?
 
If you have X installed on the server, then you can run `todeClient` on the server. If you have X and ssh installed, you can `ssh -X` into the server and when you run `todeClient` on the server, tODE will come up on your local server ... If you on on a LAN the performance of X should be acceptable ... if the server is located over a WAN, then you will want to connect a remote client .... in this case you will want to keep your gsDevKitHome checkins in synch (you'll share the $GS_HOME/tode/client directory primarily).


Otherthing is that gslist command is not found.


In order to run gslist, you need to have a $GEMSTONE/bin in your path and you get that by doing something like `source $GS_HOME/gemstone/stones/<stone-name>/defStone.env`.

It looks like thoughtpolice have a few CentOs vms available, so I don't have any excuses for now trying things out on CenTos, but it seems that you're going with Ubuntu now?

[1] http://www.thoughtpolice.co.uk/

Dale


_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: [Glass] DevKit basic install question

BrunoBB
In reply to this post by GLASS mailing list
>> It looks like thoughtpolice have a few CentOs vms available, so I don't have any excuses for now trying things out on CenTos, but it seems that you're going with Ubuntu now?

Actually i'm try to figure out what Linux is better for me. At my work we have Centos but some of my colleagues at work are saying that Ubuntu should be my choise.

So i'll be playing with some Linux VM in order to select one of them.

To be honest Centos installer (yum) i do not like it.

Regards,
Bruno
Reply | Threaded
Open this post in threaded view
|

Re: [Glass] DevKit basic install question

BrunoBB
Hi,

I was able to run tODE in Ubuntu 14.04:
script:
Install some Ubuntu packages:
sudo apt-get -y install git
sudo apt-get -y install curl
sudo apt-get -y install libssl1.0.0:i386
sudo apt-get -y install libpam0g:i386
sudo apt-get -y install gcc-multilib libstdc++6:i386
sudo apt-get -y install unzip
sudo ln -s /usr/lib/i386-linux-gnu/libstdc++.so.6 /usr/lib/i386-linux-gnu/libstdc++.so
sudo apt-get -y install libx11-6:i386
sudo apt-get -y install libcgmanager0:i386
sudo apt-get -y install libudev1:i386
sudo apt-get -y install libgl1-mesa-glx:i386
sudo apt-get -y install libgl1-mesa-dev:i386

Clone github (this is my fork at github):
git clone https://github.com/brunobuzzi/gsDevKitBruno.git
cd gsDevKitBruno
git checkout -b  gsDevKitBruno

cd gsDevKitBruno
export GS_HOME=/home/bruno/gsDevKitBruno
export PATH=$GS_HOME/bin:$PATH

installServer devKit 3.2.1

Popus tODE.

Excellent work Dale !!!

Regards,
Bruno