squeak: could not find any display driver

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

squeak: could not find any display driver

Robert Withers
Are you tired of seeing this result:

rabbit@rabbithole:~/warren/cogvm/image$ cogvm Mushroom.4.image
squeak: could not find any display driver
Aborted (core dumped)

I am! Thank you for the help today. Unfortunately this is still an issue for me on both laptops: 32-bit and 64-bit OS.  Both were working as well. I reinstalled the 64-bit and it failed right off the start. The commonality to all three failures was the fact that I did these below commands prior to it failing this way, everytime. I think it is the upgrade that does it in. I'll reinstall 32-bit and try without these commands; let you know.

Robert

sudo apt-get update
sudo apt-get upgrade

and I ran this script for system libraries for 32-bit squeak.
#!/bin/bash

# ARGUMENT HANDLING =============================================================
if { [ "$1" = "-h" ] || [ "$1" = "--help" ]; }; then
    echo "Install libraries required to build the pharo VM under ubuntu.
"
    exit 0;
elif [ $# -gt 0 ]; then
    echo "--help/-h is the only argument allowed"
    exit 1;
fi

# INSTALL BUILD LIBRARIES ======================================================
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: squeak: could not find any display driver

Levente Uzonyi
What does "ldd vm-display-X11" print?

Levente

On Sat, 12 Dec 2015, Robert Withers wrote:

> Are you tired of seeing this result:
>
> rabbit@rabbithole:~/warren/cogvm/image$ cogvm Mushroom.4.image
> squeak: could not find any display driver
> Aborted (core dumped)
>
> I am! Thank you for the help today. Unfortunately this is still an issue for me on both laptops: 32-bit and 64-bit OS.  Both were working as well. I reinstalled the 64-bit and it failed right off the start. The commonality to all three failures was the fact that I did
> these below commands prior to it failing this way, everytime. I think it is the upgrade that does it in. I'll reinstall 32-bit and try without these commands; let you know.
>
> Robert
>
> sudo apt-get update
> sudo apt-get upgrade
>
> and I ran this script for system libraries for 32-bit squeak.
>       #!/bin/bash
>
>       # ARGUMENT HANDLING =============================================================
>       if { [ "$1" = "-h" ] || [ "$1" = "--help" ]; }; then
>           echo "Install libraries required to build the pharo VM under ubuntu.
>       "
>           exit 0;
>       elif [ $# -gt 0 ]; then
>           echo "--help/-h is the only argument allowed"
>           exit 1;
>       fi
>
>       # INSTALL BUILD LIBRARIES ======================================================
>       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: squeak: could not find any display driver

Robert Withers
Yes, I learned this today, or rather I was reminded of old UNIX cmds I used to know. The results of this were good. Every dependency was linked. This was why I've been using that script, which covers those 32-bit dependencies pretty thoroughly.

Alright
---
robert

> On Dec 12, 2015, at 9:54 PM, Levente Uzonyi <[hidden email]> wrote:
>
> What does "ldd vm-display-X11" print?
>
> Levente
>
>> On Sat, 12 Dec 2015, Robert Withers wrote:
>>
>> Are you tired of seeing this result:
>> rabbit@rabbithole:~/warren/cogvm/image$ cogvm Mushroom.4.image
>> squeak: could not find any display driver
>> Aborted (core dumped)
>> I am! Thank you for the help today. Unfortunately this is still an issue for me on both laptops: 32-bit and 64-bit OS.  Both were working as well. I reinstalled the 64-bit and it failed right off the start. The commonality to all three failures was the fact that I did
>> these below commands prior to it failing this way, everytime. I think it is the upgrade that does it in. I'll reinstall 32-bit and try without these commands; let you know.
>> Robert
>> sudo apt-get update
>> sudo apt-get upgrade
>> and I ran this script for system libraries for 32-bit squeak.
>>      #!/bin/bash
>>
>>      # ARGUMENT HANDLING =============================================================
>>      if { [ "$1" = "-h" ] || [ "$1" = "--help" ]; }; then
>>          echo "Install libraries required to build the pharo VM under ubuntu.
>>      "
>>          exit 0;
>>      elif [ $# -gt 0 ]; then
>>          echo "--help/-h is the only argument allowed"
>>          exit 1;
>>      fi
>>
>>      # INSTALL BUILD LIBRARIES ======================================================
>>      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: squeak: could not find any display driver

Levente Uzonyi
Is cogvm a script or a binary? If it's the former, then you should try
running the binary.
You can also try being explicit about the display plugin you want to use.
E.g.: cogvm --vm-display-X11 Mushroom.4.image

Levente

On Sat, 12 Dec 2015, Robert Withers wrote:

> Yes, I learned this today, or rather I was reminded of old UNIX cmds I used to know. The results of this were good. Every dependency was linked. This was why I've been using that script, which covers those 32-bit dependencies pretty thoroughly.
>
> Alright
> ---
> robert
>
>> On Dec 12, 2015, at 9:54 PM, Levente Uzonyi <[hidden email]> wrote:
>>
>> What does "ldd vm-display-X11" print?
>>
>> Levente
>>
>>> On Sat, 12 Dec 2015, Robert Withers wrote:
>>>
>>> Are you tired of seeing this result:
>>> rabbit@rabbithole:~/warren/cogvm/image$ cogvm Mushroom.4.image
>>> squeak: could not find any display driver
>>> Aborted (core dumped)
>>> I am! Thank you for the help today. Unfortunately this is still an issue for me on both laptops: 32-bit and 64-bit OS.  Both were working as well. I reinstalled the 64-bit and it failed right off the start. The commonality to all three failures was the fact that I did
>>> these below commands prior to it failing this way, everytime. I think it is the upgrade that does it in. I'll reinstall 32-bit and try without these commands; let you know.
>>> Robert
>>> sudo apt-get update
>>> sudo apt-get upgrade
>>> and I ran this script for system libraries for 32-bit squeak.
>>>      #!/bin/bash
>>>
>>>      # ARGUMENT HANDLING =============================================================
>>>      if { [ "$1" = "-h" ] || [ "$1" = "--help" ]; }; then
>>>          echo "Install libraries required to build the pharo VM under ubuntu.
>>>      "
>>>          exit 0;
>>>      elif [ $# -gt 0 ]; then
>>>          echo "--help/-h is the only argument allowed"
>>>          exit 1;
>>>      fi
>>>
>>>      # INSTALL BUILD LIBRARIES ======================================================
>>>      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: squeak: could not find any display driver

Robert Withers
It is a renamed binary that was working, but no longer. I just
reinstalled again, 64-bit Ubuntu 15.10. I did NOT upgrade. I ran the
script but it was missing libsm6:i386 and libsm6:i386 and also had a
bug. I'll attach the new one. It all installs but I still have the same
issue "could not find any display driver".

I also ran the all-in-One and it said "Running 32-bit Squeak on a 64-bit
System. install-libs32 may install them.". I ran that script as well.

Perhaps it is a 64-bit issue running 32-bits. I will reinstall 32-bit
ubuntu, although my first box was 32-bit before it failed.

Thanks for lending a hand.

Best,
Robert



On 12/12/2015 10:23 PM, Levente Uzonyi wrote:

> Is cogvm a script or a binary? If it's the former, then you should try
> running the binary.
> You can also try being explicit about the display plugin you want to
> use. E.g.: cogvm --vm-display-X11 Mushroom.4.image
>
> Levente
>
> On Sat, 12 Dec 2015, Robert Withers wrote:
>
>> Yes, I learned this today, or rather I was reminded of old UNIX cmds
>> I used to know. The results of this were good. Every dependency was
>> linked. This was why I've been using that script, which covers those
>> 32-bit dependencies pretty thoroughly.
>>
>> Alright
>> ---
>> robert
>>
>>> On Dec 12, 2015, at 9:54 PM, Levente Uzonyi <[hidden email]>
>>> wrote:
>>>
>>> What does "ldd vm-display-X11" print?
>>>
>>> Levente
>>>
>>>> On Sat, 12 Dec 2015, Robert Withers wrote:
>>>>
>>>> Are you tired of seeing this result:
>>>> rabbit@rabbithole:~/warren/cogvm/image$ cogvm Mushroom.4.image
>>>> squeak: could not find any display driver
>>>> Aborted (core dumped)
>>>> I am! Thank you for the help today. Unfortunately this is still an
>>>> issue for me on both laptops: 32-bit and 64-bit OS.  Both were
>>>> working as well. I reinstalled the 64-bit and it failed right off
>>>> the start. The commonality to all three failures was the fact that
>>>> I did
>>>> these below commands prior to it failing this way, everytime. I
>>>> think it is the upgrade that does it in. I'll reinstall 32-bit and
>>>> try without these commands; let you know.
>>>> Robert
>>>> sudo apt-get update
>>>> sudo apt-get upgrade
>>>> and I ran this script for system libraries for 32-bit squeak.
>>>>      #!/bin/bash
>>>>
>>>>      # ARGUMENT HANDLING
>>>> =============================================================
>>>>      if { [ "$1" = "-h" ] || [ "$1" = "--help" ]; }; then
>>>>          echo "Install libraries required to build the pharo VM
>>>> under ubuntu.
>>>>      "
>>>>          exit 0;
>>>>      elif [ $# -gt 0 ]; then
>>>>          echo "--help/-h is the only argument allowed"
>>>>          exit 1;
>>>>      fi
>>>>
>>>>      # INSTALL BUILD LIBRARIES
>>>> ======================================================
>>>>      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
>>>
>>
>>
>



setup-ubuntu.sh (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: squeak: could not find any display driver

Eliot Miranda-2
Hi Robert,

    and email me any text I should add to the HowToBuild on installing needed packages.  thx

On Sat, Dec 12, 2015 at 7:47 PM, Robert Withers <[hidden email]> wrote:
It is a renamed binary that was working, but no longer. I just reinstalled again, 64-bit Ubuntu 15.10. I did NOT upgrade. I ran the script but it was missing libsm6:i386 and libsm6:i386 and also had a bug. I'll attach the new one. It all installs but I still have the same issue "could not find any display driver".

I also ran the all-in-One and it said "Running 32-bit Squeak on a 64-bit System. install-libs32 may install them.". I ran that script as well.

Perhaps it is a 64-bit issue running 32-bits. I will reinstall 32-bit ubuntu, although my first box was 32-bit before it failed.

Thanks for lending a hand.

Best,
Robert




On 12/12/2015 10:23 PM, Levente Uzonyi wrote:
Is cogvm a script or a binary? If it's the former, then you should try running the binary.
You can also try being explicit about the display plugin you want to use. E.g.: cogvm --vm-display-X11 Mushroom.4.image

Levente

On Sat, 12 Dec 2015, Robert Withers wrote:

Yes, I learned this today, or rather I was reminded of old UNIX cmds I used to know. The results of this were good. Every dependency was linked. This was why I've been using that script, which covers those 32-bit dependencies pretty thoroughly.

Alright
---
robert

On Dec 12, 2015, at 9:54 PM, Levente Uzonyi <[hidden email]> wrote:

What does "ldd vm-display-X11" print?

Levente

On Sat, 12 Dec 2015, Robert Withers wrote:

Are you tired of seeing this result:
rabbit@rabbithole:~/warren/cogvm/image$ cogvm Mushroom.4.image
squeak: could not find any display driver
Aborted (core dumped)
I am! Thank you for the help today. Unfortunately this is still an issue for me on both laptops: 32-bit and 64-bit OS.  Both were working as well. I reinstalled the 64-bit and it failed right off the start. The commonality to all three failures was the fact that I did
these below commands prior to it failing this way, everytime. I think it is the upgrade that does it in. I'll reinstall 32-bit and try without these commands; let you know.
Robert
sudo apt-get update
sudo apt-get upgrade
and I ran this script for system libraries for 32-bit squeak.
     #!/bin/bash

     # ARGUMENT HANDLING =============================================================
     if { [ "$1" = "-h" ] || [ "$1" = "--help" ]; }; then
         echo "Install libraries required to build the pharo VM under ubuntu.
     "
         exit 0;
     elif [ $# -gt 0 ]; then
         echo "--help/-h is the only argument allowed"
         exit 1;
     fi

     # INSTALL BUILD LIBRARIES ======================================================
     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: squeak: could not find any display driver

Robert Withers
Hi Eliot, I just posted this to Ask Ubuntu and I let you know the results.

http://askubuntu.com/questions/709301/squeak-could-not-find-any-display-driver

Robert

http://askubuntu.com/questions/709301/squeak-could-not-find-any-display-driver

On 12/13/2015 08:32 PM, Eliot Miranda wrote:
Hi Robert,

    and email me any text I should add to the HowToBuild on installing needed packages.  thx

On Sat, Dec 12, 2015 at 7:47 PM, Robert Withers <[hidden email]> wrote:
It is a renamed binary that was working, but no longer. I just reinstalled again, 64-bit Ubuntu 15.10. I did NOT upgrade. I ran the script but it was missing libsm6:i386 and libsm6:i386 and also had a bug. I'll attach the new one. It all installs but I still have the same issue "could not find any display driver".

I also ran the all-in-One and it said "Running 32-bit Squeak on a 64-bit System. install-libs32 may install them.". I ran that script as well.

Perhaps it is a 64-bit issue running 32-bits. I will reinstall 32-bit ubuntu, although my first box was 32-bit before it failed.

Thanks for lending a hand.

Best,
Robert




On 12/12/2015 10:23 PM, Levente Uzonyi wrote:
Is cogvm a script or a binary? If it's the former, then you should try running the binary.
You can also try being explicit about the display plugin you want to use. E.g.: cogvm --vm-display-X11 Mushroom.4.image

Levente

On Sat, 12 Dec 2015, Robert Withers wrote:

Yes, I learned this today, or rather I was reminded of old UNIX cmds I used to know. The results of this were good. Every dependency was linked. This was why I've been using that script, which covers those 32-bit dependencies pretty thoroughly.

Alright
---
robert

On Dec 12, 2015, at 9:54 PM, Levente Uzonyi <[hidden email]> wrote:

What does "ldd vm-display-X11" print?

Levente

On Sat, 12 Dec 2015, Robert Withers wrote:

Are you tired of seeing this result:
rabbit@rabbithole:~/warren/cogvm/image$ cogvm Mushroom.4.image
squeak: could not find any display driver
Aborted (core dumped)
I am! Thank you for the help today. Unfortunately this is still an issue for me on both laptops: 32-bit and 64-bit OS.  Both were working as well. I reinstalled the 64-bit and it failed right off the start. The commonality to all three failures was the fact that I did
these below commands prior to it failing this way, everytime. I think it is the upgrade that does it in. I'll reinstall 32-bit and try without these commands; let you know.
Robert
sudo apt-get update
sudo apt-get upgrade
and I ran this script for system libraries for 32-bit squeak.
     #!/bin/bash

     # ARGUMENT HANDLING =============================================================
     if { [ "$1" = "-h" ] || [ "$1" = "--help" ]; }; then
         echo "Install libraries required to build the pharo VM under ubuntu.
     "
         exit 0;
     elif [ $# -gt 0 ]; then
         echo "--help/-h is the only argument allowed"
         exit 1;
     fi

     # INSTALL BUILD LIBRARIES ======================================================
     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