Changeset 0b37e9d6


Ignore:
Timestamp:
08/23/2014 11:23:27 PM (10 years ago)
Author:
Krejzi <krejzi@…>
Branches:
7.6-blfs, 7.6-systemd, kde5-14269, kde5-14686, systemd-13485
Children:
607c1e67
Parents:
f2d55c92
Message:

Introduce some sense into subversion instructions.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/subversion.xml

    rf2d55c92 r0b37e9d6  
    55  %general-entities;
    66
    7   <!--<!ENTITY subversion-download-http
    8   "http://archive.apache.org/dist/subversion/subversion-&subversion-version;.tar.bz2">-->
    97  <!ENTITY subversion-download-http
    10   "http://www.apache.org/dist/subversion/subversion-&subversion-version;.tar.bz2">
     8           "http://www.apache.org/dist/subversion/subversion-&subversion-version;.tar.bz2">
    119  <!ENTITY subversion-download-ftp  " ">
    1210  <!ENTITY subversion-md5sum        "3068256761b40863df96128834d6b71b">
     
    4442    </para>
    4543
    46     &lfs75_checked;
     44    &lfs76_checked;
    4745
    4846    <bridgehead renderas="sect3">Package Information</bridgehead>
     
    151149
    152150    <para>
    153       If you passed the <option>--enable-javahl</option> parameter to
    154       <command>configure</command> and wish to build the Java bindings, issue
    155       the following command:
    156     </para>
    157     <para>
    158       <screen><command>make javahl</command></screen>
    159     </para>
    160 
    161     <para>
    162       If you have a multi core CPU and normally run <command>make</command> with
    163       multiple jobs (eg <command>make -j4</command>) then a bug in the
     151      If you are using multiple jobs to compile packages, then fix a bug in the
    164152      <filename>Makefile</filename> will prevent the
    165       <application>Perl</application> bindings compiling correctly. Fix the
    166       <filename>Makefile</filename> with:
    167     </para>
    168     <para>
    169      <screen><command>sed -i 's#Makefile.PL.in$#&amp; libsvn_swig_perl#' Makefile.in</command></screen>
    170     </para>
    171 
    172     <para>
    173       If you want to compile <application>Perl</application>,
    174       <application>Python2</application>, or <application>Ruby</application>
    175       bindings, issue any of the following command:
    176     </para>
    177     <para>
    178       <screen><command>make swig-pl</command> # for <application>Perl</application>
    179 <command>make swig-py \
     153      <application>Perl</application> bindings from compiling correctly:
     154    </para>
     155
     156<screen><userinput>sed -i 's#Makefile.PL.in$#&amp; libsvn_swig_perl#' Makefile.in</userinput></screen>
     157
     158    <para>
     159      If you want to compile <application>Java</application>,
     160      <application>Perl</application>,
     161      <application>Python2</application> or
     162      <application>Ruby</application>
     163      bindings, issue any of the following commands:
     164    </para>
     165
     166    <note>
     167      <para>
     168        Make sure that you have passed <option>--enable-javahl</option>
     169        switch to <command>configure</command> before trying to build
     170        the Java bindings.
     171      </para>
     172    </note>
     173
     174    <para>
     175      For <application>Java</application> bindings:
     176    </para>
     177
     178<screen><userinput>make javahl</userinput></screen>
     179
     180    <para>
     181      For <application>Perl</application> bindings:
     182    </para>
     183
     184<screen><userinput>make swig-pl</userinput></screen>
     185
     186    <para>
     187      For <application>Python2</application> bindings:
     188    </para>
     189
     190<screen><userinput>make swig-py \
    180191     swig_pydir=/usr/lib/python&python2-majorver;/site-packages/libsvn \
    181      swig_pydir_extra=/usr/lib/python&python2-majorver;/site-packages/svn</command> # for <application>Python</application>
    182 <command>make swig-rb</command> # for <application>Ruby</application></screen>
    183     </para>
     192     swig_pydir_extra=/usr/lib/python&python2-majorver;/site-packages/svn</userinput></screen>
     193
     194    <para>
     195      For <application>Ruby</application> bindings:
     196    </para>
     197
     198<screen><userinput>make swig-rb</userinput></screen>
    184199
    185200    <para>
     
    189204
    190205    <para>
    191       To test the results of the Java bindings build, issue
    192       <command>make check-javahl</command>. Note you must have the
    193       <application>JUnit</application> testing framework installed.
    194     </para>
    195 
    196     <para>
    197206      To test the results of any of the <application>SWIG</application>
    198207      bindings, you can use any of the following commands:
     208      <command>make check-javahl</command>,
    199209      <command>make check-swig-pl</command>,
    200       <command> make check-swig-py</command>, or
    201       <command>make check-swig-rb</command>.
    202     </para>
    203 
     210      <command> make check-swig-py</command> or
     211      <command>make check-swig-rb</command>. Note you must have the
     212      <application>JUnit</application> testing framework installed if
     213      running the Java bindings tests.
     214    </para>
    204215
    205216    <para>
     
    213224
    214225    <para>
    215       If you built the Java bindings, issue the following command as the
    216       <systemitem class="username">root</systemitem> user to install them:
    217     </para>
    218     <para>
    219      <screen> <command>make install-javahl</command></screen>
    220     </para>
    221 
    222     <para>
    223       If you built the <application>Perl</application>,
    224       <application>Python2</application>, or
     226      If you have built any of the <application>Java</application>,
     227      <application>Perl</application>,
     228      <application>Python2</application> or
    225229      <application>Ruby</application> bindings, issue any of the following
    226230      commands as the <systemitem class="username">root</systemitem> user
    227231      to install them:
    228232    </para>
    229     <para>
    230       <screen><command>make install-swig-pl</command>
    231 <command>make install-swig-py \
    232       swig_pydir=/usr/lib/python&python2-majorver;/site-packages/libsvn \
    233       swig_pydir_extra=/usr/lib/python&python2-majorver;/site-packages/svn</command>
    234 <command>make install-swig-rb</command></screen>
    235     </para>
     233
     234    <para>
     235      For <application>Java</application> bindings:
     236    </para>
     237
     238<screen role="root"><userinput>make install-javahl</userinput></screen>
     239
     240    <para>
     241      For <application>Perl</application> bindings:
     242    </para>
     243
     244<screen role="root"><userinput>make install-swig-pl</userinput></screen>
     245
     246    <para>
     247      For <application>Python2</application> bindings:
     248    </para>
     249
     250<screen role="root"><userinput>make install-swig-py \
     251     swig_pydir=/usr/lib/python&python2-majorver;/site-packages/libsvn \
     252     swig_pydir_extra=/usr/lib/python&python2-majorver;/site-packages/svn</userinput></screen>
     253
     254    <para>
     255      For <application>Ruby</application> bindings:
     256    </para>
     257
     258<screen role="root"><userinput>make install-swig-rb</userinput></screen>
    236259
    237260  </sect2>
Note: See TracChangeset for help on using the changeset viewer.