Install

Spark-Scheme is under active development. The code repository is at GitHub. Use the following command to checkout the source code:

git clone git://github.com/vijaymathew/spark-scheme.git

Once you have downloaded the code, follow the build instructions given below, whichever is appropriate for your system.

GNU/Linux, BSDs

Spark-Scheme has the following dependencies:

libX11, Xext, Expat, unixODBC, libCurl, libGL and libGLU.

Once you have the dependencies in place, use the following commands to build and install Spark on GNU/Linux:

$ cd /where-you-checked-out-spark-source-code/
$ ./configure --enable-threads --enable-localjpeg \
--enable-localpng  --enable-localzlib
$ make
$ sudo make install

Windows

The most convenient way to use Spark on Windows is to download the pre-built binary and update the "collects" and "scheme" folders from the latest code base. Please use 7-zip to decompress the package. There is a README file in the package that contain detailed installation directions.

Building Spark on Windows

It is assumed that you checked out Spark sources into C:\spark-scheme.

  1. Install Cygwin.
  2. Make sure that the GNU make utilities, X11 development files and libCurl are available in the Cygwin environment.
  3. If you need ODBC support, install the appropriate libraries. You may download unixODBC and compile it yourself.
  4. Run the Cygwin shell, cd to /cygdrive/c/spark-scheme and run the following commands:

$ chmod +x prepare-w32
$ ./prepare-w32
$ ./configure --enable-cygwin --enable-threads \
--enable-localjpeg --enable-localpng --enable-localzlib \
--enable-gl
$ make
$ make install