Login  Register

Re: Linux Install -- problems, but eventually successful

Posted by Andy Jones on Jul 26, 2015; 1:16pm
URL: https://forum.world.st/Linux-Install-problems-but-eventually-successful-tp4839294p4839487.html

If you read my original post, you'll see that I did, and it didn't work ;)

On Sun, Jul 26, 2015 at 1:00 PM, Mariano Martinez Peck
<[hidden email]> wrote:

> I guess you did install the 32 bits packages as explained in here:
> http://pharo.org/gnu-linux-installation#64-bit-System-Setup
>
> sudo dpkg --add-architecture i386
> sudo apt-get update
> sudo apt-get install ia32-libs
>
>
> On Sun, Jul 26, 2015 at 7:06 AM, Shadowfirebird <[hidden email]>
> wrote:
>>
>> Actually, no, because I assumed that there were broken dependancies in
>> Crunchbang and it wouldn't help.  Here goes...
>>
>> TL;DR: I just got tangled up in missing dependancies; I think this is
>> a #! problem. Thanks for the idea, though.
>>
>> Long version:
>>
>>     shadow@jenna[~/shadow/scratch/pharo4.0]%: ./pharo
>>     could not find module vm-display-X11
>>     [1]    4875 abort      ./pharo
>>
>>     (134) shadow@jenna[~/shadow/scratch/pharo4.0]%: cd bin
>>
>>     shadow@jenna[~/shadow/scratch/pharo4.0/bin]%: ldd vm-display-X11
>>             linux-gate.so.1 (0xf776e000)
>>             libpthread.so.0 => /lib32/libpthread.so.0 (0xf771d000)
>>             libGL.so.1 => not found
>>             libX11.so.6 => not found
>>             libc.so.6 => /lib32/libc.so.6 (0xf7572000)
>>             /lib/ld-linux.so.2 (0xf776f000)
>>
>> Well outside of my comfort zone here, but a quick web search suggests
>> I might want libgl1-mesa-glx or libgl1-mesa-swx11? Looking at Synaptic
>> I can see a libgl1-mesa-swx11-i686:i386, so let's try that?
>>
>>     (100) shadow@jenna[~/shadow/scratch/pharo4.0/bin]%: sudo apt-get
>> install libgl1-mesa-swx11-i686
>>     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:
>>      libgl1-mesa-swx11-i686:i386 : Depends: libgl1-mesa-swx11:i386 (=
>> 8.0.5-4+deb7u2) but it is not going to be installed
>>                                    Depends: libc6:i386 (>= 2.3.6-6~)
>> but it is not going to be installed
>>                                    Depends: libgcc1:i386 (>= 1:4.1.1)
>> but it is not going to be installed
>>                                    Depends: libstdc++6:i386 (>= 4.1.1)
>> but it is not going to be installed
>>                                    Depends: libx11-6:i386 but it is
>> not going to be installed
>>                                    Depends: libxext6:i386 but it is
>> not going to be installed
>>     E: Unable to correct problems, you have held broken packages.
>>
>> Okay. Hmm.  Maybe apt-get is failing to chain-install these dependancies?
>> Maybe?
>>
>>     (100) shadow@jenna[~/shadow/scratch/pharo4.0/bin]%: sudo apt-get
>> install libc6: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:
>>      libc6 : Depends: libgcc1 but it is not going to be installed
>>              Breaks: libc6:i386 (!= 2.19-13) but 2.13-38+deb7u8 is to
>> be installed
>>      libc6:i386 : Breaks: libc6 (!= 2.13-38+deb7u8) but 2.19-13 is to
>> be installed
>>      libcairo2 : Depends: libfontconfig1 (>= 2.9.0) but it is not
>> going to be installed
>>                  Depends: libfreetype6 (>= 2.3.5) but it is not going
>> to be installed
>>                  Depends: libpixman-1-0 (>= 0.21.6) but it is not
>> going to be installed
>>                  Depends: libpng12-0 (>= 1.2.13-4) but it is not going
>> to be installed
>>                  Depends: libxcb-render0 but it is not going to be
>> installed
>>                  Depends: libxcb-shm0 but it is not going to be installed
>>                  Depends: libxcb1 (>= 1.6) but it is not going to be
>> installed
>>                  Depends: libxrender1 but it is not going to be installed
>>      libcurl3-gnutls : Depends: libgcrypt11 (>= 1.4.5) but it is not
>> going to be installed
>>                        Depends: libgnutls26 (>= 2.12.17-0) but it is
>> not going to be installed
>>                        Depends: libgssapi-krb5-2 (>= 1.10+dfsg~) but
>> it is not going to be installed
>>                        Depends: libidn11 (>= 1.13) but it is not going
>> to be installed
>>                        Depends: libldap-2.4-2 (>= 2.4.7) but it is not
>> going to be installed
>>                        Depends: librtmp0 (>= 2.3) but it is not going
>> to be installed
>>                        Depends: libssh2-1 (>= 1.2.6) but it is not
>> going to be installed
>>                        Recommends: ca-certificates but it is not going
>> to be installed
>>      libdbus-glib-1-2 : Depends: libdbus-1-3 (>= 1.2.16) but it is not
>> going to be installed
>>      libglib2.0-0 : Depends: libffi5 (>= 3.0.4) but it is not going to
>> be installed
>>                     Depends: libpcre3 (>= 8.10) but it is not going to
>> be installed
>>                     Depends: libselinux1 (>= 1.32) but it is not going
>> to be installed
>>                     Recommends: shared-mime-info
>>      libimlib2 : Depends: libbz2-1.0 but it is not going to be installed
>>                  Depends: libfreetype6 (>= 2.2.1) but it is not going
>> to be installed
>>                  Depends: libgif4 (>= 4.1.4) but it is not going to be
>> installed
>>                  Depends: libid3tag0 (>= 0.15.1b) but it is not going
>> to be installed
>>                  Depends: libjpeg8 (>= 8c) but it is not going to be
>> installed
>>                  Depends: libpng12-0 (>= 1.2.13-4) but it is not going
>> to be installed
>>                  Depends: libtiff4 (> 3.9.5-3~) but it is not going to
>> be installed
>>      liblua5.1-0 : Depends: libgcc1 (>= 1:4.1.1) but it is not going
>> to be installed
>>                    Depends: libstdc++6 (>= 4.1.1) but it is not going
>> to be installed
>>      libruby1.8 : Depends: libgdbm3 (>= 1.8.3) but it is not going to
>> be installed
>>                   Depends: libreadline5 (>= 5.2) but it is not going
>> to be installed
>>                   Depends: libssl1.0.0 (>= 1.0.0) but it is not going
>> to be installed
>>      libx11-6 : Depends: libxcb1 (>= 1.2) but it is not going to be
>> installed
>>      libxft2 : Depends: libfontconfig1 (>= 2.9.0) but it is not going
>> to be installed
>>                Depends: libfreetype6 (>= 2.3.5) but it is not going to
>> be installed
>>                Depends: libxrender1 but it is not going to be installed
>>      libxml2 : Depends: liblzma5 (>= 5.1.1alpha+20120614) but it is
>> not going to be installed
>>                Recommends: xml-core but it is not going to be installed
>>     E: Error, pkgProblemResolver::Resolve generated breaks, this may
>> be caused by held packages.
>>     sudo apt-get install libc6:i386  19.22s user 0.12s system 99% cpu
>> 19.356 total
>>
>> ...Ooof.  Okay, giving up now. Thanks for the idea, though.
>>
>> On Sun, Jul 26, 2015 at 2:47 AM, Mariano Martinez Peck
>> <[hidden email]> wrote:
>> > Did you try doing a "ldd" over the VM executable file so that you can
>> > find
>> > the missing dependencies?
>> >
>> >
>> >
>> > On Sat, Jul 25, 2015 at 7:09 PM, Shadowfirebird
>> > <[hidden email]>
>> > wrote:
>> >>
>> >> Same problem. I'm afraid -- Crunchbang refuses to install
>> >> libasound2:i386
>> >> because it cannot fulfill the dependencies.
>> >>
>> >> On Sat, Jul 25, 2015 at 5:09 PM, Jimmie Houchin <[hidden email]>
>>
>> >> wrote:
>> >>>
>> >>> Hello,
>> >>>
>> >>> Welcome to Pharo and the Pharo community. Smalltalk/Pharo are
>> >>> exceptionally empowering tools. And getting better all the time.
>> >>>
>> >>> My apologies for your difficulties. I personally have not seen that
>> >>> page
>> >>> before as I already have scripts for installing all of the requisite
>> >>> libraries. This script has worked for me for years on Ubuntu or other
>> >>> Debian
>> >>> based distros. My favorite was Crunchbang.
>> >>>
>> >>> I did not originate this script but believe I started with I found
>> >>> years
>> >>> ago for either Debian or Ubuntu. I cleaned it up and added to it over
>> >>> time.
>> >>> It installs all the necessary libraries to my knowledge. Whether or
>> >>> not
>> >>> installs more than I need I do not know. All I do know is that after
>> >>> running
>> >>> the script Pharo runs perfectly.
>> >>>
>> >>> I copied all of this from my setup-pharo.sh  script.
>> >>> I run this script anytime I have a fresh Linux install.
>> >>> I then sudo -s and run the script.
>> >>>
>> >>> 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
>> >>>
>> >>> Hopefully this can help your experience with Pharo and/or Squeak.
>> >>>
>> >>> Jimmie
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> On 07/25/2015 09:54 AM, Shadowfirebird wrote:
>> >>>>
>> >>>> Hi all,
>> >>>>
>> >>>> I've been having trouble getting *any* sort of Smalltalk working on
>> >>>> Linux.  But ultimately I got Pharo (my first choice) working on
>> >>>> Debian
>> >>>> Jessie.
>> >>>>
>> >>>> It wasn't terribly hard in the end, but since the instructions at
>> >>>> http://pharo.org/gnu-linux-installation#64-bit-System-Setup seem to
>> >>>> be out
>>
>> >>>> of date, I thought it might be helpful to post something in case
>> >>>> those in
>> >>>> charge of that page would like to update.  Since there is no issue
>> >>>> tracker,
>> >>>> I assume this is a good a place as any.
>> >>>>
>> >>>>
>> >>>> ## Short Version ##
>> >>>>
>> >>>> * sudo dpkg --add-architecture i386
>> >>>> * sudo apt-get update
>> >>>> * sudo apt-get install lib32zl lib32ncurses5
>> >>>>
>> >>>> Note that there is no ia32-libs package on Jessie, as far as I can
>> >>>> tell.
>> >>>> (I have no idea whether you actually need to install lib32ncurses5,
>> >>>> but
>> >>>> those were what apt-get suggested, and it worked.)
>> >>>>
>> >>>> I do have a startup error -- "MessageNotUnderstood:
>> >>>> EmbeddedFreeTypeFontInstaller>>failedToOpen:Index:" -- but it doesn't
>> >>>> seem
>> >>>> to break anything.
>> >>>>
>> >>>>
>> >>>> ## Longer version / Rant ##
>> >>>>
>> >>>> Pharo turned out to be impossible on my netbook (where I would like
>> >>>> to
>> >>>> use it, sadly) because it is still running Crunchbang, which is
>> >>>> Debian Woody
>> >>>> under the hood. So in theory the fix from the 64bit install page
>> >>>> should
>> >>>> work.  It doesn't, though -- some sort of problem with #! I suppose
>> >>>>
>> >>>>     "The following packages have unmet dependacies:
>> >>>>         ia32-libs: Depends: ia32-libs-i386"
>> >>>>
>> >>>> Squeak, as downloaded from their site, has exactly the same problem.
>> >>>>
>> >>>> Pharo isn't in the Debian Repository, but an old version of the
>> >>>> Squeak
>> >>>> VM -- *just* the VM -- is.  (Not sure what the point of that is.)  It
>> >>>> doesn't work with the current Squeak image from the website. I did
>> >>>> eventually manage to get a compatible image ... via FTP.  Good grief.
>> >>>> (Good
>> >>>> enough to learn the ropes, I suppose.)
>> >>>>
>> >>>> I really didn't want to go the Gnu Smalltalk road, but in desperation
>> >>>> I
>> >>>> tried it. Under both Crunchbang and Debian Jessie, the gst-browser
>> >>>> package
>> >>>> falls over immediately when you start it, a great big error trace I
>> >>>> won't
>> >>>> bother to paste here.  These are packages in the *repository*. Is
>> >>>> no-one
>> >>>> maintaining them?
>> >>>>
>> >>>>
>> >>>> The point of this rant is to give context to the following:  thank
>> >>>> you.
>> >>>> Really, thank you, to the folks behind Pharo and everyone reading
>> >>>> this.
>> >>>>
>> >>>> This is the problem with FOSS: blink, and yesterday's rave technology
>> >>>> is
>> >>>> gone. And Smalltalk is *important* -- I'm not a Smalltalk programmer,
>> >>>> but
>> >>>> every time I play with it I learn so much about OOP, programming, and
>> >>>> good
>> >>>> design of classes.  And I keep coming back to try to work with it
>> >>>> again,
>> >>>> because it offers things I want and just can't get elsewhere.  The
>> >>>> idea that
>> >>>> Smalltalk might one day just ... not run? Not worth thinking about.
>> >>>>
>> >>>>
>> >>>> Okay, broke a cardinal rule here.  Apologies for joining a mailing
>> >>>> list
>> >>>> and then immediately posting a long rant.  Going to Lurk Mode now!
>> >>>>
>> >>>> Shadow.
>> >>>>
>> >>>>
>> >>>
>> >>>
>> >>
>> >>
>> >>
>> >> --
>> >> Look through time and find your rhyme / Tell us what you find / We will
>> >> wait at your gate / Hoping like the blind.
>> >
>> >
>> >
>> >
>> > --
>> > Mariano
>> > http://marianopeck.wordpress.com
>>
>>
>>
>> --
>> Look through time and find your rhyme / Tell us what you find / We
>> will wait at your gate / Hoping like the blind.
>>
>
>
>
> --
> Mariano
> http://marianopeck.wordpress.com



--
Look through time and find your rhyme / Tell us what you find / We
will wait at your gate / Hoping like the blind.