swig/swigweb/cvs.ht
William S Fulton fa8a20ae3a Build issues update
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4905 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-12 21:03:13 +00:00

124 lines
3.4 KiB
Text

SWIG CVS
<p>
<img src="images/cvs.png">
<p>
<p>
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.
<h3> Disclaimer </h3>
The CVS release represents work in progress and is not guaranteed to compile on your machine or be functional in any
manner.
<h3> To check out the latest version </h3>
<ol>
<li> Set the location of CVSROOT
<p>
<pre>
% setenv CVSROOT :pserver:cvs@swig.cs.uchicago.edu:/cvsroot
</pre>
<p>
(Alternatively, you can use the -d option to CVS)
<p>
<li> Log into the cvs server by issuing the following command:
<p>
<pre>
% cvs login
CVS password: &lt;enter 'cvs' here&gt
</pre>
<p>
The password to the cvs account is 'cvs'.
<p>
<li>The latest development version of SWIG can be retrieved using
<p>
<pre>
% cvs checkout SWIG
</pre>
</p>
<p>
<li>To build the system, follow these steps
<p>
<pre>
% cd SWIG
% ./autogen.sh
% ./configure --prefix=/some/directory
% make
% make install
</pre>
</ol>
<b>Note:</b> The CVS repository is read-only so the system will not
accept code modifications at this time.
<h3> Required Tools </h3>
To compile SWIG from its CVS repository, you will need the following tools:
<ul>
<li> Autoconf 2.54 or higher
<li> Automake 1.7.2 or higher
<li> Libtool 1.4.2 or higher recommended, 1.5 preferable.
<li> A working C++ compiler.
<li> yacc or bison (to compile the SWIG parser).
</ul>
<p>
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.
<h3> Build Issues </h3>
Here are some guidelines should you be experiencing problems building SWIG from CVS.
<p>
<ol>
<li>Check that you have a complete update from the SWIG CVS repository.
A fresh checkout from CVS often solves build problems.
</li>
<li>
Make sure you have run <tt>./autogen.sh</tt> and <tt>./configure</tt>.
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.
</li>
<li>
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.
</li>
</ol>
If you are still having problems, send an email to <a href="mailto:swig-dev@cs.uchicago.edu">swig-dev@cs.uchicago.edu</a>.
<h3>Developer Access</h3>
We are always looking for people to help out with various projects.
<ul>
<li> Send email to <a href="mailto:swig-dev@cs.uchicago.edu">swig-dev@cs.uchicago.edu</a>
if you are interested in doing developer work and gaining write access to the CVS repository.
<p>
<li>A developer mailing list is available at <a href="mailto:swig-dev@cs.uchicago.edu">swig-dev@cs.uchicago.edu</a> to discuss coding issues, bugs, patches, and so forth.
Subscription information and archives of recent activity can be found on the <a href="http://mailman.cs.uchicago.edu/mailman/listinfo/swig-dev">SWIG Developer Mailing List</a> page.
</ul>