[Vm-dev] image install of ubuntu 64-bit has an issue

Robert Withers robert.w.withers at gmail.com
Wed Oct 21 07:10:28 UTC 2015


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.

Regards,
Robert

On 10/21/2015 02:14 AM, Clément Bera wrote:
>   
>
>
>
>
> 2015-10-21 3:20 GMT+02:00 Robert Withers <robert.w.withers at gmail.com 
> <mailto:robert.w.withers at gmail.com>>:
>
>
>     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.
>
>     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.
>
>     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.
>
>     Regards,
>     Robert
>
>     rabbit at callisto:~/warren/cog/image$ ./buildspurtrunkvmmakerimage.sh
>     cogspurlinuxht/squeak trunk50.image UpdateSqueakTrunkImage.st
>     pthread_setschedparam failed: Operation not permitted
>     Read e.g.
>     http://www.mirandabanda.org/files/Cog/VM/VM.r3427/README.3427
>     cogspurlinuxht/squeak SpurVMMaker.image
>     BuildSqueakSpurTrunkVMMakerImage.st
>     pthread_setschedparam failed: Operation not permitted
>     Read e.g.
>     http://www.mirandabanda.org/files/Cog/VM/VM.r3427/README.3427
>
>
>
> Hello,
>
> I can think of two bugs related to your error:
> - you are building the VM with the incorrect heartbeat for your OS 
> (try building in the build.itimerheartbeat folder instead of build folder)
> - you need to run the VM in sudo mode for the VM profiler
>
> 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.
>
> Best
>
>
>
>     On 10/20/2015 07:43 AM, Clément Bera wrote:
>>       
>>
>>
>>     It would have worked on a 32 bits Ubuntu I guess. It looks like
>>     you miss the 32 bits libraries.
>>
>>     I do the same process as yours but here is my step 2:
>>
>>     sudo apt-get install cmake zip bash-completion ruby git xz-utils
>>     debhelper devscripts
>>     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
>>     sudo apt-get install build-essential gcc-multilib g++
>>     sudo apt-get install libgl1-mesa-dev libgl1-mesa-glx:i386
>>     sudo apt-get install binutils:i386 g++-4.6:i386 gcc-4.6:i386
>>     sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so
>>     /usr/lib/i386-linux-gnu/libGL.so
>>     sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1
>>     /usr/lib/i386-linux-gnu/mesa/libGL.so
>>     sudo apt-get install uuid-dev:i386
>>     sudo apt-get install subversion
>>
>>     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.
>>
>>     Best,
>>
>>
>>     2015-10-20 8:40 GMT+02:00 Robert Withers
>>     <robert.w.withers at gmail.com <mailto:robert.w.withers at gmail.com>>:
>>
>>
>>         Here is what I did for 64-bit Ubuntu Cog image install steps:
>>
>>         1.
>>
>>             install 64-bit ubuntu
>>
>>         2.
>>
>>             sudo apt-get install subversion
>>
>>         3.
>>
>>             mkdir Cog
>>
>>         4.
>>
>>             cd Cog
>>
>>         5.
>>
>>             svn co
>>             _http://www.squeakvm.org/svn/squeak/branches/Cog/image_
>>
>>         6.
>>
>>             svn co _http://www.squeakvm.org/svn/squeak/branches/Cog_
>>             oscogvm
>>
>>         7.
>>
>>             cd image
>>
>>         8.
>>
>>             update shell scripts to have bash rather than sh
>>
>>         9.
>>
>>             run buildspurtrunkvmmakerimage.sh; it fails
>>
>>        10.
>>
>>             sudo apt-get install squeak-vm
>>
>>        11.
>>
>>             run buildspurtrunkvmmakerimage.sh; it fails
>>
>>
>>         The error is below. Thank you for any help,
>>
>>         Robert
>>
>>
>>
>>         cogspurlinuxht/squeak trunk50.image UpdateSqueakTrunkImage.st
>>
>>         /usr/bin/ldd didn't produce any output and the system is 64
>>         bit. You may need to (re)install the 32-bit libraries.
>>
>>         cogspurlinuxht/squeak SpurVMMaker.image
>>         BuildSqueakSpurTrunkVMMakerImage.st
>>
>>         /usr/bin/ldd didn't produce any output and the system is 64
>>         bit. You may need to (re)install the 32-bit libraries.
>>
>>
>>
>>
>>
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20151021/a6f5dfe3/attachment.htm


More information about the Vm-dev mailing list