Ignore:
Timestamp:
01/27/2016 11:21:15 PM (8 years ago)
Author:
DJ Lucas <dj@…>
Branches:
systemd-13485
Children:
1e76622
Parents:
a7e1ac8
Message:

Merge Chapter 13 from trunk.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@16861 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/subversion.xml

    ra7e1ac8 r2037ec4  
    55  %general-entities;
    66
     7  <!--<!ENTITY subversion-download-http
     8  "http://archive.apache.org/dist/subversion/subversion-&subversion-version;.tar.bz2">-->
    79  <!ENTITY subversion-download-http
    8            "http://www.apache.org/dist/subversion/subversion-&subversion-version;.tar.bz2">
     10  "http://www.apache.org/dist/subversion/subversion-&subversion-version;.tar.bz2">
    911  <!ENTITY subversion-download-ftp  " ">
    10   <!ENTITY subversion-md5sum        "20ae7b0d4ef07eeaf73eb4e23317b495">
    11   <!ENTITY subversion-size          "7.4 MB">
    12   <!ENTITY subversion-buildsize     "130 MB (349 MB with all bindings and API documentation built; additional 703 MB for tests)">
    13   <!ENTITY subversion-time          "1.1 SBU (2.9 SBU with all bindings and API documentation built; additional 11 SBU for tests)">
     12  <!ENTITY subversion-md5sum        "243036eb28b50ce517fc228eb3250add">
     13  <!ENTITY subversion-size          "7.6 MB">
     14  <!ENTITY subversion-buildsize     "429 MB (with all bindings and API documentation - additional 791 MB with tests)">
     15  <!ENTITY subversion-time          "2.9 SBU (with all bindings and API documentation - additional 67 SBU for tests))">
    1416]>
    1517
     
    120122      One of <xref linkend="openjdk"/>,
    121123      <ulink url="http://www.inet.no/dante/">Dante</ulink> or
    122       <ulink url="http://oss.software.ibm.com/developerworks/opensource/jikes/">Jikes</ulink>,
     124      <ulink url="http://jikes.sourceforge.net/">Jikes</ulink>,
    123125      and <xref linkend="junit"/> (to test the Java bindings)
    124126    </para>
     
    127129      User Notes: <ulink url="&blfs-wiki;/subversion"/>
    128130    </para>
     131
    129132  </sect2>
    130133
    131134  <sect2 role="installation">
    132135    <title>Installation of Subversion</title>
     136
     137      <note>
     138        <para>
     139          This package may fail during the make phase when using multiple
     140          processors.  If this occurs try continuing with
     141          <emphasis>make -j1</emphasis> or redo the entire build process with
     142          fresh sources using <emphasis>-j1</emphasis>.
     143        </para>
     144      </note>
    133145
    134146    <para>
     
    148160
    149161    <para>
    150       If you are using multiple jobs to compile packages, then fix a bug in the
    151       <filename>Makefile</filename> will prevent the
    152       <application>Perl</application> bindings from compiling correctly:
    153     </para>
    154 
    155 <screen><userinput>sed -i 's#Makefile.PL.in$#&amp; libsvn_swig_perl#' Makefile.in</userinput></screen>
    156 
    157     <para>
    158       If you want to compile <application>Java</application>,
    159       <application>Perl</application>,
    160       <application>Python2</application> or
    161       <application>Ruby</application>
    162       bindings, issue any of the following commands:
    163     </para>
    164 
    165     <note>
    166       <para>
    167         Make sure that you have passed <option>--enable-javahl</option>
    168         switch to <command>configure</command> before trying to build
    169         the Java bindings.
    170       </para>
    171     </note>
    172 
    173     <para>
    174       For <application>Java</application> bindings:
    175     </para>
    176 
    177 <screen><userinput>make javahl</userinput></screen>
    178 
    179     <para>
    180       For <application>Perl</application> bindings:
    181     </para>
    182 
    183 <screen><userinput>make swig-pl</userinput></screen>
    184 
    185     <para>
    186       For <application>Python2</application> bindings:
    187     </para>
    188 
    189 <screen><userinput>make swig-py \
     162      If you passed the <option>--enable-javahl</option> parameter to
     163      <command>configure</command> and wish to build the Java bindings, issue
     164      the following command:
     165    </para>
     166    <para>
     167      <screen><command>make javahl</command></screen>
     168    </para>
     169
     170    <para>
     171      If you want to compile <application>Perl</application>,
     172      <application>Python2</application>, or <application>Ruby</application>
     173      bindings, issue any of the following command:
     174    </para>
     175    <para>
     176      <screen><command>make swig-pl</command> # for <application>Perl</application>
     177<command>make swig-py \
    190178     swig_pydir=/usr/lib/python&python2-majorver;/site-packages/libsvn \
    191      swig_pydir_extra=/usr/lib/python&python2-majorver;/site-packages/svn</userinput></screen>
    192 
    193     <para>
    194       For <application>Ruby</application> bindings:
    195     </para>
    196 
    197 <screen><userinput>make swig-rb</userinput></screen>
     179     swig_pydir_extra=/usr/lib/python&python2-majorver;/site-packages/svn</command> # for <application>Python</application>
     180<command>make swig-rb</command> # for <application>Ruby</application></screen>
     181    </para>
    198182
    199183    <para>
    200184      To test the results, issue: <command>make check</command>.
     185    </para>
     186
     187    <para>
     188      The Java bindings test, <command>make check-javahl</command>, fails due to
     189      errors in the test suite.  <!--To test the results of the Java bindings build,
     190      issue <command>make check-javahl</command>. Note you must have the
     191      <application>JUnit</application> testing framework installed.-->
    201192    </para>
    202193
     
    204195      To test the results of any of the <application>SWIG</application>
    205196      bindings, you can use any of the following commands:
    206       <command>make check-javahl</command>,
    207197      <command>make check-swig-pl</command>,
    208       <command> make check-swig-py</command> or
    209       <command>make check-swig-rb</command>. Note you must have the
    210       <application>JUnit</application> testing framework installed if
    211       running the Java bindings tests.
     198      <command> make check-swig-py</command>, or
     199      <command>make check-swig-rb</command>.
     200    </para>
     201
     202    <para>
     203      The Ruby bindings test, <command>make check-swig-rb</command>, fails due
     204      to errors in the test suite.
    212205    </para>
    213206
     
    216209    </para>
    217210
    218 <screen role="root"><userinput>make -j1 install &amp;&amp;
    219 install -v -dm755 /usr/share/doc/subversion-&subversion-version; &amp;&amp;
    220 cp      -rv       doc/* \
    221                   /usr/share/doc/subversion-&subversion-version;</userinput></screen>
    222 
    223     <para>
    224       If you have built any of the <application>Java</application>,
    225       <application>Perl</application>,
    226       <application>Python2</application> or
     211<screen role="root"><userinput>make install &amp;&amp;
     212
     213install -v -m755 -d /usr/share/doc/subversion-&subversion-version; &amp;&amp;
     214cp      -v -R       doc/* \
     215                    /usr/share/doc/subversion-&subversion-version;</userinput></screen>
     216
     217    <para>
     218      If you built the Java bindings, issue the following command as the
     219      <systemitem class="username">root</systemitem> user to install them:
     220    </para>
     221    <para>
     222     <screen> <command>make install-javahl</command></screen>
     223    </para>
     224
     225    <para>
     226      If you built the <application>Perl</application>,
     227      <application>Python2</application>, or
    227228      <application>Ruby</application> bindings, issue any of the following
    228229      commands as the <systemitem class="username">root</systemitem> user
    229230      to install them:
    230231    </para>
    231 
    232     <para>
    233       For <application>Java</application> bindings:
    234     </para>
    235 
    236 <screen role="root"><userinput>make install-javahl</userinput></screen>
    237 
    238     <para>
    239       For <application>Perl</application> bindings:
    240     </para>
    241 
    242 <screen role="root"><userinput>make install-swig-pl</userinput></screen>
    243 
    244     <para>
    245       For <application>Python2</application> bindings:
    246     </para>
    247 
    248 <screen role="root"><userinput>make install-swig-py \
    249      swig_pydir=/usr/lib/python&python2-majorver;/site-packages/libsvn \
    250      swig_pydir_extra=/usr/lib/python&python2-majorver;/site-packages/svn</userinput></screen>
    251 
    252     <para>
    253       For <application>Ruby</application> bindings:
    254     </para>
    255 
    256 <screen role="root"><userinput>make install-swig-rb</userinput></screen>
     232    <para>
     233      <screen><command>make install-swig-pl</command>
     234<command>make install-swig-py \
     235      swig_pydir=/usr/lib/python&python2-majorver;/site-packages/libsvn \
     236      swig_pydir_extra=/usr/lib/python&python2-majorver;/site-packages/svn</command>
     237<command>make install-swig-rb</command></screen>
     238    </para>
    257239
    258240  </sect2>
     
    274256    </para>
    275257
     258    <para>
     259      <option>---disable-gmock</option>: Do not use the Googlemock testing
     260      framework.
     261    </para>
     262
    276263  </sect2>
    277264
     
    325312      <seglistitem>
    326313        <seg>
    327           svn, svnadmin, svndumpfilter, svnlook, svnmucc, svnrdump, svnserve,
    328           svnsync, and svnversion
     314          svn, svnadmin, svnbench, svndumpfilter, svnfsfs, svnlook, svnmucc,
     315          svnrdump, svnserve, svnsync, and svnversion
    329316        </seg>
    330317        <seg>
     
    337324        <seg>
    338325          /usr/include/subversion-1,
    339           /usr/lib/perl5/site_perl/&lfs-perl-version;/auto/SVN,
    340           /usr/lib/perl5/site_perl/&lfs-perl-version;/SVN,
    341           /usr/lib/python&python2-majorver;/site-packages/{libsvn,svn},
    342           /usr/lib/ruby/site_ruby/&lt;x.y.z&gt;/&lt;arch-linux&gt;-linux/svn,
    343           /usr/lib/ruby/site_ruby/&lt;x.y.z&gt;/svn,
     326          /usr/lib/perl5/site_perl/&lfs-perl-version;/{,auto/}SVN,
     327          /usr/lib/python2.7/site-packages/{libsvn,svn},
     328          /usr/lib/ruby/site_ruby/&lt;x.y.z&gt;/{,&lt;arch-linux&gt;-linux/}svn,
    344329          /usr/lib/svn-javahl, and
    345330          /usr/share/doc/subversion-&subversion-version;
    346 <!--      /usr/lib/svn-python/libsvn (optional),
    347           /usr/lib/svn-python/svn (optional),
    348 -->
    349331        </seg>
    350332      </seglistitem>
     
    382364      </varlistentry>
    383365
     366      <varlistentry id="svnbench">
     367        <term><command>svnbench</command></term>
     368        <listitem>
     369          <para>
     370            is a benchmarking tool.
     371          </para>
     372          <indexterm zone="subversion svnbench">
     373            <primary sortas="b-svnbench">svnbench</primary>
     374          </indexterm>
     375        </listitem>
     376      </varlistentry>
     377
    384378      <varlistentry id="svndumpfilter">
    385379        <term><command>svndumpfilter</command></term>
     
    391385          <indexterm zone="subversion svndumpfilter">
    392386            <primary sortas="b-svndumpfilter">svndumpfilter</primary>
     387          </indexterm>
     388        </listitem>
     389      </varlistentry>
     390
     391      <varlistentry id="svnfsfs">
     392        <term><command>svnfsfs</command></term>
     393        <listitem>
     394          <para>
     395            is the FSFS (FileSystem atop of the FileSystem -
     396            <application>Subversion</application> filesystem implementation)
     397            repository manipulation tool.
     398          </para>
     399          <indexterm zone="subversion svnfsfs">
     400            <primary sortas="b-svnfsfs">svnfsfs</primary>
    393401          </indexterm>
    394402        </listitem>
Note: See TracChangeset for help on using the changeset viewer.