loading Ubuntu 64-bit

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

loading Ubuntu 64-bit

Robert Withers
Hi,

I just got a new 64-bit laptop I am configuring with 64-bit Ubuntu and
trying to resolve those issues to build the vm. I ran the apt-get for
everything I was aware of, but I get an error when running
buildspurtrunkvmmakermage.sh:

cogspurlinuxht/squeak trunk50.image UpdateSqueakTrunkImage.st
squeak: could not find any display driver
./updatespurimage.sh: line 14: 27399 Aborted                 (core
dumped) $VM trunk50.image UpdateSqueakTrunkImage.st
cogspurlinuxht/squeak SpurVMMaker.image BuildSqueakSpurTrunkVMMakerImage.st
squeak: could not find any display driver
./buildspurtrunkvmmakerimage.sh: line 12: 27431 Aborted                
(core dumped) $VM SpurVMMaker.image BuildSqueakSpurTrunkVMMakerImage.st

For some reason it isn't finding the vm-display-X11 and I do not recall
why from my prior install. Does this ring a bell with anyone who could
assist me?

Thank you,
Robert


ps. all the apt-get commands I ran:

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 i#!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

Reply | Threaded
Open this post in threaded view
|

Re: loading Ubuntu 64-bit

Eliot Miranda-2
Hi Robert,

    if you run ldd on the vm-display-X11 library it should list the libraries it expects.  If any are missing it won't load.

On Fri, Dec 11, 2015 at 11:27 AM, Robert Withers <[hidden email]> wrote:
Hi,

I just got a new 64-bit laptop I am configuring with 64-bit Ubuntu and trying to resolve those issues to build the vm. I ran the apt-get for everything I was aware of, but I get an error when running buildspurtrunkvmmakermage.sh:

cogspurlinuxht/squeak trunk50.image UpdateSqueakTrunkImage.st
squeak: could not find any display driver
./updatespurimage.sh: line 14: 27399 Aborted                 (core dumped) $VM trunk50.image UpdateSqueakTrunkImage.st
cogspurlinuxht/squeak SpurVMMaker.image BuildSqueakSpurTrunkVMMakerImage.st
squeak: could not find any display driver
./buildspurtrunkvmmakerimage.sh: line 12: 27431 Aborted                 (core dumped) $VM SpurVMMaker.image BuildSqueakSpurTrunkVMMakerImage.st

For some reason it isn't finding the vm-display-X11 and I do not recall why from my prior install. Does this ring a bell with anyone who could assist me?

Thank you,
Robert


ps. all the apt-get commands I ran:

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 i#!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




--
_,,,^..^,,,_
best, Eliot


Reply | Threaded
Open this post in threaded view
|

Re: loading Ubuntu 64-bit

Robert Withers
Thanks Eliot! ldd said libSM.so.6 and libICE.so.6 are missing. It turns out it is the i386 32-bit version it wants. So I apt-get install libsm6:i386 libice6:i386. I am now underway building the vmmaker image.

Robert

On 12/11/2015 02:29 PM, Eliot Miranda wrote:
Hi Robert,

    if you run ldd on the vm-display-X11 library it should list the libraries it expects.  If any are missing it won't load.

On Fri, Dec 11, 2015 at 11:27 AM, Robert Withers <[hidden email]> wrote:
Hi,

I just got a new 64-bit laptop I am configuring with 64-bit Ubuntu and trying to resolve those issues to build the vm. I ran the apt-get for everything I was aware of, but I get an error when running buildspurtrunkvmmakermage.sh:

cogspurlinuxht/squeak trunk50.image UpdateSqueakTrunkImage.st
squeak: could not find any display driver
./updatespurimage.sh: line 14: 27399 Aborted                 (core dumped) $VM trunk50.image UpdateSqueakTrunkImage.st
cogspurlinuxht/squeak SpurVMMaker.image BuildSqueakSpurTrunkVMMakerImage.st
squeak: could not find any display driver
./buildspurtrunkvmmakerimage.sh: line 12: 27431 Aborted                 (core dumped) $VM SpurVMMaker.image BuildSqueakSpurTrunkVMMakerImage.st

For some reason it isn't finding the vm-display-X11 and I do not recall why from my prior install. Does this ring a bell with anyone who could assist me?

Thank you,
Robert


ps. all the apt-get commands I ran:

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 i#!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




--
_,,,^..^,,,_
best, Eliot



    



Reply | Threaded
Open this post in threaded view
|

bitshift:

frank.lesser
In reply to this post by Eliot Miranda-2

( -16r100000001 bitShift: -32 )

( -16r100000000 bitShift: -32 ) = -2



Reply | Threaded
Open this post in threaded view
|

Re: bitshift:

frank.lesser

Hi,

 

( -16r100000001 bitShift: -32 ) = -2

( -16r100000000 bitShift: -32 ) = -1

 

looks odd to me,

 

guess the prim needs to be fixed

 

Frank



Reply | Threaded
Open this post in threaded view
|

Re: bitshift:

Tim Olson

On Dec 11, 2015, at 2:00 PM, Frank Lesser <[hidden email]> wrote:

Hi,
 
( -16r100000001 bitShift: -32 ) = -2
( -16r100000000 bitShift: -32 ) = -1
 
looks odd to me,
 
guess the prim needs to be fixed

Looks correct to me:

(-16r100000001 bitAnd: 16rFFFFFFFFFF) hex -> ‘16rFEFFFFFFFF’
downshift this by 32 bits and you get 16rFFFFFFFE, which is -2

(-16r100000000 bitAnd: 16rFFFFFFFFFF) hex  -> ‘16rFF00000000'
downshift this by 32 bits and you get 16rFFFFFFFF, which is -1.

— tim



Reply | Threaded
Open this post in threaded view
|

AW: [squeak-dev] bitshift:

frank.lesser

Hi Tim, thx for fast answer, need to get sorted my newsgroups as it was posted wrong.

It is wrong in Dolphin:

 

( -16r10000001 bitShift: -32 )-1

( -16r10000000 bitShift: -32 )-1

( -16r1000001 bitShift: -24 ) -2

( -16r1000000 bitShift: -24 ) -1

 

but according to Dolphin's comment it is correct.

Frank

 


Von: [hidden email] [mailto:[hidden email]] Im Auftrag von Tim Olson
Gesendet: Freitag, 11. Dezember 2015 21:16
An: The general-purpose Squeak developers list
Betreff: Re: [squeak-dev] bitshift:

 

 

On Dec 11, 2015, at 2:00 PM, Frank Lesser <[hidden email]> wrote:



Hi,

 

( -16r100000001 bitShift: -32 ) = -2

( -16r100000000 bitShift: -32 ) = -1

 

looks odd to me,

 

guess the prim needs to be fixed

 

Looks correct to me:

 

            (-16r100000001 bitAnd: 16rFFFFFFFFFF) hex -> ‘16rFEFFFFFFFF’

                        downshift this by 32 bits and you get 16rFFFFFFFE, which is -2

 

            (-16r100000000 bitAnd: 16rFFFFFFFFFF) hex  -> ‘16rFF00000000'

                        downshift this by 32 bits and you get 16rFFFFFFFF, which is -1.

 

            — tim

 



Reply | Threaded
Open this post in threaded view
|

Re: bitshift:

Bert Freudenberg
Fun fact - in JavaScript, this is true:

(-0x10000001 >> 32) == -0x10000001

- Bert  -

On 11.12.2015, at 22:22, Frank Lesser <[hidden email]> wrote:

Hi Tim, thx for fast answer, need to get sorted my newsgroups as it was posted wrong.
It is wrong in Dolphin:
 
( -16r10000001 bitShift: -32 )-1
( -16r10000000 bitShift: -32 )-1
( -16r1000001 bitShift: -24 ) -2
( -16r1000000 bitShift: -24 ) -1
 
but according to Dolphin's comment it is correct.
Frank
 

Von: [hidden email] [[hidden email]] Im Auftrag von Tim Olson
Gesendet: Freitag, 11. Dezember 2015 21:16
An: The general-purpose Squeak developers list
Betreff: Re: [squeak-dev] bitshift:
 
 
On Dec 11, 2015, at 2:00 PM, Frank Lesser <[hidden email]> wrote:


Hi,
 
( -16r100000001 bitShift: -32 ) = -2
( -16r100000000 bitShift: -32 ) = -1
 
looks odd to me,
 
guess the prim needs to be fixed
 
Looks correct to me:
 
            (-16r100000001 bitAnd: 16rFFFFFFFFFF) hex -> ‘16rFEFFFFFFFF’
                        downshift this by 32 bits and you get 16rFFFFFFFE, which is -2
 
            (-16r100000000 bitAnd: 16rFFFFFFFFFF) hex  -> ‘16rFF00000000'
                        downshift this by 32 bits and you get 16rFFFFFFFF, which is -1.
 
            — tim






smime.p7s (5K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: bitshift:

frank.lesser

Hi Bert,

yes funny,

but to be correct, in Dolphin bitShift: is correct ( so far our tests covered it ), in Squeak, Pharo it is also correct, in Digitalk it is broken, in Dolphin Integer division prim is broken.

Other Smalltalk's I haven't tested yet.

Frank

 


Von: [hidden email] [mailto:squea[hidden email]] Im Auftrag von Bert Freudenberg
Gesendet: Montag, 14. Dezember 2015 22:35
An: The general-purpose Squeak developers list
Betreff: Re: [squeak-dev] bitshift:

 

Fun fact - in JavaScript, this is true:

 

(-0x10000001 >> 32) == -0x10000001

 

- Bert  -

 

On 11.12.2015, at 22:22, Frank Lesser <[hidden email]> wrote:

 

Hi Tim, thx for fast answer, need to get sorted my newsgroups as it was posted wrong.

It is wrong in Dolphin:

 

( -16r10000001 bitShift: -32 )-1

( -16r10000000 bitShift: -32 )-1

( -16r1000001 bitShift: -24 ) -2

( -16r1000000 bitShift: -24 ) -1

 

but according to Dolphin's comment it is correct.

Frank

 


Von: [hidden email] [[hidden email]] Im Auftrag von Tim Olson
Gesendet: Freitag, 11. Dezember 2015 21:16
An: The general-purpose Squeak developers list
Betreff: Re: [squeak-dev] bitshift:

 

 

On Dec 11, 2015, at 2:00 PM, Frank Lesser <[hidden email]> wrote:




Hi,

 

( -16r100000001 bitShift: -32 ) = -2

( -16r100000000 bitShift: -32 ) = -1

 

looks odd to me,

 

guess the prim needs to be fixed

 

Looks correct to me:

 

            (-16r100000001 bitAnd: 16rFFFFFFFFFF) hex -> ‘16rFEFFFFFFFF’

                        downshift this by 32 bits and you get 16rFFFFFFFE, which is -2

 

            (-16r100000000 bitAnd: 16rFFFFFFFFFF) hex  -> ‘16rFF00000000'

                        downshift this by 32 bits and you get 16rFFFFFFFF, which is -1.

 

            — tim

 

 



Reply | Threaded
Open this post in threaded view
|

Re: bitshift:

Nicolas Cellier
Hmm, that remind me something like
https://github.com/nicolas-cellier-aka-nice/arbitrary-precision-float/wiki/ArbitraryPrecisionFloatForDolphin

With the ArbitraryPrecisionFloat package I think I pretty much stressed the LargeInteger primitives, and I can say that VW and Squeak/Pharo haven't proved buggy so far.

gst uses gmp, so porting ArbitraryPrecisionFloat there makes less sense and I can't tell.
It's been years since I didn't test VA or stx...

Nicolas

2015-12-14 23:28 GMT+01:00 Frank Lesser <[hidden email]>:

Hi Bert,

yes funny,

but to be correct, in Dolphin bitShift: is correct ( so far our tests covered it ), in Squeak, Pharo it is also correct, in Digitalk it is broken, in Dolphin Integer division prim is broken.

Other Smalltalk's I haven't tested yet.

Frank

 


Von: [hidden email] [mailto:[hidden email][hidden email]] Im Auftrag von Bert Freudenberg
Gesendet: Montag, 14. Dezember 2015 22:35


An: The general-purpose Squeak developers list
Betreff: Re: [squeak-dev] bitshift:

 

Fun fact - in JavaScript, this is true:

 

(-0x10000001 >> 32) == -0x10000001

 

- Bert  -

 

On 11.12.2015, at 22:22, Frank Lesser <[hidden email]> wrote:

 

Hi Tim, thx for fast answer, need to get sorted my newsgroups as it was posted wrong.

It is wrong in Dolphin:

 

( -16r10000001 bitShift: -32 )-1

( -16r10000000 bitShift: -32 )-1

( -16r1000001 bitShift: -24 ) -2

( -16r1000000 bitShift: -24 ) -1

 

but according to Dolphin's comment it is correct.

Frank

 


Von: [hidden email] [[hidden email]] Im Auftrag von Tim Olson
Gesendet: Freitag, 11. Dezember 2015 21:16
An: The general-purpose Squeak developers list
Betreff: Re: [squeak-dev] bitshift:

 

 

On Dec 11, 2015, at 2:00 PM, Frank Lesser <[hidden email]> wrote:




Hi,

 

( -16r100000001 bitShift: -32 ) = -2

( -16r100000000 bitShift: -32 ) = -1

 

looks odd to me,

 

guess the prim needs to be fixed

 

Looks correct to me:

 

            (-16r100000001 bitAnd: 16rFFFFFFFFFF) hex -> ‘16rFEFFFFFFFF’

                        downshift this by 32 bits and you get 16rFFFFFFFE, which is -2

 

            (-16r100000000 bitAnd: 16rFFFFFFFFFF) hex  -> ‘16rFF00000000'

                        downshift this by 32 bits and you get 16rFFFFFFFF, which is -1.

 

            — tim