Hi Guillermo,

On 13 March 2017 at 10:02, Guillermo Polito <guillermopol...@gmail.com> wrote:
>> After loading libc6, a couple of missing packages and adding a couple of
>> i386 paths to LD_LIBRARY_PATH it's all working.
>
> I put all these in the dependencies of the snap. Probably we need to put
> some of them (or all of them) also as runtime dependencies. I thought that
> it was done automatically because of the tests I did. Of course these tests
> were not enough :).
>
> "gcc-multilib",
> "libssl-dev:i386","libssl1.0.0:i386","libfreetype6-dev:i386","libasound2-dev:i386","libsm-dev:i386","libgl1-mesa-dev:i386","libx11-dev:i386","libice-dev:i386"
>
> I noticed some days ago that the packaged VM did not contain freetype, so
> there is something probably related.
>
> I'd like to enhance this package.

You can see my version at: https://github.com/akgrant43/pharo-snap

Rather than build from source, I've opted to use pre-built vmLatest60
(I was testing it for Esteban).  I'm planning to change this to 60+vm
and add an option to put a clean image in the working directory.

When I built your package it gave warnings about the plugins being
deprecated.  I've used the make plugin to download and stage the
binaries.

The list of packages I'm currently loading (staging) is:

        - gcc-multilib
        - libx11-6:i386
        - libgl1-mesa-glx:i386
        - libfontconfig1:i386
        - libssl1.0.0:i386
        - libcairo2-dev:i386
        - libc6-i386
        - libexpat1:i386
        - libsqlite3-dev:i386

This appears to be mostly working, I've loaded and used OSSubprocess,
Glorp and the sqlite3 drivers without any problems.  Listening for web
requests using Zinc is also working.

Cairo isn't working yet.  It looks like CairoLibrary makes assumptions
about the location of libcairo.so.  I'm in the middle of fixing that
at the moment.

Feel free to try building it, but it definitely needs some tidying up,
e.g. get Cairo working, add documentation, etc.

Cheers,
Alistair

Reply via email to