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:
Igor,

I have this script:

https://gist.github.com/ThierryGoubier/3dbef94a959f4f8acb19

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 <[email protected] <mailto:[email protected]>>:



    On 22 November 2016 at 15:06, David T. Lewis <[email protected]
    <mailto:[email protected]>> 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 via email to