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.

Contents

Update 2007 - Now installed on Dreamhost

This of course, makes much of the information on this page obselete. good, for instance, returns this from -version

SWIG Version 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.

Download

  • 1.3.24 - Minimum 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.25

Recommended for Subversion 1.2.x

wget http://easynews.dl.sourceforge.net/sourceforge/swig/swig-1.3.25.tar.gz
tar zxf swig-1.3.25.tar.gz
cd swig-1.3.25

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

Install

make
make install
Personal tools