Difference between revisions of "CalicoDevelopment"

From IPRE Wiki
Jump to: navigation, search
(On Linux and Mac OSX)
(On Linux and Mac OSX)
Line 9: Line 9:
 
You'll need the following:
 
You'll need the following:
  
# On Mac OSX, you will need XCode (to give you "make").
+
# On Mac OSX, you will need XCode (to give you "make"). [FIXME: should use xbuild]
# You may be able to:
+
# Get Mono:
## yum install mono-devel mono-core mono-winforms libgdiplus
+
## http://www.go-mono.com/mono-downloads/download.html
# If on an RPM system, Get the latest Mono, called 2.6.3 (or greater), or from their trunk:
+
## You may be able to:
## Download RPMs for mono-core, mono-devel, mono-winforms, and libgdiplus from [http://mono.ximian.com/monobuild/snapshot/download-trunk/suse-110-i586/ Mono 2.6.3 trunk]:
+
### yum install mono-devel mono-core mono-winforms libgdiplus
# Or, if NOT on RPM system, Download and Install sources from [http://mono.ximian.com/monobuild/snapshot/sources-trunk/ trunk]:
+
## If on an RPM system, Get the latest Mono, called 2.6.3 (or greater), or from their trunk:
## wget http://mono.ximian.com/monobuild/snapshot/snapshot_sources/mono/mono-134581.tar.bz2
+
### Download RPMs for mono-core, mono-devel, mono-winforms, and libgdiplus from [http://mono.ximian.com/monobuild/snapshot/download-trunk/suse-110-i586/ Mono 2.6.3 trunk]:
## tar xf mono-134581.tar.bz2
+
## Or, if NOT on RPM system, Download and Install sources from [http://mono.ximian.com/monobuild/snapshot/sources-trunk/ trunk]:
## cd mono-134581
+
### wget http://mono.ximian.com/monobuild/snapshot/snapshot_sources/mono/mono-134581.tar.bz2
## ./configure
+
### tar xf mono-134581.tar.bz2
## make
+
### cd mono-134581
## make install
+
### ./configure
## cd ..
+
### make
## wget http://mono.ximian.com/monobuild/snapshot/snapshot_sources/libgdiplus/libgdiplus-129909.tar.bz2
+
### make install
## tar xf libgdiplus-129909.tar.bz2
+
### cd ..
## cd libgdiplus-129909
+
### wget http://mono.ximian.com/monobuild/snapshot/snapshot_sources/libgdiplus/libgdiplus-129909.tar.bz2
## ./configure
+
### tar xf libgdiplus-129909.tar.bz2
## make
+
### cd libgdiplus-129909
## make install
+
### ./configure
 +
### make
 +
### make install
 
# For printing, you'll need libcups.  
 
# For printing, you'll need libcups.  
 
## Under fedora, that can be install through the package manager from the '''cups-devel''' package
 
## Under fedora, that can be install through the package manager from the '''cups-devel''' package

Revision as of 13:25, 30 April 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.

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:

  1. On Mac OSX, you will need XCode (to give you "make"). [FIXME: should use xbuild]
  2. Get Mono:
    1. http://www.go-mono.com/mono-downloads/download.html
    2. You may be able to:
      1. yum install mono-devel mono-core mono-winforms libgdiplus
    3. If on an RPM system, Get the latest Mono, called 2.6.3 (or greater), or from their trunk:
      1. Download RPMs for mono-core, mono-devel, mono-winforms, and libgdiplus from Mono 2.6.3 trunk:
    4. 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
  3. For printing, you'll need libcups.
    1. Under fedora, that can be install through the package manager from the cups-devel package
  4. 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.

On Windows

  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
    1. Under Windows, you can use Tortoise SVN
  4. Build the Solution in that directory
    1. You may need to delete the References: IronPython, IronPython.Modules, IronRuby, IronRuby.Libraries, Microsoft.Scripting, Microsoft.Scripting.Core, and Microsoft.Scripting.ExtensionAttribute
    2. You then need to re-add them to References. They are in the Pyjama\libs folder.
  5. Run it (press F5)

Screen Shots

Pyjama-107.gif

For more, see PyjamaScreenShots

Troubleshooting

If you have any trouble, find bugs, or want to make a feature request, please do that at:

pyjama.codeplex.com/WorkItem/

Links

  1. Mono 2.6.3 Download - get mono-core, mono-devel, mono-winforms, and libgdiplus from the latest trunk
  2. Visual Studio Express
  3. .NET Framework