SWIG

From DreamHost

Jump to: navigation, search

SWIG is Subversion Language Bindings for various languages: Perl, Python, and Ruby. The install instructions are for Python, but following the examples you can easily install for Perl or Ruby.

As of January 2009 installed SWIG version on DreamHost is 1.3.24

The instructions provided in this article or section require shell access unless otherwise stated.

You can use the PuTTY client on Windows, or SSH on UNIX and UNIX-like systems such as Linux or Mac OS X.
Your account must be configured for shell access in the Control Panel.
More information may be available on the article's talk page.

Contents

Download

  • 1.3.24 - Installed Version
  • 1.3.25 - Compiles perfectly
  • 1.3.27 - Does Not Compile without errors
  • 1.3.28 - Compiles perfectly
  • 1.3.29 - Compiles perfectly

Version 1.3.29

Recommended for Subversion 1.3.0

wget http://heanet.dl.sourceforge.net/sourceforge/swig/swig-1.3.29.tar.gz
tar zxf swig-1.3.29.tar.gz
cd swig-1.3.29

Allows for faking the version for other installations.

SWIG_FEATURES="-fakeversion 1.3.24" ./configure

Configure

./configure --prefix=$HOME --with-perl5=/path/to/perl --with-python=$HOME/bin/python --with-ruby=/path/to/ruby

or, if you are using the Unix account setup

./configure --prefix=$RUN

Install

make
make install
Personal tools