SWIG CVS

SWIG is currently undergoing a large redevelopment effort. Development versions of SWIG are available through a public CVS repository. To use this interface you will need to install CVS 1.9 or newer. The SWIG development machine is currently running cvs-1.10. Use of the CVS repository is not recommended except for advanced users.

Disclaimer

The CVS release represents work in progress and is not guaranteed to compile on your machine or be functional in any manner.

To check out the latest version

  1. Set the location of CVSROOT

     % setenv CVSROOT :pserver:cvs@swig.cs.uchicago.edu:/cvsroot
    

    (Alternatively, you can use the -d option to CVS)

  2. Log into the cvs server by issuing the following command:

    % cvs login
    CVS password: <enter 'cvs' here>
    

    The password to the cvs account is 'cvs'.

  3. The latest development version of SWIG can be retrieved using

    % cvs checkout SWIG
    

  4. To build the system, follow these steps

    % cd SWIG
    % ./autogen.sh
    % ./configure --prefix=/some/directory
    % make
    % make install
    
Note: The CVS repository is read-only so the system will not accept code modifications at this time.

Required Tools

To compile SWIG from its CVS repository, you will need the following tools:

It is important to note that the CVS repository does not include the C++ code generated by yacc nor the files produced by Autoconf, Automake or Libtool (these are however included in a normal release). Thus, you will have to install these tools on your machine to work with everything.

Build Issues

Here are some guidelines should you be experiencing problems building SWIG from CVS.

  1. Check that you have a complete update from the SWIG CVS repository. A fresh checkout from CVS often solves build problems.
  2. Make sure you have run ./autogen.sh and ./configure. Both these steps will be necessary if you have a fresh CVS checkout or if the build files in the repository have changed since a previous update.
  3. Check that the appropriate versions of your autotools (Autoconf, Automake and Libtool) are installed properly. The autotools are in a state of flux and there are backward compatibility issues which are solved in different ways on different operating systems.
If you are still having problems, send an email to swig-dev@cs.uchicago.edu.

Developer Access

We are always looking for people to help out with various projects.