Compiling unix VM

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

Compiling unix VM

Ricardo Moran
 
Hi, I'm trying to build the unix squeak vm to test the serial plugin fixes and I'm having some problems. This is the first time I try to compile a vm and I'm not really used to the Linux environment (I'm a windows user, sorry :P) so I'll be asking some newbie questions. I attached what I could copy from the terminal, I hope this helps.

First of all, I followed the instructions from here:
http://www.squeakvm.org/unix/platforms/unix/doc/HowToBuildFromSource.html/HowToBuildFromSource-node3.html
but using platforms/unix/cmake/configure instead of platforms/unix/config/configure (as advised by David T. Lewis).

After that (I think it finished ok) I ran /usr/local/bin/squeak.sh and it asked me to choose an image. I tried an updated Squeak trunk image, an etoys-dev-4.0, the etoys.image from Etoys4-RC-ToGo but nothing happened.

Then I tried to use the new vm and plugins with the Etoys-ToGo package. I'm guessing the new vm and the plugins are installed at /usr/local/lib/squeak/3.11.3-2142/ so I replaced the Linux vm files in Etoys-ToGo with these new ones. This doesn't work either.

Finally, I tried to run squeak by typing squeak in the terminal and I got this error:

SQUEAK_ENCODING='UTF-8'
SQUEAK_PATHENC='UTF-8'
SQUEAK_PLUGINS='/usr/local/lib/squeak/3.11.3-2142'
+ exec /usr/local/lib/squeak/3.11.3-2142/squeakvm
could not find display driver vm-display-X11; either:
  - check that /usr/local/lib/squeak/3.11.3-2142/vm-display-X11.so exists, or
  - use the '-plugins <path>' option to tell me where it is, or
  - remove DISPLAY from your environment.
Aborted

As it says in the error message, the file /usr/local/lib/squeak/3.11.3-2142/vm-display-X11.so does not exist. I don't know why though.

I must be doing a lot of things wrong but I don't know what to try next.
I would really appreciate some help here.

Thanks in advance.
Richo


terminal (38K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Compiling unix VM

Ian Piumarta
 
Ricardo,

On Sep 22, 2009, at 7:58 AM, Ricardo Moran wrote:

> As it says in the error message, the file /usr/local/lib/squeak/
> 3.11.3-2142/vm-display-X11.so does not exist. I don't know why though.
> I must be doing a lot of things wrong but I don't know what to try  
> next.

There is only one thing wrong, AFAICT: the configure step decided not  
to build vm-display-X11.  The cause is probably missing X11  
development headers or libraries.  It is hard to pin this down  
further because your terminal transcript does not include the output  
from configure.  On Ubuntu the development headers and libraries that  
you need are in the package called "xorg-dev".  Hope that helps.

Cheers,
Ian

> <terminal>


-- Install configuration: ""
-- Installing: /usr/local/lib/squeak/3.11.3-2142/squeakvm
-- Installing: /usr/local/bin/squeak
-- Installing: /usr/local/bin/squeak.sh
-- Installing: /usr/local/share/man/man1/squeak.1
-- Installing: /usr/local/lib/squeak/3.11.3-2142/so.Squeak3D
-- Installing: /usr/local/lib/squeak/3.11.3-2142/so.SqueakFFIPrims
-- Installing: /usr/local/lib/squeak/3.11.3-2142/so.FileCopyPlugin
-- Installing: /usr/local/lib/squeak/3.11.3-2142/so.KedamaPlugin
-- Installing: /usr/local/lib/squeak/3.11.3-2142/so.KedamaPlugin2
-- Installing: /usr/local/lib/squeak/3.11.3-2142/so.MIDIPlugin
-- Installing: /usr/local/lib/squeak/3.11.3-2142/so.Mpeg3Plugin
-- Installing: /usr/local/lib/squeak/3.11.3-2142/so.PseudoTTYPlugin
-- Installing: /usr/local/lib/squeak/3.11.3-2142/so.AioPlugin
-- Installing: /usr/local/lib/squeak/3.11.3-2142/so.UnixOSProcessPlugin
-- Installing: /usr/local/lib/squeak/3.11.3-2142/so.vm-sound-custom
-- Installing: /usr/local/lib/squeak/3.11.3-2142/so.vm-sound-null
-- Installing: /usr/local/lib/squeak/3.11.3-2142/so.vm-display-fbdev
-- Installing: /usr/local/lib/squeak/3.11.3-2142/so.vm-display-custom
-- Installing: /usr/local/lib/squeak/3.11.3-2142/so.vm-display-null
root@caeti-ubuntu:~/Desktop/svn/squeak/bld# squeak

Reply | Threaded
Open this post in threaded view
|

Re: Compiling unix VM

Ricardo Moran
 
I think I did it!! Oh, I'm so happy! Thanks for your help Ian, installing xorg-dev did the trick!

Take care,
Richo

On Tue, Sep 22, 2009 at 12:26 PM, Ian Piumarta <[hidden email]> wrote:
Ricardo,


On Sep 22, 2009, at 7:58 AM, Ricardo Moran wrote:

As it says in the error message, the file /usr/local/lib/squeak/3.11.3-2142/vm-display-X11.so does not exist. I don't know why though.
I must be doing a lot of things wrong but I don't know what to try next.

There is only one thing wrong, AFAICT: the configure step decided not to build vm-display-X11.  The cause is probably missing X11 development headers or libraries.  It is hard to pin this down further because your terminal transcript does not include the output from configure.  On Ubuntu the development headers and libraries that you need are in the package called "xorg-dev".  Hope that helps.

Cheers,
Ian

<terminal>


-- Install configuration: ""
-- Installing: /usr/local/lib/squeak/3.11.3-2142/squeakvm
-- Installing: /usr/local/bin/squeak
-- Installing: /usr/local/bin/squeak.sh
-- Installing: /usr/local/share/man/man1/squeak.1
-- Installing: /usr/local/lib/squeak/3.11.3-2142/so.Squeak3D
-- Installing: /usr/local/lib/squeak/3.11.3-2142/so.SqueakFFIPrims
-- Installing: /usr/local/lib/squeak/3.11.3-2142/so.FileCopyPlugin
-- Installing: /usr/local/lib/squeak/3.11.3-2142/so.KedamaPlugin
-- Installing: /usr/local/lib/squeak/3.11.3-2142/so.KedamaPlugin2
-- Installing: /usr/local/lib/squeak/3.11.3-2142/so.MIDIPlugin
-- Installing: /usr/local/lib/squeak/3.11.3-2142/so.Mpeg3Plugin
-- Installing: /usr/local/lib/squeak/3.11.3-2142/so.PseudoTTYPlugin
-- Installing: /usr/local/lib/squeak/3.11.3-2142/so.AioPlugin
-- Installing: /usr/local/lib/squeak/3.11.3-2142/so.UnixOSProcessPlugin
-- Installing: /usr/local/lib/squeak/3.11.3-2142/so.vm-sound-custom
-- Installing: /usr/local/lib/squeak/3.11.3-2142/so.vm-sound-null
-- Installing: /usr/local/lib/squeak/3.11.3-2142/so.vm-display-fbdev
-- Installing: /usr/local/lib/squeak/3.11.3-2142/so.vm-display-custom
-- Installing: /usr/local/lib/squeak/3.11.3-2142/so.vm-display-null
root@caeti-ubuntu:~/Desktop/svn/squeak/bld# squeak


Reply | Threaded
Open this post in threaded view
|

Re: Compiling unix VM

David T. Lewis
 
On Tue, Sep 29, 2009 at 10:39:57AM -0300, Ricardo Moran wrote:
>  
> I think I did it!! Oh, I'm so happy! Thanks for your help Ian, installing
> xorg-dev did the trick!

Richo,

Congratulations! Don't forget to print your VM Builders' Certificate:

  http://www.rowledge.org/tim/squeak/SqueakVMBuilderCertificate.pdf

Dave

Reply | Threaded
Open this post in threaded view
|

Re: Compiling unix VM

Ricardo Moran
 
Haha, nice! I'll print it right away!



On Tue, Sep 29, 2009 at 12:17 PM, David T. Lewis <[hidden email]> wrote:

On Tue, Sep 29, 2009 at 10:39:57AM -0300, Ricardo Moran wrote:
>
> I think I did it!! Oh, I'm so happy! Thanks for your help Ian, installing
> xorg-dev did the trick!

Richo,

Congratulations! Don't forget to print your VM Builders' Certificate:

 http://www.rowledge.org/tim/squeak/SqueakVMBuilderCertificate.pdf

Dave