<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    My apologies for being rash, but the OS stopped booting and other
    issues, I bailed on 64-bit and have been rebuilding the 32-bit I've
    reinstalled. I may attempt to install 64-bit into a resized
    partition, this time, or I may not. I am not sure yet. Sorry to have
    bailed on fixing a found issue with you.<br>
    <br>
    Regards,<br>
    Robert<br>
    <br>
    <div class="moz-cite-prefix">On 10/21/2015 02:14 AM, Clément Bera
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAJrdCbXUf8hskoqmCAC66Ji9C7fRNY3ySEf67puOQCbx1zZmJQ@mail.gmail.com"
      type="cite">
      <pre wrap=""> </pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <div dir="ltr"><br>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">2015-10-21 3:20 GMT+02:00 Robert
            Withers <span dir="ltr">&lt;<a moz-do-not-send="true"
                href="mailto:robert.w.withers@gmail.com" target="_blank">robert.w.withers@gmail.com</a>&gt;</span>:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex"> <br>
              <div text="#000000" bgcolor="#FFFFFF"> I am terribly
                sorry, Clément, I thought there was a 64-bit vm build
                that used 32-bit object memory and I was magically
                trying to build it. Yes, I was under the assumption that
                some sort of 64-bit VM would be built when I installed
                on a 64-bit machine. I still think it wise to go to
                64-bit on the OS, so I can build and run 64-bit VMs,
                when it's time.<br>
                <br>
                Thanks for these commands, so helpful to me. In your 4th
                step I had to add libglapi-mesa:i386 as a dependency. I
                am adding these to my install notes.<br>
                <br>
                I am now getting these errors. I followed the
                instructions for changing proirity in the README, but
                this did not help. I saw this mentioned recently but an
                email search didn't turn up anything. Any words on this
                would be appreciated.<br>
                <br>
                Regards,<br>
                Robert<br>
                <br>
                rabbit@callisto:~/warren/cog/image$
                ./buildspurtrunkvmmakerimage.sh <br>
                cogspurlinuxht/squeak trunk50.image
                UpdateSqueakTrunkImage.st<br>
                pthread_setschedparam failed: Operation not permitted<br>
                Read e.g. <a moz-do-not-send="true"
                  href="http://www.mirandabanda.org/files/Cog/VM/VM.r3427/README.3427"
                  target="_blank">http://www.mirandabanda.org/files/Cog/VM/VM.r3427/README.3427</a><br>
                cogspurlinuxht/squeak SpurVMMaker.image
                BuildSqueakSpurTrunkVMMakerImage.st<br>
                pthread_setschedparam failed: Operation not permitted<br>
                Read e.g. <a moz-do-not-send="true"
                  href="http://www.mirandabanda.org/files/Cog/VM/VM.r3427/README.3427"
                  target="_blank">http://www.mirandabanda.org/files/Cog/VM/VM.r3427/README.3427</a><br>
                <br>
                <br>
              </div>
            </blockquote>
            <div><br>
            </div>
            <div>Hello,</div>
            <div><br>
            </div>
            <div>I can think of two bugs related to your error:</div>
            <div>- you are building the VM with the incorrect heartbeat
              for your OS (try building in the build.itimerheartbeat
              folder instead of build folder)</div>
            <div>- you need to run the VM in sudo mode for the VM
              profiler</div>
            <div><br>
            </div>
            <div>What does the VM say when you try to run it in sudo
              mode ? Not that it's a long term solution but at least we
              can try to figure the problem out.</div>
            <div><br>
            </div>
            <div>Best</div>
            <div><br>
            </div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div text="#000000" bgcolor="#FFFFFF"> <br>
                <br>
                <div>On 10/20/2015 07:43 AM, Clément Bera wrote:<br>
                </div>
                <blockquote type="cite">
                  <pre> </pre>
                  <br>
                  <fieldset></fieldset>
                  <br>
                  <div dir="ltr">It would have worked on a 32 bits
                    Ubuntu I guess. It looks like you miss the 32 bits
                    libraries.
                    <div><br>
                    </div>
                    <div>I do the same process as yours but here is my
                      step 2:</div>
                    <div><br>
                    </div>
                    <div>
                      <div style="font-size:13px"><font face="monospace,
                          monospace">sudo apt-get install cmake zip
                          bash-completion ruby git xz-utils debhelper
                          devscripts</font></div>
                      <div style="font-size:13px"><font face="monospace,
                          monospace">sudo apt-get install libc6-dev:i386
                          libasound2:i386 libasound2-dev:i386
                          libasound2-plugins:i386 libssl-dev:i386
                          libssl0.9.8:i386 libfreetype6-dev:i386
                          libx11-dev:i386 libsm-dev:i386 libice-dev:i386</font></div>
                      <div style="font-size:13px"><font face="monospace,
                          monospace">sudo apt-get install
                          build-essential gcc-multilib g++</font></div>
                      <div style="font-size:13px"><font face="monospace,
                          monospace">sudo apt-get install
                          libgl1-mesa-dev libgl1-mesa-glx:i386</font></div>
                      <div style="font-size:13px"><font face="monospace,
                          monospace">sudo apt-get install binutils:i386
                          g++-4.6:i386 gcc-4.6:i386</font></div>
                      <div style="font-size:13px"><font face="monospace,
                          monospace">sudo ln -s
                          /usr/lib/i386-linux-gnu/mesa/libGL.so
                          /usr/lib/i386-linux-gnu/libGL.so</font></div>
                      <div style="font-size:13px"><font face="monospace,
                          monospace">sudo ln -s
                          /usr/lib/i386-linux-gnu/mesa/libGL.so.1
                          /usr/lib/i386-linux-gnu/mesa/libGL.so</font></div>
                      <div style="font-size:13px"><font face="monospace,
                          monospace">sudo apt-get install uuid-dev:i386</font></div>
                      <div style="font-size:13px"><font face="monospace,
                          monospace">sudo apt-get install subversion</font></div>
                    </div>
                    <div style="font-size:13px"><font face="monospace,
                        monospace"><br>
                      </font></div>
                    <div style="font-size:13px">Some installations are
                      used for the Cog builds, other for the Pharo
                      builds. I've never remembered which step is for
                      which VM build as I build both. With this script I
                      can build both, though I have always compiled the
                      Cog branch on a 32 bits Ubuntu.</div>
                    <div style="font-size:13px"><br>
                    </div>
                    <div style="font-size:13px">Best,</div>
                    <div style="font-size:13px"><br>
                    </div>
                  </div>
                  <div class="gmail_extra"><br>
                    <div class="gmail_quote">2015-10-20 8:40 GMT+02:00
                      Robert Withers <span dir="ltr">&lt;<a
                          moz-do-not-send="true"
                          href="mailto:robert.w.withers@gmail.com"
                          target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:robert.w.withers@gmail.com">robert.w.withers@gmail.com</a></a>&gt;</span>:<br>
                      <blockquote class="gmail_quote" style="margin:0 0
                        0 .8ex;border-left:1px #ccc
                        solid;padding-left:1ex"> <br>
                        <div text="#000000" bgcolor="#FFFFFF">
                          <p style="margin-bottom:0in;line-height:100%">Here
                            is what I did for 64-bit Ubuntu Cog image
                            install steps:</p>
                          <ol>
                            <li>
                              <p
                                style="margin-bottom:0in;line-height:100%">
                                install 64-bit ubuntu</p>
                            </li>
                            <li>
                              <p
                                style="margin-bottom:0in;line-height:100%">
                                sudo apt-get install subversion</p>
                            </li>
                            <li>
                              <p
                                style="margin-bottom:0in;line-height:100%">
                                mkdir Cog</p>
                            </li>
                            <li>
                              <p
                                style="margin-bottom:0in;line-height:100%">
                                cd Cog</p>
                            </li>
                            <li>
                              <p
                                style="margin-bottom:0in;line-height:100%">
                                svn co <font color="#000080"><span
                                    lang="zxx"><u><a
                                        moz-do-not-send="true"
                                        href="http://www.squeakvm.org/svn/squeak/branches/Cog/image"
                                        target="_blank"><a class="moz-txt-link-freetext" href="http://www.squeakvm.org/svn/squeak/branches/Cog/image">http://www.squeakvm.org/svn/squeak/branches/Cog/image</a></a></u></span></font></p>
                            </li>
                            <li>
                              <p
                                style="margin-bottom:0in;line-height:100%">
                                svn co <font color="#000080"><span
                                    lang="zxx"><u><a
                                        moz-do-not-send="true"
                                        href="http://www.squeakvm.org/svn/squeak/branches/Cog"
                                        target="_blank"><a class="moz-txt-link-freetext" href="http://www.squeakvm.org/svn/squeak/branches/Cog">http://www.squeakvm.org/svn/squeak/branches/Cog</a></a></u></span></font>
                                oscogvm</p>
                            </li>
                            <li>
                              <p
                                style="margin-bottom:0in;line-height:100%">
                                cd image</p>
                            </li>
                            <li>
                              <p
                                style="margin-bottom:0in;line-height:100%">
                                update shell scripts to have bash rather
                                than sh</p>
                            </li>
                            <li>
                              <p
                                style="margin-bottom:0in;line-height:100%">
                                run buildspurtrunkvmmakerimage.sh; it
                                fails</p>
                            </li>
                            <li>
                              <p
                                style="margin-bottom:0in;line-height:100%">
                                sudo apt-get install squeak-vm</p>
                            </li>
                            <li>
                              <p
                                style="margin-bottom:0in;line-height:100%">
                                run buildspurtrunkvmmakerimage.sh; it
                                fails</p>
                            </li>
                          </ol>
                          <p style="margin-bottom:0in;line-height:100%"><br>
                          </p>
                          <p style="margin-bottom:0in;line-height:100%">The
                            error is below. Thank you for any help,<br>
                          </p>
                          <p style="margin-bottom:0in;line-height:100%">Robert<br>
                          </p>
                          <p style="margin-bottom:0in;line-height:100%"><br>
                          </p>
                          <p style="margin-bottom:0in;line-height:100%"><br>
                          </p>
                          <p style="margin-bottom:0in;line-height:100%">cogspurlinuxht/squeak
trunk50.image



                            UpdateSqueakTrunkImage.st</p>
                          <p style="margin-bottom:0in;line-height:100%">/usr/bin/ldd

                            didn't produce any output and the system is
                            64 bit. You may need to (re)install the
                            32-bit libraries.</p>
                          <p style="margin-bottom:0in;line-height:100%">cogspurlinuxht/squeak
SpurVMMaker.image



                            BuildSqueakSpurTrunkVMMakerImage.st</p>
                          <p style="margin-bottom:0in;line-height:100%">/usr/bin/ldd

                            didn't produce any output and the system is
                            64 bit. You may need to (re)install the
                            32-bit libraries.</p>
                          <br>
                          <br>
                        </div>
                        <br>
                      </blockquote>
                    </div>
                    <br>
                  </div>
                </blockquote>
                <br>
              </div>
              <br>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>