Running on Ubuntu?

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

Re: Running on Ubuntu?

EstebanLM

On 22 Nov 2016, at 15:37, Thierry Goubier <[hidden email]> wrote:



2016-11-22 15:33 GMT+01:00 Igor Stasenko <[hidden email]>:
VM now runs, thanks everyone for your attention..
i wish it would install (or report missing requirements) correctly by itself

We would need a 0install(*) script for that.

I think more this: 

but being completely ignorant on the matter, any attempt I made to understand it, failed :)

So if someone wants to help… would be supercool.

Esteban





On 22 November 2016 at 16:30, Igor Stasenko <[hidden email]> wrote:


On 22 November 2016 at 16:24, Thierry Goubier <[hidden email]> wrote:
Now, I would suggest, if you don't have any need FFI-related (no Athens, Roassal, bloc, etc...), use the 64 bits version: runs without installing anything on a large variety of Linuxes.


nvm, it seems i installed it somehow:
- installed aptitude
- pressed something there on required lib and it done something (uninstalled shomething/shuffled something/installed something)
and after that i were able to run
apt get install  libgl1-mesa-glx:i386
without problems 
:)
 
Thierry


2016-11-22 15:00 GMT+01:00 Igor Stasenko <[hidden email]>:


On 22 November 2016 at 15:06, David T. Lewis <[hidden email]> wrote:
On Tue, Nov 22, 2016 at 12:19:30PM +0200, Igor Stasenko wrote:
> ldd vm-display-X11
> linux-gate.so.1 =>  (0xf77fd000)
> libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf7799000)
> libGL.so.1 => not found
> libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xf7664000)
> libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf74b5000)
> /lib/ld-linux.so.2 (0x5664e000)
> libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xf7493000)
> libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf748e000)
> libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xf748a000)
> libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xf7482000)
>
>
> seems like i have everyting already except libgl...
> any ideas what package providing it?
>

After some trial and error, this is what I ended up installing on my Ubuntu system:

  sudo apt-get install libgl1-mesa-dri-lts-utopic:i386
  sudo apt-get install libgl1-mesa-glx-lts-utopic:i386
  sudo apt-get install mesa-common-dev

Dave

meh..

 sudo apt-get install libgl1-mesa-dri-lts-utopic:i386
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 qtdeclarative5-qtfeedback-plugin : Depends: libqt5feedback5 but it is not going to be installed
 unity-control-center : Depends: libcheese-gtk23 (>= 3.4.0) but it is not going to be installed
                        Depends: libcheese7 (>= 3.0.1) but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
 
:(


--
Best regards,
Igor Stasenko.




--
Best regards,
Igor Stasenko.



--
Best regards,
Igor Stasenko.


Reply | Threaded
Open this post in threaded view
|

Re: Running on Ubuntu?

Thierry Goubier


2016-11-22 15:52 GMT+01:00 Esteban Lorenzano <[hidden email]>:

On 22 Nov 2016, at 15:37, Thierry Goubier <[hidden email]> wrote:



2016-11-22 15:33 GMT+01:00 Igor Stasenko <[hidden email]>:
VM now runs, thanks everyone for your attention..
i wish it would install (or report missing requirements) correctly by itself

We would need a 0install(*) script for that.

I think more this: 

They are complementary. There is a note about 0install using OBS for 0compile (compiling on OBS instead of compiling locally). 0install, I think, can download and install binary packages (that have to be relocatable).

Thierry
 

but being completely ignorant on the matter, any attempt I made to understand it, failed :)

So if someone wants to help… would be supercool.

Esteban





On 22 November 2016 at 16:30, Igor Stasenko <[hidden email]> wrote:


On 22 November 2016 at 16:24, Thierry Goubier <[hidden email]> wrote:
Now, I would suggest, if you don't have any need FFI-related (no Athens, Roassal, bloc, etc...), use the 64 bits version: runs without installing anything on a large variety of Linuxes.


nvm, it seems i installed it somehow:
- installed aptitude
- pressed something there on required lib and it done something (uninstalled shomething/shuffled something/installed something)
and after that i were able to run
apt get install  libgl1-mesa-glx:i386
without problems 
:)
 
Thierry


2016-11-22 15:00 GMT+01:00 Igor Stasenko <[hidden email]>:


On 22 November 2016 at 15:06, David T. Lewis <[hidden email]> wrote:
On Tue, Nov 22, 2016 at 12:19:30PM +0200, Igor Stasenko wrote:
> ldd vm-display-X11
> linux-gate.so.1 =>  (0xf77fd000)
> libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf7799000)
> libGL.so.1 => not found
> libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xf7664000)
> libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf74b5000)
> /lib/ld-linux.so.2 (0x5664e000)
> libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xf7493000)
> libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf748e000)
> libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xf748a000)
> libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xf7482000)
>
>
> seems like i have everyting already except libgl...
> any ideas what package providing it?
>

After some trial and error, this is what I ended up installing on my Ubuntu system:

  sudo apt-get install libgl1-mesa-dri-lts-utopic:i386
  sudo apt-get install libgl1-mesa-glx-lts-utopic:i386
  sudo apt-get install mesa-common-dev

Dave

meh..

 sudo apt-get install libgl1-mesa-dri-lts-utopic:i386
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 qtdeclarative5-qtfeedback-plugin : Depends: libqt5feedback5 but it is not going to be installed
 unity-control-center : Depends: libcheese-gtk23 (>= 3.4.0) but it is not going to be installed
                        Depends: libcheese7 (>= 3.0.1) but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
 
:(


--
Best regards,
Igor Stasenko.




--
Best regards,
Igor Stasenko.



--
Best regards,
Igor Stasenko.



Reply | Threaded
Open this post in threaded view
|

Re: Running on Ubuntu?

Jimmie Houchin-5
In reply to this post by Thierry Goubier

Here is the script I have used for years.

I am currently running it on 16.04.

I have not compared it to Thierry's.

I have this in a file setup-pharo.sh

I make it executable and the sudo setup-pharo.sh


# ARGUMENT HANDLING =============================================================
if { [ "$1" = "-h" ] || [ "$1" = "--help" ]; }; then
    echo "Install libraries required to run Pharo.
"
    exit 0;
elif [ $# -gt 0 ]; then
    echo "--help/-h is the only argument allowed"
    exit 1;
fi

dpkg --add-architecture i386
apt-get update

apt-get --yes install cmake zip bash-completion ruby git xz-utils debhelper devscripts
apt-get --yes install libc6-dev:i386 libasound2:i386 libasound2-dev:i386 libasound2-plugins:i386
apt-get --yes install libssl-dev:i386 libssl1.0.0:i386 libssh2-1:i386 libfreetype6-dev:i386 libx11-dev:i386 libsm-dev:i386 libice-dev:i386
apt-get --yes install build-essential gcc-multilib g++
apt-get --yes install libgl1-mesa-dev:i386 libgl1-mesa-glx:i386


#Esteban Lorenzano says this is the minimum
#test this

#apt-get -qq install libc6:i386
#apt-get -qq install libuuid1:i386
#apt-get -qq install libkrb5-3:i386 libk5crypto3:i386 zlib1g:i386 libcomerr2:i386 libkrb5support0:i386 libkeyutils1:i386
#apt-get -qq install libssl1.0.0:i386
#apt-get -qq install libfreetype6:i386



Jimmie Houchin




On 11/22/2016 08:24 AM, Thierry Goubier wrote:
Now, I would suggest, if you don't have any need FFI-related (no Athens, Roassal, bloc, etc...), use the 64 bits version: runs without installing anything on a large variety of Linuxes.

Thierry

2016-11-22 15:00 GMT+01:00 Igor Stasenko <[hidden email]>:


On 22 November 2016 at 15:06, David T. Lewis <[hidden email]> wrote:
On Tue, Nov 22, 2016 at 12:19:30PM +0200, Igor Stasenko wrote:
> ldd vm-display-X11
> linux-gate.so.1 =>  (0xf77fd000)
> libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf7799000)
> libGL.so.1 => not found
> libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xf7664000)
> libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf74b5000)
> /lib/ld-linux.so.2 (0x5664e000)
> libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xf7493000)
> libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf748e000)
> libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xf748a000)
> libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xf7482000)
>
>
> seems like i have everyting already except libgl...
> any ideas what package providing it?
>

After some trial and error, this is what I ended up installing on my Ubuntu system:

  sudo apt-get install libgl1-mesa-dri-lts-utopic:i386
  sudo apt-get install libgl1-mesa-glx-lts-utopic:i386
  sudo apt-get install mesa-common-dev

Dave

meh..

 sudo apt-get install libgl1-mesa-dri-lts-utopic:i386
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 qtdeclarative5-qtfeedback-plugin : Depends: libqt5feedback5 but it is not going to be installed
 unity-control-center : Depends: libcheese-gtk23 (>= 3.4.0) but it is not going to be installed
                        Depends: libcheese7 (>= 3.0.1) but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
 
:(


--
Best regards,
Igor Stasenko.


Reply | Threaded
Open this post in threaded view
|

Re: Running on Ubuntu?

Igor Stasenko
In reply to this post by Sven Van Caekenberghe-2


On 22 November 2016 at 16:50, Sven Van Caekenberghe <[hidden email]> wrote:
Igor,

For future reference,

> On 22 Nov 2016, at 11:17, Sven Van Caekenberghe <[hidden email]> wrote:
>
> (this is what I use for headless)
>
> sudo dpkg --add-architecture i386
> sudo apt-get update
> sudo apt-get install libc6:i386
> sudo apt-get install libssl1.0.0:i386
> sudo apt-get install libfreetype6:i386

On a fresh Ubuntu 16.04.1 LTS 64-bit I did the above

> (you might need more for full UI)

And then just one other install

 sudo apt-get install libgl1-mesa-glx:i386

which installed lots of dependencies.

After that I was able to run the download

 get.pharo.org/60+vm

in UI mode (using pharo-ui).

Sven

ohh.. wait 6.0 is on the sight.. and i was mangling with 5.0.. 
yeah, that explains why it needs 32-bit libs and all that mess  :)


--
Best regards,
Igor Stasenko.
Reply | Threaded
Open this post in threaded view
|

Re: Running on Ubuntu?

Chris Muller-3
Hey Igor, I was just messing around with this the other day; Levente
had the tersest incantation which worked on my fresh 14.04.4 install:

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libuuid1:i386 libglu1-mesa:i386 libsm6:i386

(Documented at http://wiki.squeak.org/squeak/6134).

On Tue, Nov 22, 2016 at 10:46 AM, Igor Stasenko <[hidden email]> wrote:

>
>
> On 22 November 2016 at 16:50, Sven Van Caekenberghe <[hidden email]> wrote:
>>
>> Igor,
>>
>> For future reference,
>>
>> > On 22 Nov 2016, at 11:17, Sven Van Caekenberghe <[hidden email]> wrote:
>> >
>> > (this is what I use for headless)
>> >
>> > sudo dpkg --add-architecture i386
>> > sudo apt-get update
>> > sudo apt-get install libc6:i386
>> > sudo apt-get install libssl1.0.0:i386
>> > sudo apt-get install libfreetype6:i386
>>
>> On a fresh Ubuntu 16.04.1 LTS 64-bit I did the above
>>
>> > (you might need more for full UI)
>>
>> And then just one other install
>>
>>  sudo apt-get install libgl1-mesa-glx:i386
>>
>> which installed lots of dependencies.
>>
>> After that I was able to run the download
>>
>>  get.pharo.org/60+vm
>>
>> in UI mode (using pharo-ui).
>>
>> Sven
>>
> ohh.. wait 6.0 is on the sight.. and i was mangling with 5.0..
> yeah, that explains why it needs 32-bit libs and all that mess  :)
>
>
> --
> Best regards,
> Igor Stasenko.

Reply | Threaded
Open this post in threaded view
|

Re: Running on Ubuntu?

Igor Stasenko


On 24 November 2016 at 04:43, Chris Muller <[hidden email]> wrote:
Hey Igor, I was just messing around with this the other day; Levente
had the tersest incantation which worked on my fresh 14.04.4 install:

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libuuid1:i386 libglu1-mesa:i386 libsm6:i386

(Documented at http://wiki.squeak.org/squeak/6134).


yeah... if its fresh.. but i guess my problem was that there was something installed, that were blocking
clean installation of above libs due  to conflicting dependencies.
anyways, this is not critical for my current needs.
Thanks for attention.
 
On Tue, Nov 22, 2016 at 10:46 AM, Igor Stasenko <[hidden email]> wrote:
>
>
> On 22 November 2016 at 16:50, Sven Van Caekenberghe <[hidden email]> wrote:
>>
>> Igor,
>>
>> For future reference,
>>
>> > On 22 Nov 2016, at 11:17, Sven Van Caekenberghe <[hidden email]> wrote:
>> >
>> > (this is what I use for headless)
>> >
>> > sudo dpkg --add-architecture i386
>> > sudo apt-get update
>> > sudo apt-get install libc6:i386
>> > sudo apt-get install libssl1.0.0:i386
>> > sudo apt-get install libfreetype6:i386
>>
>> On a fresh Ubuntu 16.04.1 LTS 64-bit I did the above
>>
>> > (you might need more for full UI)
>>
>> And then just one other install
>>
>>  sudo apt-get install libgl1-mesa-glx:i386
>>
>> which installed lots of dependencies.
>>
>> After that I was able to run the download
>>
>>  get.pharo.org/60+vm
>>
>> in UI mode (using pharo-ui).
>>
>> Sven
>>
> ohh.. wait 6.0 is on the sight.. and i was mangling with 5.0..
> yeah, that explains why it needs 32-bit libs and all that mess  :)
>
>
> --
> Best regards,
> Igor Stasenko.




--
Best regards,
Igor Stasenko.
Reply | Threaded
Open this post in threaded view
|

Re: Running on Ubuntu?

Milan Vavra
In reply to this post by Igor Stasenko
Shameless plug:
To run 32bit Pharo 5.0 on 64bit Ubuntu 16.04 find detailed instructions here:

https://milanvavra.wordpress.com/2016/08/12/pharo-5-0-running-on-64bit-ubuntu-16-04/

Best Regards,

Milan Vavra
12