diff options
Diffstat (limited to 'subversion/bindings/swig/INSTALL')
-rw-r--r-- | subversion/bindings/swig/INSTALL | 33 |
1 files changed, 7 insertions, 26 deletions
diff --git a/subversion/bindings/swig/INSTALL b/subversion/bindings/swig/INSTALL index 0a66105..751a5c4 100644 --- a/subversion/bindings/swig/INSTALL +++ b/subversion/bindings/swig/INSTALL @@ -80,7 +80,7 @@ Step 1: Install a suitable version of SWIG (which is --with-python=/path/to/correct/python/binary - to the configure script. You need Python 2.5 or above. + to the configure script. You need Python 2.7 or above. If you plan to build the Perl bindings, and have a system with more than one version of perl installed, you may need @@ -109,7 +109,7 @@ Step 2: Build and Install Subversion. python executable you used to configure SWIG as above. If it does not then you can specify the correct path by adding PYTHON=/path/to/python or PERL=/path/to/perl onto the command line for configure. For example: - ./configure PYTHON=/usr/bin/python2.5 PERL=/usr/bin/perl5.8.0 + ./configure PYTHON=/usr/bin/python2.7 PERL=/usr/bin/perl5.8.0 If Subversion's ./configure finds a SWIG that it's happy with, then it will build special glue libraries to link svn to the swig bindings: @@ -232,35 +232,15 @@ BUILDING SWIG BINDINGS FOR SVN ON WINDOWS compile in Release mode. (This is due to pyconfig.h using the _DEBUG flag too and setting a #pragma comment(lib) value.) - For Perl support, you also need to add the paths into Visual Studio. - - In Visual C++ 6, go to Tools -> Options -> Directories. - - In Visual C++ .NET, go to Tools -> Options -> Projects - -> VC++ Directories. - - Add the following paths: - - Executable Directories: - - For Perl, path to perl.exe - (for example, C:\Program Files\Perl\bin) - - Library Directories: - - For Perl, path to perl##.lib - (for example, C:\Program Files\Perl\lib\CORE) - - Include Directories: - - For Perl, path to perl.h - (for example, C:\Program Files\Perl\lib\CORE) + Our project generator detects Perl, Ruby and Python installs and will + generate the swig projects for these languages if both swig and the + language is found. 3. Create the Visual Studio project files via gen-make.py, adding in the --with-swig parameter to the installed location for SWIG. Example: - > gen-make.py -t vcproj --with-swig="C:\Program Files\SWIG-2.0.2" + > gen-make.py <other options> --with-swig="C:\Program Files\SWIG-2.0.2" 4. If you haven't already built Subversion, you should do so now. Instructions are in the main INSTALL file. @@ -271,6 +251,7 @@ BUILDING SWIG BINDINGS FOR SVN ON WINDOWS __SWIG_PYTHON__ __SWIG_PERL__ + __SWIG_RUBY__ 6. Install the bindings. The procedure varies depending on the language. |