CalicoDevelopment

From IPRE Wiki
Revision as of 13:59, 23 May 2009 by Doug Blank (Talk | contribs) (On Linux and Mac OSX)

Jump to: navigation, search

This page describes the planning of Pyjama Editor and Shell. The Pyjama IDE is a cross-platform environment for learning about computing. This is part of the Pyjama Project.

Overview

The Pyjama interface is written in C#. This will allow any of the .NET/Mono Languages (IronPython, IronRuby, PyjamaScheme, JavaScript, F#, J#, etc) to use the API.

Development

One can program either in Visual Studio (only available on Windows) or in Mono (available on most platforms). Mono has a development environment (called MonoDevelop), but you can also use any editor. There is a free Visual Studio Express available from Microsoft. Pyjama requires Mono 2.6 and is also for free from [1].

On Linux and Mac OSX

You'll need the following:

  1. On Mac OSX, you will need XCode (to give you "make").
  2. If on an RPM system, Get the latest Mono, called 2.6, or from their trunk:
    1. Download RPMs for mono-core, mono-devel, and mono-winforms
      1. Get RPMs from http://mono.ximian.com/monobuild/snapshot/download-trunk/suse-110-i586/
    2. Install
      1. If you are not on a Suse system, you may be able to force them:
        1. rpm -ihv --nodeps --force mono-core-134631-0.novell.i586.rpm
        2. rpm -ihv --nodeps --force mono-devel-134631-0.novell.i586.rpm
        3. rpm -ihv --nodeps --force mono-winforms-134631-0.novell.i586.rpm
  3. Or, if NOT on RPM system, Download and Install sources from trunk
    1. wget http://mono.ximian.com/monobuild/snapshot/snapshot_sources/mono/mono-134581.tar.bz2
    2. tar xf mono-134581.tar.bz2
    3. cd mono-134581
    4. ./configure
    5. make
    6. make install
    7. cd ..
    8. wget http://mono.ximian.com/monobuild/snapshot/snapshot_sources/libgdiplus/libgdiplus-129909.tar.bz2
    9. tar xf libgdiplus-129909.tar.bz2
    10. cd libgdiplus-129909
    11. ./configure
    12. make
    13. make install
  4. Build Pyjama Sources. From the command line:
$ svn co http://svn.cs.brynmawr.edu/Myro/trunk/Pyjama Pyjama
$ cd Pyjama
(You might have to edit src/Makefile to change the location of Mono)
$ make

That will build and run Pyjama.

On Windows

To Just Install

Download the latest version of Pyjama from http://myro.roboteducation.org/~dblank/myro/pyjama/

Unzip, and run setup.exe.

For Development

  1. You will need the .NET Compact Framework
  2. You will need a Visual Studio, such as this free version: Visual Studio Express
  3. Checkout the SVN directory from: http://svn.cs.brynmawr.edu/Myro/trunk/Pyjama
  4. Build the Solution in that directory
  5. Run it

Screen Shots

Pyjama-106.gif

For more, see PyjamaScreenShots

Troubleshooting

Didn't build? Won't run? Send a note to: dblank AT cs DOT brynmawr DOT edu

We'll have a real issue tracking system up soon.

Links

  1. Mono 2.6 Download - get the latest trunk (version 134529 as of May 21, 2009)
  2. Visual Studio Express
  3. .NET Framework