fully self-contained Linux VM

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

fully self-contained Linux VM

Peter Uhnak
Hi,

is it possible to have fully self-contained Linux VM?

Right now if you want to use Pharo on Linux you have to install some libraries directly in the system, which isn't particularly user-friendly.

I know that for example libcairo (needed by Roassal) has hard-coded library paths, but maybe this can be changed so the library can be in the zip.

Could something like that be done also for the remaining lib32 libraries required to run the VM?

Even if it had to be a special bundle for each linux distribution.

Thanks,
Peter
Reply | Threaded
Open this post in threaded view
|

Re: fully self-contained Linux VM

Nicolai Hess-3-2


2016-02-23 13:35 GMT+01:00 Peter Uhnák <[hidden email]>:
Hi,

is it possible to have fully self-contained Linux VM?

Right now if you want to use Pharo on Linux you have to install some libraries directly in the system, which isn't particularly user-friendly.

I know that for example libcairo (needed by Roassal) has hard-coded library paths, but maybe this can be changed so the library can be in the zip.

Could something like that be done also for the remaining lib32 libraries required to run the VM?

Even if it had to be a special bundle for each linux distribution.

If you have a 64Bit linux, you may to have include *a lot* of extra libraries.
libcairo (for  32Bit) alone is not enough. You need all the other 32Bit libraries, cairo depends on.

 

Thanks,
Peter

Reply | Threaded
Open this post in threaded view
|

Re: fully self-contained Linux VM

Stephan Eggermont-3
In reply to this post by Peter Uhnak
On 23-02-16 13:35, Peter Uhnák wrote:
> Could something like that be done also for the remaining lib32 libraries
> required to run the VM?

Sure. And then you need to release updates whenever one of the
underlying lib32 libraries changes. OpenSSL comes to mind.

Stephan




Reply | Threaded
Open this post in threaded view
|

Re: fully self-contained Linux VM

Peter Uhnak


On Tue, Feb 23, 2016 at 2:00 PM, Stephan Eggermont <[hidden email]> wrote:
On 23-02-16 13:35, Peter Uhnák wrote:
Could something like that be done also for the remaining lib32 libraries
required to run the VM?

Sure. And then you need to release updates whenever one of the underlying lib32 libraries changes. OpenSSL comes to mind.

But that would be true for windows & mac VMs, which unlike linux already are self-contained (including OpenSSL).

So I infer it should be possible with some minor changes. :)

Thanks,
Peter
Reply | Threaded
Open this post in threaded view
|

Re: fully self-contained Linux VM

Eliot Miranda-2
In reply to this post by Nicolai Hess-3-2


On Tue, Feb 23, 2016 at 4:42 AM, Nicolai Hess <[hidden email]> wrote:


2016-02-23 13:35 GMT+01:00 Peter Uhnák <[hidden email]>:
Hi,

is it possible to have fully self-contained Linux VM?

Right now if you want to use Pharo on Linux you have to install some libraries directly in the system, which isn't particularly user-friendly.

I know that for example libcairo (needed by Roassal) has hard-coded library paths, but maybe this can be changed so the library can be in the zip.

Could something like that be done also for the remaining lib32 libraries required to run the VM?

Even if it had to be a special bundle for each linux distribution.

If you have a 64Bit linux, you may to have include *a lot* of extra libraries.
libcairo (for  32Bit) alone is not enough. You need all the other 32Bit libraries, cairo depends on.

Not with the 64-bit VM ;-)
 

 

Thanks,
Peter




--
_,,,^..^,,,_
best, Eliot
Reply | Threaded
Open this post in threaded view
|

Re: fully self-contained Linux VM

EstebanLM

On 23 Feb 2016, at 19:05, Eliot Miranda <[hidden email]> wrote:



On Tue, Feb 23, 2016 at 4:42 AM, Nicolai Hess <[hidden email]> wrote:


2016-02-23 13:35 GMT+01:00 Peter Uhnák <[hidden email]>:
Hi,

is it possible to have fully self-contained Linux VM?

Right now if you want to use Pharo on Linux you have to install some libraries directly in the system, which isn't particularly user-friendly.

I know that for example libcairo (needed by Roassal) has hard-coded library paths, but maybe this can be changed so the library can be in the zip.

Could something like that be done also for the remaining lib32 libraries required to run the VM?

Even if it had to be a special bundle for each linux distribution.

If you have a 64Bit linux, you may to have include *a lot* of extra libraries.
libcairo (for  32Bit) alone is not enough. You need all the other 32Bit libraries, cairo depends on.

Not with the 64-bit VM ;-)

ans as far as I can foresee, 64bits vms/images will be ready in a couple of months… so do not despair :)

Esteban

 

 

Thanks,
Peter




--
_,,,^..^,,,_
best, Eliot

Reply | Threaded
Open this post in threaded view
|

Re: fully self-contained Linux VM

Damien Cassou-2
In reply to this post by Peter Uhnak
On February 23, 2016 1:35:48 PM GMT+01:00, "Peter Uhnák" <[hidden email]> wrote:
>Hi,
>
>is it possible to have fully self-contained Linux VM?
>
>Right now if you want to use Pharo on Linux you have to install some
>libraries directly in the system, which isn't particularly
>user-friendly.

On Linux, do it the Linux way and use a package manager. There are native packages for several distributions and if yours is not covered, you can still use Nix (which I really recommend in any cases).

--
Damien Cassou
http://damiencassou.seasidehosting.st

"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill