Difference between revisions of "CalicoDevelopment"
From IPRE Wiki
(→On Linux and Mac OSX) |
m (→On Linux and Mac OSX) |
||
Line 40: | Line 40: | ||
That will build and run Pyjama. | That will build and run Pyjama. | ||
− | # If that does not work, | + | # If that does not work, from the command line: |
− | + | ||
$ svn co http://svn.cs.brynmawr.edu/Myro/trunk/Pyjama Pyjama | $ svn co http://svn.cs.brynmawr.edu/Myro/trunk/Pyjama Pyjama | ||
$ cd Pyjama | $ cd Pyjama |
Revision as of 13:13, 27 May 2010
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.
Contents
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.3 (or greater) and is also for free from [1].
On Linux and Mac OSX
You'll need the following:
- On Mac OSX, you will need XCode (to give you "make"). [FIXME: should use xbuild]
- Get Mono:
- http://www.go-mono.com/mono-downloads/download.html
- You may be able to:
- yum install mono-devel mono-core mono-winforms libgdiplus
- If on an RPM system, Get the latest Mono, called 2.6.3 (or greater), or from their trunk:
- Download RPMs for mono-core, mono-devel, mono-winforms, and libgdiplus from Mono 2.6.3 trunk:
- Or, if NOT on RPM system, Download and Install sources from trunk:
- wget http://mono.ximian.com/monobuild/snapshot/snapshot_sources/mono/mono-134581.tar.bz2
- tar xf mono-134581.tar.bz2
- cd mono-134581
- ./configure
- make
- make install
- cd ..
- wget http://mono.ximian.com/monobuild/snapshot/snapshot_sources/libgdiplus/libgdiplus-129909.tar.bz2
- tar xf libgdiplus-129909.tar.bz2
- cd libgdiplus-129909
- ./configure
- make
- make install
- For printing, you'll need libcups.
- Under fedora, that can be install through the package manager from the cups-devel package
- Build Pyjama Sources. From the command line:
$ svn co http://svn.cs.brynmawr.edu/Myro/trunk/Pyjama Pyjama $ cd Pyjama/src $ export BINPATH=/path/to/mono/bin $ make
That will build and run Pyjama.
- If that does not work, from the command line:
$ svn co http://svn.cs.brynmawr.edu/Myro/trunk/Pyjama Pyjama $ cd Pyjama $ export PATH=/path/to/mono/bin:$PATH $ export LD_LIBRARY_PATH=/path/to/mono/lib/ $ make clean $ make $ make run
On Windows
- You will need the .NET Compact Framework
- You will need a Visual Studio, such as this free version: Visual Studio Express
- Checkout the SVN directory from: http://svn.cs.brynmawr.edu/Myro/trunk/Pyjama
- Under Windows, you can use Tortoise SVN
- Build the Solution in that directory
- You may need to delete the References: IronPython, IronPython.Modules, IronRuby, IronRuby.Libraries, Microsoft.Scripting, Microsoft.Scripting.Core, and Microsoft.Scripting.ExtensionAttribute
- You then need to re-add them to References. They are in the Pyjama\libs folder.
- Run it (press F5)
Screen Shots
For more, see PyjamaScreenShots
Troubleshooting
If you have any trouble, find bugs, or want to make a feature request, please do that at:
Links
- Mono 2.6.3 Download - get mono-core, mono-devel, mono-winforms, and libgdiplus from the latest trunk
- Visual Studio Express
- .NET Framework